chiark / gitweb /
fairphone4-case: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 17 Feb 2022 19:40:51 +0000 (19:40 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 17 Feb 2022 19:40:51 +0000 (19:40 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone4-case.scad

index edba9aa42ffa47e6278f0a50d66441880edf86dd..b96ff1ef9155f0ae3b45a6a1b816103246b6c281 100644 (file)
 include <utils.scad>
 include <funcs.scad>
 
-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);
     }