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:
2d73f0a
)
knifeblock: move yshift out of DoKnives
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 12:10:21 +0000
(12:10 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 12:10:21 +0000
(12:10 +0000)
knifeblock.scad
patch
|
blob
|
history
diff --git
a/knifeblock.scad
b/knifeblock.scad
index 3c4204abb0dd7afa9ed494eea06e04d1c3d5daa5..12450f169472307687367c6add0427c4d304778f 100644
(file)
--- a/
knifeblock.scad
+++ b/
knifeblock.scad
@@
-56,12
+56,8
@@
module DoKnife(k){
}
module DoKnives(){
- for (yshift=[-1,1]) {
- translate([0, yshift * frontbackslop, 0])
- for (k=[0:nknives-1]) {
- DoKnife(k);
- }
- }
+ for (k=[0:nknives-1])
+ DoKnife(k);
}
module ScrewHole(){
@@
-94,7
+90,9
@@
module Block(){
translate([x, 0, -screwabove])
ScrewHole();
}
- DoKnives();
+ for (yshift=[-1,1])
+ translate([0, yshift * frontbackslop, 0])
+ DoKnives();
}
}