chiark / gitweb /
sewing-table: PostTestPiece: move translate (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Jun 2017 10:07:47 +0000 (11:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Jun 2017 10:07:47 +0000 (11:07 +0100)
sewing-table.scad.m4

index 9f701f2..cd99463 100644 (file)
@@ -498,8 +498,11 @@ module PostTestPiece(){ ////toplevel
       InterlockEdge(corners[3], corners[0], 0, nlobes=1);
       for (i= [ 0: nholes-1 ]) {
        $screw_dia = hole_sizes[ floor(i/2) ];
-       Posts([ stride * [ (i % nrows),
-                          floor(i / nrows) ] ]);
+       translate(stride * [ (i % nrows),
+                            floor(i / nrows),
+                            0
+                            ])
+         Posts([[0,0]]);
       }
     }
   }