|
|
@@ -162,7 +162,7 @@ module render_octa_capsule_array(z_offset) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// capsule holder with cylindrical mount
|
|
|
+// capsule holder with conical mount
|
|
|
//
|
|
|
// ratio of capsule radius to transition length
|
|
|
transition_ratio = 1.0;
|
|
|
@@ -178,7 +178,12 @@ module capsule_holder(ratio, transition, hollow = true) {
|
|
|
// main capsule holder, use a conical bore to press fit the capsule
|
|
|
f = 0.05;
|
|
|
cylinder(r = capsule_radius + fudge + wall, h = capsule_h, $fn = cfacets);
|
|
|
- if (hollow) cylinder(r1 = capsule_radius + fudge - f, r2 = capsule_radius + fudge, h = capsule_h + thin_mint, $fn = cfacets);
|
|
|
+ if (hollow) {
|
|
|
+ cylinder(r1 = capsule_radius + fudge, r2 = capsule_radius + fudge + f, h = capsule_h/2 + thin_mint, $fn = cfacets);
|
|
|
+ translate([0, 0, capsule_h*1/2]) {
|
|
|
+ cylinder(r = capsule_radius + fudge + f, h = capsule_h + thin_mint, $fn = cfacets);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
// conical transition into core sphere
|
|
|
transition_h = transition * capsule_radius;
|
|
|
@@ -193,7 +198,7 @@ module capsule_holder(ratio, transition, hollow = true) {
|
|
|
for (r = [0:36:179]) {
|
|
|
rotate([0, 90, r]) {
|
|
|
translate([-transition_h, 0, -capsule_radius - 2 * wall])
|
|
|
- scale([7, 1.25, 1]) cylinder(r = 1.0, h = (capsule_radius + 2 * wall) * 2, $fn = facets);
|
|
|
+ scale([7, 1.2, 1]) cylinder(r = 1.0, h = (capsule_radius + 2 * wall) * 2, $fn = facets);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -229,6 +234,21 @@ module render_octa_capsule_holder_array(hollow = true) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+module render_tetra_capsule_holder_array(hollow = true) {
|
|
|
+ for (az = [45, 135, -45, -135]) {
|
|
|
+ rotate([0, elev_angle, az]) {
|
|
|
+ translate([0, 0, mic_radius - capsule_height]) {
|
|
|
+ capsule_holder(holder_ratio, transition_ratio, hollow);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ rotate([0, 180 - elev_angle, az + 45]) {
|
|
|
+ translate([0, 0, mic_radius - capsule_height]) {
|
|
|
+ capsule_holder(holder_ratio, transition_ratio, hollow);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
// the spherical core and mounting stalk
|
|
|
//
|
|
|
// render = 0: the full sphere (for visualization)
|
|
|
@@ -262,7 +282,7 @@ module capsule_holder_ring(offset = 3.5, shift = 0) {
|
|
|
cylinder(r = s_radius - 2.5 * wall - fit, h = ring_h, $fn = facets);
|
|
|
cylinder(r = s_radius - 4 * wall - fit, h = ring_h, $fn = facets);
|
|
|
// shift the holes slightly so the two halves are pressed together
|
|
|
- translate([0, 0, ring_h/2]) capsule_holder_screws(s_radius, wall, 0.65, shift);
|
|
|
+ translate([0, 0, ring_h/2]) capsule_holder_screws(s_radius, wall, 0.55, shift);
|
|
|
}
|
|
|
}
|
|
|
|