chiark / gitweb /
fairphone-case: hinge: really room to get at locknut
[reprap-play.git] / fairphone-case.scad
index 64fe13d8e308f6b13ff4ee8eb74ec15ff56713b0..5637594a834bc852c7a65bb181b642787567a45f 100644 (file)
@@ -189,7 +189,8 @@ hex20 = max(epp2o[0],
            kppd[0] + hingescrew_head_th + keeper_gap_x_holes);
 hex21 = hex20 + hingescrew_portion_len;
 hex22 = hex21 + hinge_x_gap;
-hex23 = hex22 + hingescrew_portion_len;
+hex23 = hex22 + hingescrew_portion_len
+  - hingescrew_nut_thick; // bodge, need to divvy this up more sensibly
 hex24 = hex20 + hingescrew_shaft_len + hinge_x_postscrew_gap;
 echo(hex20, hex21, hex22, hex23, hex24);
 echo(hingescrew_portion_len);
@@ -422,7 +423,7 @@ 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) children(); // volume
-  Flip_rhs(   ) LidButtonishLeg(20, -1) children();
+  Flip_rhs(   ) LidButtonishLeg(14, -1) children();
 //  Flip_rhs(0) LidButtonishLeg(20, +1, 20) children();
 }
 
@@ -518,10 +519,10 @@ module HingeLeverOuterProfile(){
 module HingeLeverInnerProfile(){
   for (c = [hppT, hppB]) {
     hull()
-      for (x=[0,20])
-       translate([x,0])
-         circleat(c, hp_rn);
-       circleat(hppB, hp_rn);
+      for (x=[-20,20])
+       for (y=[0, c[1] - hppM[1]])
+         translate([x,y])
+           circleat(c, hp_rn);
   }
 }