chiark / gitweb /
sewing-table: Prefer bigger screw_dia (from test)
[reprap-play.git] / sewing-table.scad.m4
index 9196f580ee9c1afca8f58b5ee3b7b9e730befbbc..3cd3ce252d8eef142a8f8f027497f5917d18a3e6 100644 (file)
@@ -14,7 +14,7 @@ post_dia = 8;
 
 post_shorter = 1;
 
-screw_dia = 2.2;
+screw_dia = 3.168;
 screw_big_dia = 3.6;
 screw_big_len = 4.0;
 
@@ -30,7 +30,7 @@ interlock_fine_lenslop = 1.0;
 
 demo_slop = 0.1;
 
-leg_height = 62;
+leg_height = 53.75 - 0.95;
 
 leg_hole_dia = 5 + 0.75;
 leg_big_dia = 37;
@@ -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
@@ -734,10 +749,11 @@ module Leg(){ ////toplevel
                      + (!TEST ? 0.2 : -leg_midspc_dia/2),
                   $fn=30);
       }
-    for (rot=[45: 360/leg_n_tubules : 359]) rotate(rot) {
-       mirror([0,0,1]) translate([ leg_tubule_pos_rad, 0, -1])
-         cylinder(r= leg_tubule_dia/2, h=leg_height+2, $fn=20);
-      }
+    if (!TEST)
+      for (rot=[45: 360/leg_n_tubules : 359]) rotate(rot) {
+         mirror([0,0,1]) translate([ leg_tubule_pos_rad, 0, -1])
+           cylinder(r= leg_tubule_dia/2, h=leg_height+2, $fn=20);
+       }
   }
 }