summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-25 17:25:36 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-25 17:25:36 (UTC)
commit0efd2acb72d92bc51a8d56592e4171f619b15f79 (patch) (unidiff)
treede9c32666b22a86ecd77ed7f736961666bef43c2
parent4cb9b4ab0175173b4c89b8d22c571ec05a3aeea7 (diff)
downloadextrudery-0efd2acb72d92bc51a8d56592e4171f619b15f79.zip
extrudery-0efd2acb72d92bc51a8d56592e4171f619b15f79.tar.gz
extrudery-0efd2acb72d92bc51a8d56592e4171f619b15f79.tar.bz2
move fsw
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/another.scad b/another.scad
index a3f5dc9..74b7ffa 100644
--- a/another.scad
+++ b/another.scad
@@ -84,12 +84,14 @@ module the_extruder(
84 shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2)) 84 shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2))
85 sqrt(c*c+pow(a-c,2)); 85 sqrt(c*c+pow(a-c,2));
86 longwing_travel = idler_travel*longwing/shortwing; 86 longwing_travel = idler_travel*longwing/shortwing;
87 h_ = (pulley_d+idler_d)/(2*sqrt(2)); 87 h_ = (pulley_d+idler_d)/(2*sqrt(2));
88 ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); 88 ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) );
89 spring_dl = idler_travel*longwing/ri; 89 spring_dl = idler_travel*longwing/ri;
90 // finger and spring support
91 fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2);
90 92
91 mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1; 93 mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1;
92 mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1; 94 mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1;
93 filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; 95 filament_elevation=protrusion_h+pulley_elevation+teeth_elevation;
94 ls_z = filament_elevation; // leverspace mid-z 96 ls_z = filament_elevation; // leverspace mid-z
95 ls_h = lever_thickness+lever_v_clearance; // leverspace height 97 ls_h = lever_thickness+lever_v_clearance; // leverspace height
@@ -229,14 +231,12 @@ module the_extruder(
229 }//lever module 231 }//lever module
230 232
231 module body() { 233 module body() {
232 difference() { 234 difference() {
233 union() { 235 union() {
234 cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d); 236 cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d);
235 // finger and spring support
236 fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2);
237 translate([-gearbox_d/2,0,0]) difference() { 237 translate([-gearbox_d/2,0,0]) difference() {
238 union() { 238 union() {
239 hull() { 239 hull() {
240 translate([0,-longwing,ls_z]) 240 translate([0,-longwing,ls_z])
241 rotate([0,90,0]) 241 rotate([0,90,0])
242 cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); 242 cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness);