translate(concat(botleft, [0]))
cube(concat(size, [tile_th]));
if (!TEST) {
+ cidsz = topright_post-botleft_post
+ + [-post_dia,-post_dia]
+ + [0, thehd[1]];
translate( concat(botleft_post, [ -tile_th ])
+ 0.5 * [ post_dia, post_dia, 0 ] )
- Commitid_BestCount_M( topright_post-botleft_post
- + [-post_dia,-post_dia]
- + [0, thehd[1]]);
+ Commitid_BestCount_M(cidsz);
}
if (TEST) {
crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
- translate( concat(botleft + [crossoff, 0], [0]) )
- Commitid_BestCount([ size[0] - 2*crossoff, thehd[1] ]);
+ 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);
difference(){
mirror([0,0,1]) {
translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))