chiark / gitweb /
quacks-ingredients: -counts: Include spares in Base_White
[reprap-play.git] / salter-scale-hook.scad
index 68d603f19c815a9fed68091cf46523944f6f2f4b..3a8cfa354c0ca1642c4415a734a2b2da4251efec 100644 (file)
@@ -10,6 +10,7 @@ rod_offset = 14 + 2;
 mainheight = 25;
 width = 40;
 rearthick = 4;
+screw_head_depth = 2;
 
 // calculated
 
@@ -69,10 +70,22 @@ module Cut(less){
     CutProfile();
 }
 
+module ScrewHole(){
+  xd =  (screw_head_dia-screw_dia)/2;
+  translate([0,0,-50])
+    cylinder(h=100, r= screw_dia/2, $fn=20);
+  hull(){
+    translate([0,0,-xd])
+      cylinder(h=1, r= screw_dia/2, $fn=50);
+    cylinder(h=20, r= screw_head_dia/2, $fn=50);
+  }
+}
+
 module Hook(){
   difference(){
     translate([0,0, -width/2])
       linear_extrude(height=width) Profile();
+
     for (m=[0,1]) {
       mirror([0,0,m]) {
        hull(){
@@ -81,6 +94,13 @@ module Hook(){
        }
       }
     }
+
+    translate([rod_dia/2 + screw_head_depth,
+              ymaxc - screw_head_dia,
+              0]) {
+      rotate([0,-90,0])
+       ScrewHole();
+    }
   }
 }