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
fairphone-case: catch adjustments from previow
[reprap-play.git]
/
fairphone-case.scad
diff --git
a/fairphone-case.scad
b/fairphone-case.scad
index 3d73027f64ac493c586c9bf99dc75bd48d564587..d1181e673863c45c6c67c46845e24f853da5632e 100644
(file)
--- a/
fairphone-case.scad
+++ b/
fairphone-case.scad
@@
-93,12
+93,14
@@
hinge_r_arms_gap = 0.55;
rearspeaker_gap = [ 1.0, 1.0 ]; // each side
rearspeaker_gap = [ 1.0, 1.0 ]; // each side
-catch_len = 9;
+catch_len = 7.5;
+catch_width = 15;
+catch_thickness = 1.0;
-catch_depth =
0.7
5;
+catch_depth =
1.2
5;
catch_height = 0.35;
catch_finger_height = 1.5;
catch_height = 0.35;
catch_finger_height = 1.5;
-catch_finger_depth =
5
.5;
+catch_finger_depth =
2
.5;
// ---------- calculated ----------
// ---------- calculated ----------
@@
-193,7
+195,7
@@
echo(hingescrew_portion_len);
// catch
// catch
-cppJ =
bppJ
;
+cppJ =
[ epp4[0] + catch_thickness, lpp10[1] ]
;
cppA = cppJ + [lid_gap_x, -lid_gap_z];
cppB = [ epp0[0], cppA[1] ];
cppP = [ epp4[0], cppJ[1] ];
cppA = cppJ + [lid_gap_x, -lid_gap_z];
cppB = [ epp0[0], cppA[1] ];
cppP = [ epp4[0], cppJ[1] ];
@@
-203,7
+205,7
@@
cppD = [ cppA[0], cppS[1] + catch_slop ];
cppC = [ cppB[0], cppD[1] ];
cppT = cppS + [1,0] * catch_depth;
cppU = cppT + [0,-1] * catch_height;
cppC = [ cppB[0], cppD[1] ];
cppT = cppS + [1,0] * catch_depth;
cppU = cppT + [0,-1] * catch_height;
-cppV = [ cppS[0], cppU[1] - catch_
height
];
+cppV = [ cppS[0], cppU[1] - catch_
depth
];
cppR = 0.5*(cppP + cppJ);
cppR = 0.5*(cppP + cppJ);
@@
-318,6
+320,18
@@
module CatchCatchProfile(){
polygon([cppJ, cppS, cppT, cppU, cppV, cppQ, cppR]);
}
polygon([cppJ, cppS, cppT, cppU, cppV, cppQ, cppR]);
}
+module CatchCutProfile(){
+ polygon([ cppB,
+ cppA,
+ cppD,
+ cppF,
+ cppF + [0,-10],
+ cppF + [-10,-10],
+ lpp12 + [-10,0],
+ lpp12 + [10,0]
+ ]);
+}
+
module Flip_rhs(yn=[0,1]) {
for ($rhsflip=yn) {
translate([phone_width/2, 0, 0])
module Flip_rhs(yn=[0,1]) {
for ($rhsflip=yn) {
translate([phone_width/2, 0, 0])
@@
-885,7
+899,9
@@
module DemoProfiles(){ ////toplevel
translate([20,-30]) {
%EdgeProfile();
%LidEdgeProfile();
translate([20,-30]) {
%EdgeProfile();
%LidEdgeProfile();
+ //translate([0,0,1]) CatchCutProfile();
color("blue") CatchCatchProfile();
color("blue") CatchCatchProfile();
+ color("red") difference(){ EdgeProfile(); CatchCutProfile(); }
}
}
}
}