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:
542afb3
)
simplephone-case: more
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 23 Jun 2017 19:36:15 +0000
(20:36 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 23 Jun 2017 19:36:15 +0000
(20:36 +0100)
simplephone-case.scad
patch
|
blob
|
history
diff --git
a/simplephone-case.scad
b/simplephone-case.scad
index 8adc4d8b0c50ae07761d4f261b53f03f128111bb..bc2cebf9da7637fd7ed998f087d7b9c6a0525e46 100644
(file)
--- a/
simplephone-case.scad
+++ b/
simplephone-case.scad
@@
-12,12
+12,22
@@
thick = [
2.5,
];
+btn_x = 58;
+btn_dia = 14;
+btn_yprop = 0.23;
+
module Case(){
difference(){
mirror([1,0,0])
translate(-thick)
cube(psz + 2*thick - [1,0,0] * (thick[0]));
+ for (yp= [ btn_yprop, 1-btn_yprop ])
+ translate([ -btn_x,
+ yp * psz[1],
+ 0.5 * psz[2] ])
+ cylinder(r= btn_dia/2, h=20);
+
#mirror([1,0,0])
cube(psz + [1,0,0]);
}