From: Ian Jackson Date: Sun, 21 Jan 2018 22:15:22 +0000 (+0000) Subject: fairphone-case: hinge: fix under slope of base arms X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=71a6b02fd3187c5d0f3e69bb7ee3a8678612aa7c;p=reprap-play.git fairphone-case: hinge: fix under slope of base arms Signed-off-by: Ian Jackson --- diff --git a/fairphone-case.scad b/fairphone-case.scad index bcd8eb8..67218c7 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -80,6 +80,8 @@ $fs = 0.1; button_l_fudge = 4.4; buttonishleg_default_l_is_fudge = 10; +hinge_base_slope = 1.5; // bigger is steeper + strut_min_at_end = 1.5; hinge_x_gap = 0.125; @@ -161,6 +163,10 @@ hppM = [ epp4[0] - foldover_lever_gap - hp_r2, hppT = [ hppM[0], hppU[1] - hp_r1 ]; hppB = hppT + [0,-1] * hp_k; +hppE_y = epp2o[1] - case_th_bottom + hp_r1; +hppE_x = hppB[0] + (hppB[1] - hppE_y) * hinge_base_slope; +hppE = [ hppE_x, hppE_y ]; + // hinge elevation x coords hingescrew_portion_len = @@ -436,6 +442,7 @@ module HingeBaseProfile(){ difference(){ hull(){ circleat(hppB, hp_r1); + circleat(hppE, hp_r1); circleat(epp2o, case_th_bottom); circleat(hppB + [10,0], hp_r1); }