chiark / gitweb /
fairphone-case: introduce lid_edgepart_width
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Mar 2018 13:41:16 +0000 (13:41 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Mar 2018 13:41:17 +0000 (13:41 +0000)
We need this to be wider because the new lid fold clearance
arrangements cut into the thicker part of the lid edge.

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

index 5189cad7e4c23f2c81718aadad9648fd7b3f170a..fcc027ed14b9101e588014ddf7c9a9d989d12d1f 100644 (file)
@@ -204,6 +204,7 @@ case_lip = 1.25;
 lid_gap_x = 0.25;
 lid_gap_z = 0.25;
 lid_lip = 1.75;
+lid_edgepart_width = 5.0;
 
 catch_slop = 0.50;
 
@@ -318,7 +319,7 @@ kppa = [ kppb[0], kppf[1] ];
 lpp10 = [ epp5[0] + lid_gap_x, kppc[1] + lid_gap_z ];
 lpp11 = [ lpp10[0],            epp5[1] + lid_gap_z ];
 
-lpp14 = lpp10 + [1,0] * keeper_inner_width;
+lpp14 = lpp10 + [1,0] * max(keeper_inner_width, lid_edgepart_width);
 // exact x posn not very important; must extend past end of keeper
 
 lpp15 = [ lpp14[0],