chiark / gitweb /
brompton-computer-guard: wip
[reprap-play.git] / brompton-computer-guard.scad
index 9620bddf500c2e470dd9592ab58d43bd3e67b27a..b37bd9d2c5b5cda3c5959db7478a094f5d10b745 100644 (file)
@@ -59,15 +59,22 @@ module Tube(){
   }
 }
 
-module Bolts(){
+module Bolt(){
   %translate([0,0,-50]) linear_extrude(height=80) {
-    translate([attach_cx, -attach_cdy]) rotate([0,0,-attach_ang]) {
-      translate([attach_inrad - attach_hole_dist - attach_hole_dia/2, 0])
-       circle(r=attach_hole_dia/2, $fn=20);
-      translate([attach_inrad + attach_tube_dia
-                +attach_hole_dist + attach_hole_dia/2, 0])
-       circle(r=attach_hole_dia/2, $fn=20);
-    }
+    circle(r=attach_hole_dia/2, $fn=20);
+  }
+  %translate([0,0,10]) linear_extrude(height=20) {
+    circle(r=attach_hole_dia/2 * 2, $fn=20);
+  }
+}
+
+module Bolts(){
+  translate([attach_cx, -attach_cdy]) rotate([0,0,-attach_ang]) {
+    translate([attach_inrad - attach_hole_dist - attach_hole_dia/2, 0])
+      Bolt();
+    translate([attach_inrad + attach_tube_dia
+              +attach_hole_dist + attach_hole_dia/2, 0])
+      Bolt();
   }
 }