+module Machine_NewEndProfile(){
+ // figures copied out of xfig edit boxes
+ // best not to edit the posbox size if poss - just move it
+// posbox = 10 * ([7.2333,-14.1267] - [-16.2289,40.0289]); // box, Green
+ refline = 10 * ([-6.2400,13.5600] - [-2.4467,28.2556]); // line, Blue
+ refline_mm = 10 * (11 - 2.5);
+// scaleline = 10 * dist2d([-1.1911,-20.4800], [-11.2600,4.0578]); // Green2
+// scaleline_mm = 12+5+10+5+3;
+// sh = -[abs(posbox[0]), abs(posbox[1])];
+// rot = atan2(-sideline[0], sideline[1]);
+// sc = scaleline_mm / scaleline;
+ //echo("SH",sh,rot,sc);
+// scale(sc) rotate(rot) translate(sh){
+ import("sewing-table-end-profile.dxf", convexity=10); // spline, Pink3
+// }
+}
+