From: Ian Jackson Date: Mon, 21 Feb 2022 19:29:24 +0000 (+0000) Subject: fairphone4-case: aperture adjustment X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=353d154fb847a0e5de6f865bac148849747cfe14;p=reprap-play.git fairphone4-case: aperture adjustment Signed-off-by: Ian Jackson --- diff --git a/fairphone4-case.scad b/fairphone4-case.scad index 64a8a17..3abf91f 100644 --- a/fairphone4-case.scad +++ b/fairphone4-case.scad @@ -256,6 +256,7 @@ hinge_x_gap = 0.125; hinge_x_postscrew_gap = 0.75; hinge_x_arms_gap = 0.35; hinge_r_arms_gap = 0.55; +hinge_over_nut_plate = 1.0; // xxx there isn't one of these, speaker is by hinge rearspeaker_gap = [ 2.0, 2.0 ]; // each side @@ -1329,9 +1330,31 @@ module HingeLever(){ ////toplevel // bores for the screws HingeScrews(); - // space for the charging cable - MicroUSBEtc(); - Flip_hinge() MicroUSBEtc(); + // space for the charging cable and speaker and micc apertures + hull() { + for (x = [-1,+1]) { + multmatrix([[ 1,0, + + x + * ( (hex24 + hinge_over_nut_plate) - + (phone_width/2 - microusb_width/2) + ) + / ( (epp0[1] - microusb_above) + - + (hppB[1] - hp_r2) ), + + x * (epp0[1] - microusb_above) + + ], + [ 0,1,0, 0 ], + [ 0,0,1, 0 ]]) { + union(){ + MicroUSBEtc(); + Flip_hinge() MicroUSBEtc(); + } + } + } + } } }