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 b09d59a..34f1c7d 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);
     }