chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9cf3936
)
sewing-table: NewRearCurve: wip, need scale
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 12:02:36 +0000
(13:02 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 12:02:36 +0000
(13:02 +0100)
sewing-table.scad.m4
patch
|
blob
|
history
diff --git
a/sewing-table.scad.m4
b/sewing-table.scad.m4
index 2bb8f7af1af1513b1c8135437276de0023d585c1..8f2d6f7565895ff96ede7373fdaaa4286c658a13 100644
(file)
--- a/
sewing-table.scad.m4
+++ b/
sewing-table.scad.m4
@@
-422,16
+422,27
@@
module Machine_Profile(){
}
}
}
}
-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
// 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){
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]);
}
}
}
}
@@
-727,4
+738,5
@@
module Demo(){ ////toplevel
//Demo();
//Machine_Profile();
//Demo();
//Machine_Profile();
-//Machine_RearProfile();
+//Machine_NewRearProfile();
+//Machine_NewRearCurve();