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;
cutout_l_end_y_total = cutout_l_end_y
+ cutout_l_end_y_front_slop + cutout_l_end_y_rear_slop;
sc = refline_mm / vectorlen2d(refline);
sh = (0.5 * (endline[0] + endline[1])) - posbox;
- scale(sc) rotate(rot + rot_adj) translate(-[sh[0],-sh[1]]){
+ ellen = sc * dist2d(endline[0],endline[1]);
+ scy = cutout_l_end_y_total / ellen;
+
+ scale([scy,1]) scale(sc) rotate(rot + rot_adj) translate(-[sh[0],-sh[1]]){
mirror([0,1]){
//%translate(1 * (posboxs[0] - posbox)) square(50);
}
}
+module Machine_NewArm(){
+ translate([0,0,-30]) linear_extrude(height=60) {
+ translate(tile01_tr + [ -cutout_l_end_x + cutout_l_end_new_x_slop,
+ (-cutout_tile01_y + cutout_tile11_y)/2 ]){
+ rotate(-90){
+ hull(){
+ for (d=[0,400])
+ translate([0,d]) Machine_NewEndProfile();
+ }
+ }
+ }
+ }
+}
+
module Machine_NewRearCurve(){
slant = atan2(4,210-10);
//echo("SL",slant);
module MachineEnvelope(){
// used for testing
- p_arm_bl = [-cutout_tile11_x, -cutout_tile01_y];
+ p_arm_bl = [-cutout_l_end_x, -cutout_tile01_y];
y_arm_t = cutout_tile11_y;
p_crv_fl = p_arm_bl + [rearedge_len, -frontcurve_avoid_y];
y_crv_b = y_arm_t + rearcurve_avoid_y;
RoundCornerAdd(rcs);
}
-tile_01_11_cnr = tile01_tr + [-cutout_tile11_x, 0];
+tile_01_11_cnr = tile01_tr + [-cutout_l_end_x, 0];
tile_11_10_cnr = tile01_tr + [0, cutout_tile11_y];
tile_01_00_cnr = tile01_tr - [0, cutout_tile01_y];
cnr_posts = Rectangle_corners2posts(c);
posts = concat(
Posts_interpolate_one(cnr_posts[0],
- cnr_posts[1] - [cutout_tile11_x, 0]),
+ cnr_posts[1] - [cutout_l_end_x, 0]),
[ cnr_posts[1] + [0, cutout_tile11_y],
cnr_posts[2],
cnr_posts[3]
posts = concat(
Posts_interpolate_one(R_EDGE(cnr_posts,0)),
[ cnr_posts[2] + [0, -cutout_tile01_y] ],
- Posts_interpolate_one(cnr_posts[2] - [cutout_tile11_x, 0],
+ Posts_interpolate_one(cnr_posts[2] - [cutout_l_end_x, 0],
cnr_posts[3])
);
difference(){