add ziptie holes, hull mount fixture
[challenge-bot] / caster-standoff.scad
index 90317c870de051aed993fcbd8a5632419e80f55f..4a1bafe80948d45b74291bc4948403da30ad671a 100644 (file)
@@ -7,28 +7,51 @@
 $fn = 100;
 
 module ball_screws(){
-  between = 14.732;
-  screw_radius = 2.286/2;
-  screw_length = 20;
+  between = 14.732;  // 0.580 inches
+  screw_radius = 2.286/2;  // 0.090 inches
+  screw_length = 15;  // i made this up
   translate([between/2, 0, 0]) cylinder(h = screw_length, r = screw_radius);
   translate([-between/2, 0, 0]) cylinder(h = screw_length, r = screw_radius);}
 
 module fixture(){
+  // i eyeballed this too, it's (0.580/5) inches, times 2 to be stronger
+  height = 2.9464 * 2;
+  width = 20.32;  // 0.800 inches
+  between = 14.732;  //0.580 inches
+  side_radius = (width - between)/2;
+  hull(){
+    cylinder(h = height, r = between/2);
+    translate([between/2, 0, 0]) cylinder(h = height, r = side_radius);
+    translate([-between/2, 0, 0]) cylinder(h = height, r = side_radius);}}
+
+module nuts(){
+  // i eyeballed this too, it's (0.580/5) inches, times 2 to be stronger
   height = 2.9464;
-  width = 20.32;
-  between = 14.732;
+  width = 20.32;  // 0.800 inches
+  between = 14.732;  //0.580 inches
   side_radius = (width - between)/2;
   translate([between/2, 0, 0]) cylinder(h = height, r = side_radius);
-  translate([-between/2, 0, 0]) cylinder(h = height, r = side_radius);
-  }
+  translate([-between/2, 0, 0]) cylinder(h = height, r = side_radius);}
+
+module ziptie(){
+  ziptie_width = 4.7625; // 3/16 inch
+  ziptie_height = 3; // i'm guessing
+  standoff_radius = 14.732; // 0.580 inches
+  translate([-standoff_radius/2, -ziptie_width/2, 0])
+    cube([standoff_radius, ziptie_width, ziptie_height]);}
 
 module caster_standoff(){
   height = 43;
   caster_radius = 14.732/2;
+  fixture_height = 2.9464 * 2;
   difference(){
     union(){
       cylinder(h = height, r = caster_radius);
       fixture();}
-    scale([1, 1, 1.1]) translate([0, 0, -.1]) ball_screws();}}
+    translate([0, 0, -.1]) scale([1, 1, 1.1]) ball_screws();
+    translate([0, 0, fixture_height]) nuts();
+    translate([0, 0, height * 3 / 4]) scale([1.1, 1, 1]) ziptie();
+    rotate([0, 0, 90]) translate([0, 0, height * 1 / 2]) scale([1.1, 1, 1])
+      ziptie();}}
 
 caster_standoff();