summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2017-02-06 21:19:36 (UTC)
committer Michael Krelin <hacker@klever.net>2017-02-06 21:19:36 (UTC)
commitc83b5d18ae09805a6a65715a2586c225ff393074 (patch) (unidiff)
treeace4adab03e540c941f63c2c2c8b526b84004b95
parentd481811cad040ab887ffb9dca6b41616e842e0ca (diff)
downloadextrudery-c83b5d18ae09805a6a65715a2586c225ff393074.zip
extrudery-c83b5d18ae09805a6a65715a2586c225ff393074.tar.gz
extrudery-c83b5d18ae09805a6a65715a2586c225ff393074.tar.bz2
moving around
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad9
1 files changed, 5 insertions, 4 deletions
diff --git a/another.scad b/another.scad
index d4a3f90..fa60676 100644
--- a/another.scad
+++ b/another.scad
@@ -60,6 +60,11 @@ module the_extruder(
60 ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); 60 ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) );
61 spring_dl = idler_travel*longwing/ri; 61 spring_dl = idler_travel*longwing/ri;
62 62
63 filament_elevation=protrusion_h+pulley_elevation+teeth_elevation;
64 ls_z = filament_elevation; // leverspace mid-z
65 body_h = max(protrusion_h+bore_l,mount_screw_l-mounthole_depth/2+mount_screwhead_h,ls_z*2);
66 ls_h = lever_thickness+lever_v_clearance; // leverspace height
67
63 module mirrorleft() { 68 module mirrorleft() {
64 mirror([left?0:1,0,0]) children(); 69 mirror([left?0:1,0,0]) children();
65 } 70 }
@@ -171,10 +176,6 @@ module the_extruder(
171 }//lever module 176 }//lever module
172 177
173 module body() { 178 module body() {
174 filament_elevation=protrusion_h+pulley_elevation+teeth_elevation;
175 ls_z = filament_elevation;
176 body_h = max(protrusion_h+bore_l,mount_screw_l-mounthole_depth/2+mount_screwhead_h,ls_z*2);
177 ls_h = lever_thickness+lever_v_clearance;
178 difference() { 179 difference() {
179 union() { 180 union() {
180 cylinder(d=gearbox_d,h=body_h,$fn=2*PI*gearbox_d); 181 cylinder(d=gearbox_d,h=body_h,$fn=2*PI*gearbox_d);