chiark / gitweb /
sewing-table: Use RoundCornerAdd/Cut in Tile12 too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 16:23:14 +0000 (16:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 16:23:14 +0000 (16:23 +0000)
sewing-table.scad.m4

index 4ef697e..2231e3f 100644 (file)
@@ -121,16 +121,6 @@ module RoundEdge(left_cnr, right_cnr) {
   }
 }
 
-module RoundLeftCorner(this_cnr, right_cnr) {
-  INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
-    difference(){
-      sphere(r= round_edge_rad, $fn=60);
-      translate([0,0, -20])
-       cube([20,20,20]);
-    }
-  }
-}
-
 module RoundCornerCut(this_cnr, right_cnr) {
   offr= round_cnr_rad - round_edge_rad;
   INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
@@ -316,11 +306,12 @@ module Tile12(){ ////toplevel
       TileBase(c[0], c[2]);
       RoundEdge(c[2], c[3]);
       RoundEdge(c[3], c[0]);
-      RoundLeftCorner(c[2], c[3]);
       Posts(posts);
     }
     InterlockEdge(c[0], c[1], 1);
+    RoundCornerCut(c[2], c[3]);
   }
+  RoundCornerAdd(c[2], c[3]);
 }
 
 module Demo(){ ////toplevel