chiark / gitweb /
knifeblock: add frontbackslop
[reprap-play.git] / knifeblock.scad
index 76001c75acc56696c318b454d38c6bf569fe317b..686644a425f86b6b90f603b4dbfb96cb3a328ef0 100644 (file)
@@ -15,6 +15,12 @@ front = 5;
 back = 5;
 height = 50;
 
+frontbackslop = 0.5;
+
+screwbackdepth = 16;
+screwdia = 3.6;
+screwcsinkdia = 8.7;
+
 // computed
 totaldepth = front + maxhandledepth + back;
 
@@ -44,8 +50,12 @@ module DoKnife(k){
 }
 
 module DoKnives(){
-  for (k=[0:nknives-1])
-    DoKnife(k);
+  for (yshift=[-1,1]) {
+    translate([0, yshift * frontbackslop, 0])
+      for (k=[0:nknives-1]) {
+       DoKnife(k);
+      }
+  }
 }
 
 module Block(){