break caster-standoff into 2 pieces for printing
authordaniel watson <ozzloy@gmail.com>
Mon, 28 Oct 2013 20:43:06 +0000 (13:43 -0700)
committerdaniel watson <ozzloy@gmail.com>
Mon, 28 Oct 2013 20:43:06 +0000 (13:43 -0700)
the 2 printed pieces can be glued together to assemble the final
standoff.
the tip of the bottom half has been removed to leave room for glue.

caster-standoff.scad

index ce84d2512cfd1f2f85eb0064491d3b7666b5a2a7..21e9fca2d0c66c52f3730fe279a372ee516234df 100644 (file)
@@ -92,4 +92,23 @@ module caster_standoff(){
     rotate([0, 0, 45 + 90 * ii])
       deck_flange_reinforcement();}}
 
     rotate([0, 0, 45 + 90 * ii])
       deck_flange_reinforcement();}}
 
-caster_standoff();
+module caster_top_half(){
+  difference(){
+    caster_standoff();
+    cylinder(r1 = deck_flange_radius * 4 / 3,
+             r2 = 0,
+             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);}}
+
+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);}