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:
941e138
)
toolbox-inserts: shuffle so middle is a hole line
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Apr 2025 17:17:46 +0000
(18:17 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Apr 2025 17:39:18 +0000
(18:39 +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 03afa21adb3a37238ca00c5612502bcaede2a138..90d133e33cc4c507bde34c321111831dc82726bf 100644
(file)
--- a/
toolbox-inserts.scad
+++ b/
toolbox-inserts.scad
@@
-217,9
+217,8
@@
module AtFixings() {
n_y = floor((box_y / fixing_pitch - 1.0) / 2);
for (xi=[-n_x : n_x])
- if (xi != 0)
for (yi=[
- for (yi = [-n_y : n_y
+ 1]) yi - 0.5
+ for (yi = [-n_y : n_y
]) yi
])
if (( n_y - abs(yi) ) + ( n_x - abs(xi) ) > 1.25)
translate(fixing_pitch * [xi, yi, 0]) {