cutout_l_end_y_front_slop = 0.5;
cutout_l_end_y_rear_slop = 0.5;
-cutout_l_end_x_slop = 0.25;
cutout_l_end_x = 22;
cutout_l_end_y = machine_rear_to_front;
-cutout_l_end_curve = 1;
cutout_l_end_new_x_slop = 1.4 - 1.95;
cutout_l_end_y_total = cutout_l_end_y
+ cutout_l_end_y_front_slop + cutout_l_end_y_rear_slop;
tile01_tr = [ 0, 0];
cutout_tile01_y = 170 - 147 + cutout_l_end_y_front_slop;
-cutout_tile11_x = cutout_l_end_x + cutout_l_end_curve;
cutout_tile11_y = cutout_l_end_y_total - cutout_tile01_y;
// front and rear curves
// calculated
TEST = false;
+JIG = false;
ply_edge_hole_dist = ply_edge_min + ply_hole_dia/2;
cylinder(r= screw_dia/2, h= ply_th, $fn=20);
}
}
- if (TEST) {
+ if (TEST || JIG) {
translate([0,0, tile_th/2]) {
cube([post_dia, POST_TCROSSSZ, tile_th], center=true);
cube([POST_TCROSSSZ, post_dia, tile_th], center=true);
mirror([0,0,1])
translate(concat(botleft, [0]))
cube(concat(size, [tile_th]));
- if (!TEST) {
+ if (!(TEST || JIG)) {
cidsz = topright_post-botleft_post
+ [-post_dia,-post_dia]
+ [0, thehd[1]];
+ 0.5 * concat( cidsz - cidszr, [ 0 ]) )
Commitid_BestCount_M(cidszr);
}
- if (TEST) {
+ if ((TEST || JIG)) {
crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
cidsz = [ thehd[0], size[1] - 2*crossoff ];
cidszr = [ cidsz[0], min(cidsz[1], 50) ];
TestPiece2();
}
-module Machine_Arm(){
- ysz = cutout_l_end_y_total;
- // assume the round end is arc of a circle
- chordlen = dist2d([0,0], [ cutout_l_end_y, cutout_l_end_curve ]);
- endrad = cutout_l_end_y / cutout_l_end_curve * chordlen;
-
- translate([0,0,-30]) linear_extrude(height=60) {
- translate(tile01_tr + [0, (-cutout_tile01_y + cutout_tile11_y)/2]) {
- intersection(){
- translate([-50, -ysz/2])
- square([400, ysz]);
- translate([ endrad - cutout_tile11_x - cutout_l_end_x_slop, 0 ])
- circle(r=endrad, $fa=0.01,$fd=5);
- }
- }
- }
-}
-
module Machine_NewRearProfile(){
// figures copied out of xfig edit boxes
// best not to edit the posbox size if poss - just move it
module Machine(){ ////toplevel
Machine_NewArm();
Machine_Curves();
- if (TEST)
+ if (TEST || JIG)
TestStrapSlots();
}