From: Ian Jackson Date: Tue, 6 Jun 2017 19:51:35 +0000 (+0100) Subject: sewing-table: separate out frontedge_len (nfc) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3a6cc2f08eb3f82b78a000f2e54c488be03051de;p=reprap-play.git sewing-table: separate out frontedge_len (nfc) --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 75eaac0..79e3038 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -53,6 +53,7 @@ cutout_tile11_y = cutout_l_end_y_total - cutout_tile01_y; // front and rear curves rearedge_len = 170; +frontedge_len = 170; rearcurve_strt_len = 52; @@ -573,7 +574,7 @@ module Machine_Curves(){ ////toplevel reartablet_y+1, 20 ]); } - translate([ tile01_tr[0] - cutout_l_end_x + rearedge_len, + translate([ tile01_tr[0] - cutout_l_end_x + frontedge_len, cutout_tile11_y, frontcurve_z_slop ]){ translate([0, -machine_rear_to_front, 0]) @@ -626,7 +627,7 @@ module MachineEnvelope(){ // used for testing 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]; + p_crv_fl = p_arm_bl + [frontedge_len, -frontcurve_avoid_y]; y_crv_b = y_arm_t + rearcurve_avoid_y; translate([0,0,-50]) linear_extrude(height= 100){ @@ -779,7 +780,7 @@ module Tile00(){ ////toplevel c = Rectangle_corners(c0, sz); // the edge c[1]..c[2] needs a diagonal chunk, from c1bis to c2bis - c2bis = [ -cutout_l_end_x + rearedge_len + frontcurve_strt_len, c[2][1] ]; + c2bis = [ -cutout_l_end_x + frontedge_len + frontcurve_strt_len, c[2][1] ]; c1bis = [ c[1][0], c[2][1] - (c[2][0] - c2bis[0]) * tan(90 - frontcurve_dualcurve_angle) ]; @@ -790,7 +791,7 @@ module Tile00(){ ////toplevel posts = [ cnr_posts[0], cnr_posts[1], cnr_posts[2] + [ 0, -rcy ], - cnr_posts[2] + [ -sz[0] + rearedge_len - cutout_l_end_x, -cty ], + cnr_posts[2] + [ -sz[0] + frontedge_len - cutout_l_end_x, -cty ], cnr_posts[3] + [ 0, -cty ] ]; rcs = R_CNR(c,1);