|
@@ -220,41 +220,21 @@ module tetra_mount_flare(height, lip, transition, bot_radius, bot_corner, top_ra
|
|
|
hull() {
|
|
hull() {
|
|
|
rounded_block(thin_mint, bot_radius, bot_radius, bot_corner);
|
|
rounded_block(thin_mint, bot_radius, bot_radius, bot_corner);
|
|
|
translate([0, 0, transition]) {
|
|
translate([0, 0, transition]) {
|
|
|
- cylinder(r = top_radius + wall, h = thin_mint, $fn = facets);
|
|
|
|
|
|
|
+ cylinder(r = top_radius, h = thin_mint, $fn = facets);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
hull() {
|
|
hull() {
|
|
|
- rounded_block_relative(thin_mint, bot_radius, bot_radius, bot_corner, - 2 * wall);
|
|
|
|
|
|
|
+ rounded_block_relative(thin_mint, bot_radius, bot_radius, bot_corner, - wall);
|
|
|
translate([0, 0, transition]) {
|
|
translate([0, 0, transition]) {
|
|
|
cylinder(r = top_radius - wall, h = thin_mint, $fn = facets);
|
|
cylinder(r = top_radius - wall, h = thin_mint, $fn = facets);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // add an additional transition from the flare to the stalk
|
|
|
|
|
- flare_stalk = 2;
|
|
|
|
|
- mid_radius = top_radius + wall + (flare_stalk * (bot_radius - (top_radius + wall))) / transition;
|
|
|
|
|
- mid_corner = top_radius + wall + (flare_stalk * (bot_corner - (top_radius + wall))) / transition;
|
|
|
|
|
- translate([0, 0, height + transition - flare_stalk]) {
|
|
|
|
|
- difference() {
|
|
|
|
|
- hull() {
|
|
|
|
|
- rounded_block(thin_mint, mid_radius, mid_radius, mid_corner);
|
|
|
|
|
- translate([0, 0, 2 * flare_stalk]) {
|
|
|
|
|
- cylinder(r = top_radius + wall, h = thin_mint, $fn = facets);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- hull() {
|
|
|
|
|
- rounded_block_relative(thin_mint, mid_radius, mid_radius, mid_corner, - wall);
|
|
|
|
|
- translate([0, 0, 2 * flare_stalk]) {
|
|
|
|
|
- cylinder(r = top_radius - wall, h = thin_mint, $fn = facets);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
// cylindrical stalk
|
|
// cylindrical stalk
|
|
|
translate([0, 0, height + transition]) {
|
|
translate([0, 0, height + transition]) {
|
|
|
difference() {
|
|
difference() {
|
|
|
- cylinder(r = top_radius + wall, h = stalk_height, $fn = facets);
|
|
|
|
|
|
|
+ cylinder(r = top_radius, h = stalk_height, $fn = facets);
|
|
|
cylinder(r = top_radius - wall, h = stalk_height, $fn = facets);
|
|
cylinder(r = top_radius - wall, h = stalk_height, $fn = facets);
|
|
|
}
|
|
}
|
|
|
// add marker for "back of microphone" orientation
|
|
// add marker for "back of microphone" orientation
|
|
@@ -281,7 +261,7 @@ module tetra_capsule_array_mount(angles) {
|
|
|
rotate([0, 0, 45]) {
|
|
rotate([0, 0, 45]) {
|
|
|
difference() {
|
|
difference() {
|
|
|
hull() {
|
|
hull() {
|
|
|
- cylinder(r = mount_radius + 2 * wall, h = thin_mint, $fn = facets);
|
|
|
|
|
|
|
+ cylinder(r = mount_radius + wall, h = thin_mint, $fn = facets);
|
|
|
translate([0, 0, mount_top_height]) {
|
|
translate([0, 0, mount_top_height]) {
|
|
|
rounded_block(thin_mint, capsule_radius, mount_radius_capsule, mount_radius * 0.9);
|
|
rounded_block(thin_mint, capsule_radius, mount_radius_capsule, mount_radius * 0.9);
|
|
|
}
|
|
}
|
|
@@ -289,7 +269,7 @@ module tetra_capsule_array_mount(angles) {
|
|
|
hull() {
|
|
hull() {
|
|
|
cylinder(r = mount_radius, h = thin_mint, $fn = facets);
|
|
cylinder(r = mount_radius, h = thin_mint, $fn = facets);
|
|
|
translate([0, 0, mount_top_height]) {
|
|
translate([0, 0, mount_top_height]) {
|
|
|
- rounded_block_relative(thin_mint, capsule_radius, mount_radius_capsule, mount_radius * 0.9, - 1.25 * wall);
|
|
|
|
|
|
|
+ rounded_block_relative(thin_mint, capsule_radius, mount_radius_capsule, mount_radius * 0.9, -wall);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|