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();