}
}
-module Machine_NewRearProfile(){ ////toplevel
+module Machine_NewRearProfile(){
// 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]);
+ posbox = 10 * ([7.2333,-14.1267] - [-16.2289,40.0289]); // box, Green
+ sideline = -10 * ([-6.2400,13.5600] - [-2.4467,28.2556]); // line, Blue
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);
+ import("sewing-table-rear-profile.dxf", convexity=10); // spline, Pink3
+ }
+}
+
+module Machine_NewRearCurve(){
+ intersection(){
+ rotate_extrude(convexity=10, $fn=32)
+ rotate(90)
+ translate([ 0, -rearcurve_double_inrad ])
+ Machine_NewRearProfile();
+ translate([0,0,-500])
+ cube([500,500,1000]);
}
}
//Demo();
//Machine_Profile();
-//Machine_RearProfile();
+//Machine_NewRearProfile();
+//Machine_NewRearCurve();