chiark / gitweb /
sewing-table: jig: adjustments, seems nearly good
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 6 Jun 2017 22:45:30 +0000 (23:45 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 6 Jun 2017 22:45:30 +0000 (23:45 +0100)
sewing-table-jig.scad
sewing-table.scad.m4

index d0dc18b..a057345 100644 (file)
@@ -1,8 +1,19 @@
 //// toplevels-from:sewing-table.scad
 include <sewing-table.scad>
+
 JIG = true;
+
+tile_th=1.5;
+interlock_dia=5;
+
 jig_pencil_rad = 1;
 jig_pencil_slotlen = 10;
 jig_min_th = 0.67;
+jig_post_hole_slop = 0.5;
+
 test_tile_th = -0.1;
+
 test_edge = interlock_dia * 0.5 + interlock_fine + 2;
+round_edge_rad = tile_th/2;
+frontcurve_z_slop = 15;
+rearcurve_z_slop = 20;
index b15b35a..a931531 100644 (file)
@@ -146,12 +146,12 @@ module Post(){
 module PostHole(){
   if (JIG) {
     translate([0,0,-5])
-      cylinder(r= post_dia/2, h=10);
+      cylinder(r= post_dia/2 + jig_post_hole_slop, h=10);
     translate([0,0, -jig_min_th])
       cylinder(r= ply_hole_dia_real/2, h = 5);
     for (rot=[0:90:270]) rotate(rot) {
-       translate([ ply_edge_hole_dist_real, 0, -5 ])
-         cube([ jig_pencil_rad*2, jig_pencil_slotlen, 10 ], center=true);
+       translate([ ply_edge_hole_dist_real, 0, 0 ])
+         cube([ jig_pencil_rad*2, jig_pencil_slotlen, 20 ], center=true);
       }
   }
 }
@@ -192,8 +192,9 @@ module TileBase(botleft, topright){
       crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
       cidsz = [ thehd[0], size[1] - 2*crossoff ];
       cidszr = [ cidsz[0], min(cidsz[1], 50) ];
-      translate( concat(botleft + [0, crossoff] + (cidsz-cidszr)/2, [0]) )
-       Commitid_BestCount(cidszr);
+      if (TEST)
+       translate( concat(botleft + [0, crossoff] + (cidsz-cidszr)/2, [0]) )
+         Commitid_BestCount(cidszr);
       difference(){
        mirror([0,0,1]) {
          translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))