chiark / gitweb /
sewing-table: Tile10: fixes, just reartablet to do
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 May 2017 00:21:44 +0000 (01:21 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 May 2017 00:21:44 +0000 (01:21 +0100)
sewing-table.scad.m4

index c0caea9..1d6688a 100644 (file)
@@ -516,22 +516,24 @@ module Tile10(){ ////toplevel
   cnr_posts = Rectangle_corners2posts(c);
   cty = cutout_tile11_y;
   rcy = cty + rearcurve_avoid_y;
-  posts = [ cnr_posts[0] + [ 0,                              cty ],
-           cnr_posts[1] + [ -rearedge_len + cutout_l_end_x, rcy ],
-           cnr_posts[1] + [ 0,                              rcy ],
+  posts = [ cnr_posts[0] + [ 0,                             cty ],
+           cnr_posts[1] + [ -sz[1] + rearedge_len - cutout_l_end_x, cty ],
+           cnr_posts[1] + [ 0,                             rcy ],
            cnr_posts[2],
            cnr_posts[3] ];
+  rcs = [R_EDGE(c,2)];
   difference(){
     union(){
       Rectangle_TileBase(c);
       Posts(posts);
+      RoundEdge(R_EDGE(c,1));
       RoundEdge(R_EDGE(c,2));
-      //InterlockEdge(tile_01_11_cnr, c[3]);
-      //InterlockEdge(R_EDGE(c,3));
+      InterlockEdge(c[3], tile_11_10_cnr);
     }
-    //InterlockEdge(c[1], tile_01_00_cnr, 1);
+    RoundCornerCut(rcs);
     Machine();
   }
+  RoundCornerAdd(rcs);
 }
 
 module Demo(){ ////toplevel