create caster standoff
authordaniel watson <ozzloy@gmail.com>
Sun, 8 Sep 2013 14:44:53 +0000 (07:44 -0700)
committerdaniel watson <ozzloy@gmail.com>
Sun, 8 Sep 2013 14:44:53 +0000 (07:44 -0700)
caster-standoff.scad [new file with mode: 0644]

diff --git a/caster-standoff.scad b/caster-standoff.scad
new file mode 100644 (file)
index 0000000..90317c8
--- /dev/null
@@ -0,0 +1,34 @@
+// challenge-bot
+// GNU AGPLv3 (or later at your option)
+// project available at these locations:
+// https://gitorious.org/ozzloy/challenge-bot
+// https://github.com/waynegramlich/challenge-bot
+
+$fn = 100;
+
+module ball_screws(){
+  between = 14.732;
+  screw_radius = 2.286/2;
+  screw_length = 20;
+  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(){
+  height = 2.9464;
+  width = 20.32;
+  between = 14.732;
+  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);
+  }
+
+module caster_standoff(){
+  height = 43;
+  caster_radius = 14.732/2;
+  difference(){
+    union(){
+      cylinder(h = height, r = caster_radius);
+      fixture();}
+    scale([1, 1, 1.1]) translate([0, 0, -.1]) ball_screws();}}
+
+caster_standoff();