chiark / gitweb /
sewing-table: FitTest_EndEnd: turn sz's into spec by top left
[reprap-play.git] / sewing-table.scad.m4
index 79e30383e1e032b0ec5c4de7fb5e2a083ccbd8b2..7edf4402961f1e1b92bd1baec359ecc58f04cb6d 100644 (file)
@@ -39,7 +39,7 @@ 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;
+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;
 
@@ -52,7 +52,7 @@ cutout_tile11_y = cutout_l_end_y_total - cutout_tile01_y;
 
 // front and rear curves
 
-rearedge_len = 170;
+rearedge_len = 170 + 0.70;
 frontedge_len = 170;
 
 rearcurve_strt_len = 52;
@@ -518,7 +518,7 @@ module Machine_NewEndProfileDemo(){ ////toplevel
 
 module Machine_NewArm(){
   translate([0,0,-30]) linear_extrude(height=60) {
-    translate(tile01_tr + [ -cutout_l_end_x + cutout_l_end_new_x_slop,
+    translate(tile01_tr + [ -cutout_l_end_x - cutout_l_end_new_x_slop,
                            (-cutout_tile01_y + cutout_tile11_y)/2 ]){
       rotate(-90){
        hull(){
@@ -585,7 +585,10 @@ module Machine_Curves(){ ////toplevel
       mirror([1,0,0]) rotate([0,-90,0])rotate([0,0,-90])
       linear_extrude(height= 200)
       Machine_NewFrontProfile();
-
+  }
+  translate([ tile01_tr[0] - cutout_l_end_x + rearedge_len,
+             cutout_tile11_y,
+             frontcurve_z_slop ]){
     translate([ rearcurve_strt_len,
                0,
                rearcurve_z_slop ]){
@@ -947,8 +950,8 @@ module FitTest_EntireDemo(){ ////toplevel
 
 module FitTest_EndEnd(){ ////toplevel
   p0 = [-32,-32];
-  sz = [188,113];
-  sz2 = [168,100];
+  sz = [156,81] - p0;
+  sz2 = [136,68] - p0;
   difference(){
     FitTest_general(p0, sz);
     translate([ p0[0] -1, p0[1]+sz2[1], -10])