chiark / gitweb /
sewing-table: jig: adjust
[reprap-play.git] / sewing-table.scad.m4
index b15b35ad8126c17e89067bdf17684a43d9f914fb..012a46a54476bad82d670814fefb87ac9f16fb51 100644 (file)
@@ -108,7 +108,7 @@ thehd_tl = [ -thehd_tr[0], thehd_tr[1] ];
 thehd_bl = -thehd_tr;
 thehd_br = -thehd_tl;
 
-tablet_z_slop = 0.25;
+tablet_z_slop = 1.00;
 
 interlock_rad = interlock_dia/2;
 interlock_negative_rad = interlock_rad + 0.125;
@@ -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]))
@@ -814,6 +815,7 @@ module Tile00(){ ////toplevel
   rcy = cty + frontcurve_avoid_y;
   posts = [ cnr_posts[0],
            cnr_posts[1],
+           0.5 * (cnr_posts[0] + cnr_posts[1]),
            cnr_posts[2] + [ 0,                             -rcy ],
            cnr_posts[2] + [ -sz[0] + frontedge_len - cutout_l_end_x, -cty ],
            cnr_posts[3] + [ 0,                             -cty ]