chiark / gitweb /
sewing-table: PostTestPiece
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Jun 2017 23:58:20 +0000 (00:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Jun 2017 23:58:20 +0000 (00:58 +0100)
sewing-table.scad.m4

index f2449a8..fa7116f 100644 (file)
@@ -483,6 +483,21 @@ module TestDemo(){ ////toplevel
     TestPiece2();
 }
 
+module PostTestPiece(){ ////toplevel
+  holes = [ [   0, 0] ];
+  holes_forcnrs = concat(holes, [ [1, 0] ]);
+  corners = TestPiece_holes2corners(holes_forcnrs);
+  difference(){
+    union(){
+      TileBase(corners[0], corners[2]);
+      Posts(holes);
+      RoundEdge(corners[0], corners[1]);
+      InterlockEdge(corners[3], corners[0], 0, nlobes=1);
+    }
+    PostHoles(holes);
+  }
+}
+
 module Machine_NewRearProfile(){
   // figures copied out of xfig edit boxes
   // best not to edit the posbox size if poss - just move it