chiark / gitweb /
Revert "sewing-table: Test uses hull, not minkowski"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 17:38:29 +0000 (18:38 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 17:38:29 +0000 (18:38 +0100)
We are going to use MachineEnvelope instead

This reverts commit 2903c593fc94bc6c5fa1d1d55df20a6834ddbc6d.

sewing-table.scad.m4

index c19b32e..0cca623 100644 (file)
@@ -191,11 +191,9 @@ module TileBase(botleft, topright){
            cube(concat(topright_post-botleft_post, [tile_th+2]));
        }
        shufflesz = max(test_edge, tile_hard_edge_hole_dist)*2;
-       hull(){ // poor man's minkowski
-         for (xs=[-1,1]) for (ys=[-1,1]) for (zs=[-1,1]) {
-           translate([xs,ys,zs] * shufflesz)
-             Machine();
-         }
+       minkowski(){
+         Machine();
+         cube(shufflesz, center=true);
        }
       }
     }