X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=blobdiff_plain;f=3d-printables%2Fcaster-standoff.scad;h=eb16cba2a8544d9f35e720d1ca5afdd7655e6c75;hp=328bc8b7f47987ce09043a2590fa1218fb377adf;hb=ce941be740b45737d19eaa5c726b2f99efabe0b9;hpb=180a0f6f6e33818372b49e01931ce8264f838cbc diff --git a/3d-printables/caster-standoff.scad b/3d-printables/caster-standoff.scad index 328bc8b..eb16cba 100644 --- a/3d-printables/caster-standoff.scad +++ b/3d-printables/caster-standoff.scad @@ -1,70 +1,29 @@ +/* + Copyright (C) 2015 Daniel Watson + See the end of the file for license conditions. +*/ // challenge-bot // GNU AGPLv3 (or later at your option) -// project available at these locations: -// https://gitorious.org/ozzloy/challenge-bot -// https://github.com/waynegramlich/challenge-bot +// project available here: +// https://challenge-bot.com/ -include -use +include -// use 10 ish for development, 60 or so for printing -$fn = 60; - -module deck_flange(){ - deck_pitch_diagonal = sqrt(2 * pow(deck_pitch, 2)); - difference(){ - scale([0.35, 0.35, 1]){ - linear_extrude(height = deck_flange_height){ - oshw();}} - for(ii = [-1, 1]){ - translate([deck_pitch_diagonal / 2 * ii, 0, -.1]) - cylinder(h = deck_flange_height * 1.1, - r = deck_flange_screw_radius);} - translate([0, deck_pitch_diagonal / 2, -.1]) - cylinder(h = deck_flange_height * 1.1, - r = deck_flange_screw_radius);}} +caster_standoff(); -module deck_flange_reinforcement(){ - translate([-deck_flange_radius, - -.5 * deck_flange_height / 2, - deck_flange_height]){ - difference (){ - cube([deck_flange_radius, deck_flange_height / 2, deck_flange_radius]); - translate([-.1, -.05 * deck_flange_height, 0]){ - rotate([0, -45, 0]){ - cube([deck_flange_radius * 1.5, // 1.5 is bigger than sqrt(2) - deck_flange_height * 1.1, // 1.1 is bigger than 1 - deck_flange_radius]);}}}}} +/* + This file is part of challenge-bot. -module ball_holder(){ - difference (){ - union(){ - cylinder(r = holder_radius, h = holder_height); - translate([0, 0, holder_arms_length]){ - cylinder(r1 = holder_radius, - r2 = holder_radius + wall_thickness, - h = wall_thickness); - translate([0, 0, wall_thickness]){ - cylinder(r = wall_thickness + holder_radius, - h = holder_height - - holder_arms_length - - wall_thickness); }}} - translate([0, 0, ball_radius + holder_floor + holder_arms_length]){ - sphere(r = ball_radius);} - translate([0, 0, holder_floor + (holder_height - holder_floor) / 2 + 0.5]){ - cube([holder_diameter + wall_thickness * 2 + 0.1, - gap, - holder_height - holder_floor + 0.1], - center = true);}}} + Challenge-bot is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. -module caster_standoff(){ - cylinder(h = standoff_lower_portion_height, - r = standoff_radius); - deck_flange(); - for(ii = [0:3]){ - rotate([0, 0, 45 + 90 * ii]) - deck_flange_reinforcement();} - translate([0, 0, standoff_lower_portion_height]){ - ball_holder();}} + GNU Affero Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. -caster_standoff(); + You should have received a copy of the GNU Affero General Public License + along with challenge-bot. If not, see . +*/