From: daniel watson Date: Mon, 28 Oct 2013 21:39:31 +0000 (-0700) Subject: clearly comment the shape and placement X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=7992e04437f027452cf351027f923cc7775537b3 clearly comment the shape and placement --- diff --git a/caster-standoff.scad b/caster-standoff.scad index 21e9fca..27d2ba6 100644 --- a/caster-standoff.scad +++ b/caster-standoff.scad @@ -100,15 +100,17 @@ module caster_top_half(){ h = standoff_height * 3 / 4);}} module caster_bottom_half (){ - intersection (){ - caster_standoff(); - cylinder(r1 = deck_flange_radius * 4 / 3, - r2 = 0, - h = standoff_height * 3 / 4);}} + difference(){ + intersection (){ + caster_standoff(); + cylinder(r1 = deck_flange_radius * 4 / 3, + r2 = 0, + h = standoff_height * 3 / 4);} + // leave a little room for glue + translate([0, 0, standoff_height * 3 / 4 - 1]) cylinder(r = 2, h = 2);}} +// move the top half and flip it over for printing translate([0, deck_flange_radius + standoff_radius + 1, standoff_height]){ rotate([0, 180, 0]){ caster_top_half();}} -difference(){ - caster_bottom_half(); - translate([0, 0, standoff_height * 3 / 4 - 1]) cylinder(r = 2, h = 2);} +caster_bottom_half();