chiark / gitweb /
fairphone-case: reorganise catch into thumb recess
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 Mar 2019 10:31:41 +0000 (11:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 Mar 2019 10:31:41 +0000 (11:31 +0100)
In this commit, rework the case portion from a catch striker into a
thumb recess.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 76cb859..f3a8e62 100644 (file)
@@ -252,6 +252,8 @@ hinge_r_arms_gap = 0.55;
 
 rearspeaker_gap    = [ 2.0, 2.0 ]; // each side
 
+thumbrecess_depth = 1.3;
+
 catch_slop = -0.75;
 
 catch_len = 4.5;
@@ -429,11 +431,14 @@ lid_fold_clearance_skew =
 
 echo("SK",lid_fold_clearance_skew);
 
+// thumb recess (used to be "catch" hence cpp*
+
+cppA = epp4 + [thumbrecess_depth, 0];
+cppB = [ cppA[0], epp1[1] ];
+
 // catch
 
 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] ];
 
 cppS = cppJ + [0,-1] * catch_len;
@@ -747,15 +752,13 @@ module ButtonCoverReinf(){ ////toplevel
 }
 
 module CatchCutProfile(){
-  polygon([ cppB,
-           cppA,
-           cppD,
-           cppF,
-           cppF + [0,-10],
-           cppF + [-10,-10],
-           lpp12 + [-10,0],
-           lpp12 + [10,0]
-           ]);
+  difference(){
+    polygon([ cppA + [-10,0],
+             cppB + [-10,0],
+             cppB,
+             cppA ]);
+    circleat(epp1, r=case_th_side);
+  }
 }
 
 module Flip_rhs(yn=[0,1]) {