jack_dia = 9.1 + .5; // some jack I had lying around
noisecancelmic_pos = [ 19.54, 7.37 ]; // from rhs
+noisecancelmic_dia = 1.75;
case_th_bottom = 2.5;
case_th_lid = 2.5;
square([abs(ab[0]), abs(ab[1])]);
}
module circleat(c,r) { translate(c) circle(r); }
+module linextr(z0,z1) {
+ translate([0,0,z0])
+ linear_extrude(height=z1-z0)
+ children();
+}
module KeeperProfile(slant=0){
use_e = kppe + [0,-1] * slant * keeper_inner_width / keeper_slant_slope;
[phone_width, -phone_height] + [-1,+1] * phone_cnr_rad);
}
-module CaseAperture(pos, dia) { // pass $fn too
+module CaseAperture(pos, dia, $fn) {
theta = 180/$fn;
translate([ pos[0] + bumper[0],
-epp2i[0],
-pos[1] ])
rotate([-90, theta, 0])
- cylinder(r = jack_dia/2 / cos(theta),
+ cylinder(r = dia/2 / cos(theta),
h = 60);
}
}
// apertures along top edge
- CaseAperture(jack_pos, jack_dia, $fn=8);
+ CaseAperture(jack_pos, jack_dia, 8);
+ CaseBase_rhsflip([1])
+ CaseAperture(noisecancelmic_pos, noisecancelmic_dia, 20);
}
}