chiark / gitweb /
sewing-table: Test: introduce shufflesz (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 16:54:07 +0000 (17:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 16:54:07 +0000 (17:54 +0100)
sewing-table.scad.m4

index 9c75224..fa5af0f 100644 (file)
@@ -192,9 +192,10 @@ module TileBase(botleft, topright){
          translate(concat(botleft_post, [-1]))
            cube(concat(topright_post-botleft_post, [tile_th+2]));
        }
+       shufflesz = max(test_edge, tile_hard_edge_hole_dist)*2;
        minkowski(){
          Machine();
-         cube(max(test_edge, tile_hard_edge_hole_dist)*2, center=true);
+         cube(shufflesz, center=true);
        }
       }
     }