chiark / gitweb /
sewing-table: PostTestPiece: swap x direction
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Jun 2017 10:13:03 +0000 (11:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Jun 2017 10:13:03 +0000 (11:13 +0100)
sewing-table.scad.m4

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