chiark / gitweb /
salter-scale-hook: wip Cut
[reprap-play.git] / salter-scale-hook.scad
index 8e9761b2d5bcd9e1448fbb171270cddb2b64a0cf..68d603f19c815a9fed68091cf46523944f6f2f4b 100644 (file)
@@ -64,20 +64,23 @@ module ProfileDemo(){
 }
 
 module Cut(less){
-  for (m=[0,1]) {
-    mirror([0,0,m]) {
-      translate([0,0, cut_z0 + less])
-       linear_extrude(height = cut_z1 - cut_z0 - less*2)
-       CutProfile();
-    }
-  }
+  translate([0,0, cut_z0 + less])
+    linear_extrude(height = cut_z1 - cut_z0 - less*2)
+    CutProfile();
 }
 
 module Hook(){
   difference(){
     translate([0,0, -width/2])
       linear_extrude(height=width) Profile();
-    Cut(0);
+    for (m=[0,1]) {
+      mirror([0,0,m]) {
+       hull(){
+         Cut(cutslopez);
+         translate([cutdepth,0,0]) Cut(0);
+       }
+      }
+    }
   }
 }