summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad6
1 files changed, 3 insertions, 3 deletions
diff --git a/another.scad b/another.scad
index faa41da..92187c5 100644
--- a/another.scad
+++ b/another.scad
@@ -392,4 +392,4 @@ module the_extruder(
hf = (bigd-smalld)/2;
- h = hf*3.5;
- translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation])
+ h = max(hf,fsw-st_screw_l+hf);
+ translate([-gearbox_d/2+fsw-h,-longwing,filament_elevation])
rotate([0,90,0]) difference() {
@@ -410,3 +410,3 @@ module the_extruder(
translate([0,0,-epsilon])
- cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
+ cylinder(d=st_screw_d+st_screw_d_tolerance,h=st_screw_l-fsw+h+2*epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
}