From 038b5b49d587df75c04309163044085ab0b1aca2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 30 Jan 2018 13:22:43 +0000 Subject: [PATCH] fairphone-case: rework hingescrew parameters: introduce hingescrew_fasteners_extra_thick and use for hex24 (nfc) and introduce hex27 too Signed-off-by: Ian Jackson --- fairphone-case.scad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fairphone-case.scad b/fairphone-case.scad index 1e11f3f..ba9c52c 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -79,6 +79,7 @@ foldover_lever_gap = 0.50; 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_fasteners_extra_thick = 0.40; hingescrew_nut_access_dia = 4.72 + 0.50; // ^ washer is 4.72 dia // also, want to get pliers or tiny spanner in to do up locknut @@ -232,10 +233,11 @@ hex20 = max(epp2o[0], kppd[0] + hingescrew_head_th + keeper_gap_x_holes); 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 +hex27 = hex20 + hingescrew_shaft_len; +hex24 = hex27 + hinge_x_postscrew_gap; +hex23 = hex27 - (hingescrew_nut_thick_real*2 + + hingescrew_fasteners_extra_thick); hex26 = hex23 + hingescrew_nut_thick_real * 2/3; -hex24 = hex20 + hingescrew_shaft_len + hinge_x_postscrew_gap; echo(hex20, hex21, hex22, hex23, hex24); // 6, 10.8725, 10.9975, 13.74, 18.75 -- 2.30.2