From 7992e04437f027452cf351027f923cc7775537b3 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Mon, 28 Oct 2013 14:39:31 -0700 Subject: [PATCH] clearly comment the shape and placement --- caster-standoff.scad | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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(); -- 2.30.2