}
module Machine_NewRearProfile(){ ////toplevel
- import("sewing-table-rear-profile.dxf", convexity=10);
+ // 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]);
+ sideline = -10 * ([-6.2400,13.5600] - [-2.4467,28.2556]);
+ sh = -[abs(posbox[0]), abs(posbox[1])];
+ rot = atan2(-sideline[0], sideline[1]);
+ echo("SH",sh,rot);
+ rotate(rot) translate(sh){
+ import("sewing-table-rear-profile.dxf", convexity=10);
+ }
}
module Machine_RearProfile(){ ////toplevel