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
@@ -87,6 +87,8 @@ module the_extruder(
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;
@@ -232,8 +234,6 @@ module the_extruder(
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() {