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:
5306b98
)
fairphone-case: CaseBase_botflip: provide yn and $botflip (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 17:09:57 +0000
(17:09 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 17:09:57 +0000
(17:09 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad
patch
|
blob
|
history
diff --git
a/fairphone-case.scad
b/fairphone-case.scad
index 6ed1fc4b2642fd7659519569990aee69cdb3c7c8..48f637c54ccc44c58bbf581b263fbb47cc02f2e0 100644
(file)
--- a/
fairphone-case.scad
+++ b/
fairphone-case.scad
@@
-225,10
+225,10
@@
module CaseBase_rhsflip(yn=[0,1]) {
}
}
}
}
-module CaseBase_botflip() {
- for (
bot=[0,1]
) {
+module CaseBase_botflip(
yn=[0,1]
) {
+ for (
$botflip=yn
) {
translate([0, -phone_height/2, 0])
translate([0, -phone_height/2, 0])
- mirror([0,
bot
, 0])
+ mirror([0,
$botflip
, 0])
translate([0, phone_height/2, 0])
children();
}
translate([0, phone_height/2, 0])
children();
}