From: Ian Jackson Date: Thu, 17 Feb 2022 20:46:49 +0000 (+0000) Subject: fairphone4-case: experiment with aperture X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9e3df67d99c83e56b92085b82eaa9b95f54b1152;p=reprap-play.git fairphone4-case: experiment with aperture Signed-off-by: Ian Jackson --- diff --git a/fairphone4-case.scad b/fairphone4-case.scad index c7b59df..099ab26 100644 --- a/fairphone4-case.scad +++ b/fairphone4-case.scad @@ -788,12 +788,13 @@ module AroundEdges(fill_zstart, fill_th, fill_downwards=0){ [phone_width, -phone_height] + [-1,+1] * phone_cnr_rad); } -module CaseAperture(pos, dia, $fn) { +module CaseAperture(pos, dia, $fn, topbottom=0) { theta = 180/$fn; translate([ bumper[0], -epp2i[0], 0 ]) - translate([ pos[0], 0, -pos[1] ]) + rotate([0,0, 90*topbottom]) + translate([ pos[0] * (topbottom ? -1 : +1), 0, -pos[1] ]) rotate([-90, theta, 0]) cylinder(r = dia/2 / cos(theta), h = 60); @@ -1162,6 +1163,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); } OrdinaryRearApertures();