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:
1e8ddf8
)
toolbox-inserts: shuffle so cut is between hole lines (prep)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Apr 2025 17:41:10 +0000
(18:41 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Apr 2025 17:41:10 +0000
(18:41 +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 adf4065843f46484449ce1b78af59d99ef900eda..8b5a298076a3f2c8db244acde0f85cd0fd35ad94 100644
(file)
--- a/
toolbox-inserts.scad
+++ b/
toolbox-inserts.scad
@@
-216,7
+216,10
@@
module AtFixings() {
n_x = floor((box_x / fixing_pitch - 1.0) / 2);
n_y = floor((box_y / fixing_pitch - 1.0) / 2);
- for (xi=[-n_x : n_x])
+ for (xi=[
+ for (xi= [-n_x : n_x])
+ xi
+ ])
for (yi=[-n_y : n_y])
// if (( n_y - abs(yi) ) + ( n_x - abs(xi) ) > 1.25)
translate(fixing_pitch * [xi, yi, 0]) {