chiark / gitweb /
fairphone-case: Improve nut access
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jan 2018 20:29:31 +0000 (20:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jan 2018 20:29:31 +0000 (20:29 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index cca703e522f713cead93887a168ecbd2f2abfbfb..bb7af1c2f7326b846800d872d64af7dc7425ea50 100644 (file)
@@ -80,6 +80,7 @@ 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_nut_dia = 4.72 + 0.50; // washer, actually
 hingescrew_shaft_len = 12;
 hingescrew_nut_thick = 1.93 + 0.20; // incl. washer
 hingescrew_nut_dia = 4.72 + 0.50; // washer, actually
+hingescrew_nut_across = 3.92 + 0.25;
 hingescrew_head_th = 1.38 + 0.75;
 hingescrew_head_dia = 3.92;
 lever_cover_th = 0.75;
 hingescrew_head_th = 1.38 + 0.75;
 hingescrew_head_dia = 3.92;
 lever_cover_th = 0.75;
@@ -593,7 +594,7 @@ module HingeLeverInnerProfile(){
     c = s > 0 ? hppT : hppB;
     translate(c)
       mirror([0,0,s>0])
     c = s > 0 ? hppT : hppB;
     translate(c)
       mirror([0,0,s>0])
-      rotate(-s * 45)
+      rotate(s<0 ? -40 : 0)
       hull()
       for (x=[-20,20])
        for (y=[0, s * 10])
       hull()
       for (x=[-20,20])
        for (y=[0, s * 10])