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 6e32755..b696ddc 100644 (file)
@@ -20,6 +20,8 @@ round_edge_rad = 2.0;
 
 interlock_dia = 10;
 
+demo_slop = 0.1;
+
 // 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 ])
+  translate([ +thehd[0] + demo_slop, 0 ])
     TestPiece2();
 }
   
@@ -247,8 +249,8 @@ module Tile12(){ ////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();