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:
63b2bce
)
poster-tube-lid: fix
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 21:06:10 +0000
(22:06 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 21:06:10 +0000
(22:06 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
poster-tube-lid.scad
patch
|
blob
|
history
diff --git
a/poster-tube-lid.scad
b/poster-tube-lid.scad
index 3bb15b6014f659f6223548bfe5db865c019f960a..659af078cc176a9e83d8ba78e79a2afe412b7530 100644
(file)
--- a/
poster-tube-lid.scad
+++ b/
poster-tube-lid.scad
@@
-209,7
+209,10
@@
function wmb_screw_thing_y_min(dia) = sqrt(
pow(wmb_x_screw + dia/2, 2)
);
wmb_y_screw_end = wmb_screw_thing_y_min(wmb_screw_dia);
-wmb_y_nut_min = wmb_screw_thing_y_min(wmb_nut_across + wmb_nut_around_min*2);
+wmb_y_nut_min = max(
+ wmb_screw_thing_y_min(wmb_nut_across + wmb_nut_around_min*2),
+ wm_y_slot1_max
+ );
wmb_y_mount_max = max(
wmb_y_nut_min + wmb_nut_th + wmb_nut_behind_min,
wmb_y_screw_end + wmb_screw_depth_min