chiark / gitweb /
sewing-table: Add small gaps to Demos
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:08:48 +0000 (15:08 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:08:48 +0000 (15:08 +0000)
sewing-table.scad.m4

index 6e3275515af08083bd26ead3a967c2f767a8b30c..b696ddc47a08bf53be0551e0d470fe40df1f2bd4 100644 (file)
@@ -20,6 +20,8 @@ round_edge_rad = 2.0;
 
 interlock_dia = 10;
 
 
 interlock_dia = 10;
 
+demo_slop = 0.1;
+
 // calculated
 
 ply_edge_hole_dist = ply_edge_min + ply_hole_dia/2;
 // calculated
 
 ply_edge_hole_dist = ply_edge_min + ply_hole_dia/2;
@@ -201,7 +203,7 @@ module TestDemo(){ ////toplevel
   translate([ -thehd[0], 0 ])
     color("blue")
     TestPiece1();
   translate([ -thehd[0], 0 ])
     color("blue")
     TestPiece1();
-  translate([ +thehd[0], 0 ])
+  translate([ +thehd[0] + demo_slop, 0 ])
     TestPiece2();
 }
   
     TestPiece2();
 }
   
@@ -247,8 +249,8 @@ module Tile12(){ ////toplevel
 }
 
 module Demo(){ ////toplevel
 }
 
 module Demo(){ ////toplevel
-  color("blue") Tile12();
-  color("red")  Tile02();
+  translate(demo_slop*[-2,1]) color("blue") Tile12();
+  translate(demo_slop*[-2,0]) color("red")  Tile02();
 }
   
 //TestPiece1();
 }
   
 //TestPiece1();