chiark / gitweb /
sewing-table: Interlock: tongue/groove wip (nfc apart from echo)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:35:52 +0000 (15:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:35:52 +0000 (15:35 +0000)
sewing-table.scad.m4

index b09d59a53d0a615d63453e7c245081fb62c294a5..34f1c7d40257572e94296f44b70add6a37f4b600 100644 (file)
@@ -185,10 +185,12 @@ module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {
       ys0 = vsect[2];
       ys1 = vsect[2];
       ysd = ys1-ys0;
-      multmatrix([ [ 1,0,0,0 ],
-                  [ 0,1,0,0 ],
-                  [ 0,0,1,zs0 ],
-                  [ 0,0,0,1 ] ])
+      m = [ [ 1,0,0,0 ],
+           [ 0,1,0,0 ],
+           [ 0,0,1,zs0 ],
+           [ 0,0,0,1 ] ];
+      echo(m);
+      multmatrix(m)
        linear_extrude(height=zsd, convexity=10)
        InterlockEdgePlan(negative, nlobes, length);
     }