From 1a26c241aa4440c5e287032004519d917c7b6f5b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 17 Feb 2022 20:53:16 +0000 Subject: [PATCH 1/1] fairphone4-case: apertures Signed-off-by: Ian Jackson --- fairphone4-case.scad | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fairphone4-case.scad b/fairphone4-case.scad index 099ab26..2c32d04 100644 --- a/fairphone4-case.scad +++ b/fairphone4-case.scad @@ -162,9 +162,11 @@ led_pos = [ 13.98, 10.00 ]; led_aperture = 9; led_window_ledge = 0.75; // each side -noisecancelmic_pos = [ 15.08, 7.37 /* xxx? */ ]; // from rhs +noisecancelmic_pos = [ 15.08, 4.35 ]; // from rhs, from top edge noisecancelmic_dia = 4.00; +lhshole_pos = [ phone[1]/2, 4.35 ]; + // fingerpushhole_dias = []; xxx what was this fingerpushhole_dias = [ 15, 18 ]; @@ -794,7 +796,7 @@ module CaseAperture(pos, dia, $fn, topbottom=0) { -epp2i[0], 0 ]) rotate([0,0, 90*topbottom]) - translate([ pos[0] * (topbottom ? -1 : +1), 0, -pos[1] ]) + translate([ pos[0] * (topbottom>0 ? -1 : +1), 0, -pos[1] ]) rotate([-90, theta, 0]) cylinder(r = dia/2 / cos(theta), h = 60); @@ -923,7 +925,7 @@ module HingeLeverInnerProfile(){ for (s = [-1,+1]) { c = s > 0 ? hppT : hppB; translate(c) - mirror([0,0,s>0]) + mirror([0,0, s>0 ? 1 : 0]) rotate(s<0 ? -40 : 0) hull() for (x=[-20,20]) @@ -1163,7 +1165,7 @@ module Case(){ ////toplevel // CaseAperture(jack_pos, jack_dia, 8); Flip_rhs(1) CaseAperture(noisecancelmic_pos, noisecancelmic_dia, 8); - CaseAperture(noisecancelmic_pos, noisecancelmic_dia, 8, 1); + CaseAperture(lhshole_pos, noisecancelmic_dia, 8, 1); } OrdinaryRearApertures(); -- 2.30.2