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:
0bccaeb
)
toolbox-inserts: remove edge holes a different way (prep)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 22 Apr 2025 17:59:27 +0000
(18:59 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 22 Apr 2025 18:03:07 +0000
(19:03 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad
patch
|
blob
|
history
diff --git
a/toolbox-inserts.scad
b/toolbox-inserts.scad
index 6499c934cec5a657213e54202b0a36fa12c8550f..75518aac3d144ee3e1369cef1b4f2ecb1f04acea 100644
(file)
--- a/
toolbox-inserts.scad
+++ b/
toolbox-inserts.scad
@@
-190,8
+190,8
@@
module BoxBottomModel() { ////toplevel
}
module AtFixings() {
- n_x =
ceil(box_x / fixing_pitch / 2) + 1
;
- n_y =
ceil(box_y / fixing_pitch / 2) + 1
;
+ n_x =
floor( box_x / fixing_pitch / 2)
;
+ n_y =
floor((box_y / fixing_pitch - 1.0) / 2)
;
for (xi=[-n_x : n_x])
if (xi != 0)