chiark / gitweb /
fairphone-case: wip hinge, fix screw head keeper interaction
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 20:01:36 +0000 (20:01 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 20:01:36 +0000 (20:01 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 7739a1e5b9fdfe678b831ecf3e4df4dadae6bfb1..c21d038cdc13c1cfe679a317dc17692439faddd3 100644 (file)
@@ -65,6 +65,7 @@ hingescrew_shaft_dia = 2.0 + 0.25; // M2 x 12mm machine screw
 hingescrew_shaft_len = 12;
 hingescrew_nut_thick = 1.93 + 0.20; // incl. washer
 hingescrew_nut_dia = 4.72 + 0.50; // washer, actually
+hingescrew_head_th = 1.38 + 0.75;
 lever_cover_th = 0.75;
 hingemount_th = 2.5;
 
@@ -155,7 +156,9 @@ hppB = hppM + 0.5 * [0,-1] * hp_k;
 hingescrew_portion_len =
   0.5* (hingescrew_shaft_len - hingescrew_nut_thick - hinge_x_gap);
 
-hex20 = max(epp2o[0], phone_cnr_rad);
+hex20 = max(epp2o[0],
+           phone_cnr_rad,
+           kppd[0] + hingescrew_head_th + keeper_gap_x_holes);
 hex21 = hex20 + hingescrew_portion_len;
 hex22 = hex21 - hinge_x_gap;
 hex23 = hex22 + hingescrew_portion_len;