From 49450ab2aa83b2621d2d02f322f5087317f4caf6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 17 Feb 2022 19:40:51 +0000 Subject: [PATCH] fairphone4-case: wip Signed-off-by: Ian Jackson --- fairphone4-case.scad | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/fairphone4-case.scad b/fairphone4-case.scad index edba9aa..b96ff1e 100644 --- a/fairphone4-case.scad +++ b/fairphone4-case.scad @@ -120,7 +120,7 @@ include include -phone = [ 75.0, 145.0 ]; +phone = [ 75.86, 168.0 ]; prop_buildout_less = 3; @@ -132,7 +132,7 @@ bumper = [ 0.250, -0.025 ]; enable_support = 1; -led_window_style = 3; +led_window_style = 0; // 0: no window // 1: simply an opening // 2: opening with separate cover model, for printing in clear (two colour) @@ -142,28 +142,31 @@ initial_layer_thick = 0.400; // ^ needed for mode 3 only initial_layer_width = 0.750; // ^ needed for mode 3 only multicolour_gap = 0.15; // each side -phone_cnr_rad = 6.0; -phone_rim_depth = 0.80; // includes allowance for a screen protector +phone_cnr_rad = 7.0; // actuall 8.mumble, but smaller is fine +phone_rim_depth = 0.01; // includes allowance for a screen protector button_cutout_depth = 9; -phone_edge_thick = 9.0; +phone_edge_thick = 11.25; +// xxx this is all wrong camera_pos_tl = [ 6.450, 12.750 ]; // measured from tl corner camera_pos_br = [ 22.300, 37.600 ]; // tl/br as seen from back +// this is disabled, FP4 doesn't have one jack_pos = [ 13.83, 8.485 ]; jack_dia = 10.64 + .5; // some jack I had lying around +// this led stuff, is irrelevant, we have disabled it as it doesn't have one led_pos = [ 13.98, 10.00 ]; led_aperture = 9; led_window_ledge = 0.75; // each side -noisecancelmic_pos = [ 19.54, 7.37 ]; // from rhs +noisecancelmic_pos = [ 15.08, 7.37 /* xxx? */ ]; // from rhs noisecancelmic_dia = 4.00; -//fingerpushhole_dias = [ 15, 18 ]; -fingerpushhole_dias = []; +// fingerpushhole_dias = []; xxx what was this +fingerpushhole_dias = [ 15, 18 ]; lanyard_half_dia = 1.15; lanyard_entry_rel_breadth = 2; @@ -171,9 +174,9 @@ lanyard_channel_len = 15; rearspeaker_pos_bl = [ 12.64, 18.72 ]; rearspeaker_size = [ 3.76, 7.36 ]; -microusb_above = 3.27 - 0.25; -microusb_below = 0.0; -microusb_width = 16.12 + 1.25; +microusb_above = 1.64 - 0.25; +microusb_below = 2.42; +microusb_width = 12.16 + 2.0 + 1.25; case_th_bottom = 2.5; case_th_lid = 3.0; @@ -247,6 +250,7 @@ hinge_x_postscrew_gap = 0.75; hinge_x_arms_gap = 0.35; hinge_r_arms_gap = 0.55; +// xxx there isn't one of these, speaker is by hinge rearspeaker_gap = [ 2.0, 2.0 ]; // each side thumbrecess_depth = 1.3; @@ -1151,7 +1155,7 @@ module Case(){ ////toplevel // apertures along top edge if (!$suppress_forward_holes) { - CaseAperture(jack_pos, jack_dia, 8); + // CaseAperture(jack_pos, jack_dia, 8); Flip_rhs(1) CaseAperture(noisecancelmic_pos, noisecancelmic_dia, 8); } -- 2.30.2