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:
b82a72c
)
fairphone-case: shear the button cover legs to fix case folding bug
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 7 Mar 2018 23:33:21 +0000
(23:33 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 7 Mar 2018 23:33:21 +0000
(23:33 +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 9827a7ab856c7b90d0251956c3ad9173405d0f24..84ae371420c2e6c3ce5520c1d94983793bfaf5bb 100644
(file)
--- a/
fairphone-case.scad
+++ b/
fairphone-case.scad
@@
-561,6
+561,10
@@
module ButtonPlan(l, deep, cut){
I0 = [ E0[0], H[1] ];
I1 = [ E1[0], H[1] ];
+ multmatrix([[ 1, $button_plan_shear ? 0.4 : 0, 0 ],
+ [ 0,1,0 ],
+ [ 0,0,1 ],
+ ]){
hull(){
for (m=[0,1]) mirror([m,0])
circleat(H, r0 - epsilon);
@@
-578,6
+582,7
@@
module ButtonPlan(l, deep, cut){
circleat(D, r0 + epsilon);
}
}
+ }
}
module CatchCatchProfile(){
@@
-688,6
+693,7
@@
module SideButton(y, y_ref_sign, l, suppress_over_keeper=0){
module LidButtonishLeg(y, y_ref_sign, l=buttonishleg_default_l_is_fudge) {
$button_leg_only = true;
+ $button_plan_shear = true;
SideButton(y, y_ref_sign, l) children();
}