chiark / gitweb /
fairphone-case: hinge: move everything up, so top is flat
[reprap-play.git] / 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