chiark / gitweb /
fairphone-case: rework hingescrew parameters: introduce hingemount_wd and use for...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Jan 2018 13:16:21 +0000 (13:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Jan 2018 13:16:21 +0000 (13:16 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 43e847eac2c38680a402368d6ea5008475d2db61..1e11f3f80e4ae00d9ccb305422cf0591d2e3b594 100644 (file)
@@ -88,6 +88,7 @@ hingescrew_head_th = 1.38 + 0.75;
 hingescrew_head_dia = 3.92;
 lever_cover_th = 0.75;
 hingemount_th = 2.5;
 hingescrew_head_dia = 3.92;
 lever_cover_th = 0.75;
 hingemount_th = 2.5;
+hingemount_wd = 4.8725;
 
 hingescrew_nut_recess_portion = 2/3; // portion of nut in recess
 
 
 hingescrew_nut_recess_portion = 2/3; // portion of nut in recess
 
@@ -229,7 +230,7 @@ hingescrew_portion_len =
 hex20 = max(epp2o[0],
            phone_cnr_rad,
            kppd[0] + hingescrew_head_th + keeper_gap_x_holes);
 hex20 = max(epp2o[0],
            phone_cnr_rad,
            kppd[0] + hingescrew_head_th + keeper_gap_x_holes);
-hex21 = hex20 + hingescrew_portion_len;
+hex21 = hex20 + hingemount_wd;
 hex22 = hex21 + hinge_x_gap;
 hex23 = hex22 + hingescrew_portion_len
   - hingescrew_nut_thick; // bodge, need to divvy this up more sensibly
 hex22 = hex21 + hinge_x_gap;
 hex23 = hex22 + hingescrew_portion_len
   - hingescrew_nut_thick; // bodge, need to divvy this up more sensibly