chiark / gitweb /
sewing-table: add baseline to InterlockEdge (nfc, curently)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:09:21 +0000 (15:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:09:21 +0000 (15:09 +0000)
sewing-table.scad.m4

index b696ddc47a08bf53be0551e0d470fe40df1f2bd4..813e1a24f2175282163e7a3b2620aa2952ed318a 100644 (file)
@@ -19,6 +19,9 @@ screw_big_len = 4.0;
 round_edge_rad = 2.0;
 
 interlock_dia = 10;
+interlock_fine = 1.0;
+
+interlock_fine_lenslop = 1.0;
 
 demo_slop = 0.1;
 
@@ -145,12 +148,19 @@ module InterlockLobePlan(negative) {
 }
 
 module InterlockEdgePlan(negative, nlobes, length) {
+  iadj = 0.1;
+
   for (lobei = [ 0 : nlobes-1 ]) {
     lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0);
     translate([lobex, 0, 0]) {
       InterlockLobePlan(negative);
     }
   }
+
+  slotshorter = negative ? 0 : interlock_fine_lenslop;
+  mirror([0, negative, 1])
+    translate([slotshorter, iadj])
+    square([length - slotshorter*2, interlock_fine + iadj*2]);
 }
 
 module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {