chiark / gitweb /
fairphone-case: hinge: move everything up, so top is flat
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 21:11:03 +0000 (21:11 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 21:11:08 +0000 (21:11 +0000)
avoids any need for support or further adjustment or something
for the top of the arm

also combines the two microusb holes in the lever

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index aca4dc208988573d86001df17500f53d8fd97e5f..6946f4a1c4aa2a9ea303cbc9554a432bd70fe735 100644 (file)
@@ -155,8 +155,8 @@ hp_k = 0.5 * (hppU[1] - hppS[1] + foldover_gap);
 
 hppM = [ epp4[0] - foldover_lever_gap - hp_r2,
         0.5 * (hppU + hppS)[1] ];
-hppT = hppM + 0.5 * [0,+1] * hp_k;
-hppB = hppM + 0.5 * [0,-1] * hp_k;
+hppT = [ hppM[0], hppU[1] - hp_r1 ];
+hppB = hppT + [0,-1] * hp_k;
 
 // hinge elevation x coords