}
}
+module Machine_NewFrontProfile(){
+ // figures copied out of xfig edit boxes
+ // best not to edit the posbox size if poss - just move it
+ posbox = 10 * ([11.8022,8.0600] - [4.2044,19.1867]); // box, Green
+ refline = 10 * ([7.6778,16.7222] - [27.8689,17.6578]); // line, Blue
+ refline_mm = (11-1)*10;
+ sh = -[abs(posbox[0]), abs(posbox[1])];
+ rot = atan2(-refline[0], refline[1]);
+ sc = refline_mm / vectorlen2d(refline);
+ //echo("SH",sh,rot,sc);
+ mirror([1,0]) scale(sc) rotate(rot+90) translate(sh){
+ import("sewing-table-front-profile.dxf", convexity=10); // spline, Pink3
+ }
+}
+
module Machine_NewRearCurve(){
slant = atan2(4,210-10);
//echo("SL",slant);
translate([ tile01_tr[0] - cutout_l_end_x + rearedge_len,
cutout_tile11_y,
frontcurve_z_slop ]){
- translate([ 0, -first_front[0] , 0 ])
+ translate([0, -machine_rear_to_front, 0])
multmatrix([[1, -frontcurve_side_skew, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 0, 1]])
- translate([ 0, first_front[0] , 0 ])
- mirror([1,0,0]){
- rotate([0,-90,0])rotate([0,0,-90]){
- linear_extrude(height= 200)
- Machine_FrontProfile();
- }
- }
+ mirror([1,0,0]) rotate([0,-90,0])rotate([0,0,-90])
+ linear_extrude(height= 200)
+ Machine_NewFrontProfile();
+
translate([ rearcurve_strt_len,
0,
rearcurve_z_slop ]){
//Machine_Profile();
//Machine_NewRearProfile();
//Machine_NewRearCurve();
+//Machine_NewFrontProfile();
//Machine_Curves();
//Machine();
//FitTest();