chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ksafe-base: wip, $xpp
[reprap-play.git]
/
simplephone-case.scad
diff --git
a/simplephone-case.scad
b/simplephone-case.scad
index fe5f695436f45fb2f4759e069c1b4f182c25437f..2cbc5ff1a3412606ef8b5d88e49d2394a1ba1901 100644
(file)
--- a/
simplephone-case.scad
+++ b/
simplephone-case.scad
@@
-25,8
+25,8
@@
screen_sz = [ 35, 46 ];
thumb_xbot = 90;
thumb_dia = 25;
thumb_xbot = 90;
thumb_dia = 25;
-vol_xbot = 8
7.4
;
-vol_xtop = 10
6.7
;
+vol_xbot = 8
6.5
;
+vol_xtop = 10
7.5
;
vol_depth = 1.0;
vol_zsz = 9;
vol_zoff = 0;
vol_depth = 1.0;
vol_zsz = 9;
vol_zoff = 0;
@@
-34,7
+34,7
@@
vol_zoff = 0;
rail_ysz = 2.5;
rail_zsz = 2.5;
rail_ysz = 2.5;
rail_zsz = 2.5;
-stay_height = 1.
25
;
+stay_height = 1.
49
;
case_x_less = 0; //case_x_less = 10;
case_x_less = 0; //case_x_less = 10;
@@
-76,7
+76,7
@@
module RoundedCube(sz, cnr_rad){
module Stay(xbot, xtop, width, midgap_width) {
translate([ (xbot+xtop)/2, psz[1]/2, psz[2] ]){
difference(){
module Stay(xbot, xtop, width, midgap_width) {
translate([ (xbot+xtop)/2, psz[1]/2, psz[2] ]){
difference(){
- cube([ xtop-xbot, width, stay_height ], center=true);
+ cube([ xtop-xbot, width, stay_height
*2
], center=true);
if (midgap_width > 0)
cube([ 200, midgap_width, 10 ], center=true);
}
if (midgap_width > 0)
cube([ 200, midgap_width, 10 ], center=true);
}
@@
-116,8
+116,8
@@
module Case(){
mirror([1,0,0])
translate([ screen_xbot,
(psz[1] - screen_sz[1])/2,
mirror([1,0,0])
translate([ screen_xbot,
(psz[1] - screen_sz[1])/2,
- psz[2]-
1
])
- cube(concat(screen_sz, [ thick[2]+
2
]));
+ psz[2]-
3
])
+ cube(concat(screen_sz, [ thick[2]+
6
]));
hull(){
for (x=[ thumb_xbot+thumb_dia/2, psz[0]+10 ])
hull(){
for (x=[ thumb_xbot+thumb_dia/2, psz[0]+10 ])