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

index b96ff1ef9155f0ae3b45a6a1b816103246b6c281..c26b02b4c70e251cb561323dc04d35f1ef5dda33 100644 (file)
 include <utils.scad>
 include <funcs.scad>
 
-phone = [ 75.86, 168.0 ];
+phone = [ 75.86, 162.0 ];
 
 prop_buildout_less = 3;
 
@@ -215,6 +215,8 @@ lid_buttoncover_reinf = 0.65;
 foldover_gap = 0.50;
 foldover_lever_gap = 0.50;
 
+// xxx replace hinge screw with nail plan
+
 // properties of the hinge fasteners
 hingescrew_shaft_dia = 2.0 + 0.25; // M2 x 12mm machine screw
 hingescrew_shaft_len = 12;
@@ -817,11 +819,11 @@ module LidButtonishLeg(y, y_ref_sign, l=buttonishleg_default_l_is_fudge) {
 }
 
 module Buttons(){
-  Flip_rhs(1) SideButton(15.580, +1, 8.9     ) children(); // power
-  Flip_rhs(1) SideButton(48.700, -1, 8.920   ) children(); // camera
-  Flip_rhs(0) SideButton(30.800, +1, 21.96, 1) children(); // volume
+  Flip_rhs(1) SideButton(30.320, +1, 22.960  ) children(); // volume
+  Flip_rhs(1) SideButton(64.220, +1, 14.500  ) children(); // power
   Flip_rhs(   ) LidButtonishLeg(14, -1) children();
-//  Flip_rhs(0) LidButtonishLeg(20, +1, 20) children();
+  Flip_rhs(0)   LidButtonishLeg(14, +1) children();
+  // xxx need hole for whatever that hole is on lhs
 }
 
 module Struts(x_start, z_min, th){