|
@@ -244,27 +244,6 @@ module octa_mount_flare(height, lip, transition, bot_xradius, bot_yradius, corne
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // add an additional transition from the flare to the stalk
|
|
|
|
|
- flare_stalk = 2;
|
|
|
|
|
- mid_xradius = top_radius + wall + (flare_stalk * (bot_xradius - (top_radius + wall))) / transition;
|
|
|
|
|
- mid_yradius = top_radius + wall + (flare_stalk * (bot_yradius - (top_radius + wall))) / transition;
|
|
|
|
|
- mid_corner = top_radius + wall + (flare_stalk * (corner - (top_radius + wall))) / transition;
|
|
|
|
|
- *translate([0, 0, height + transition - flare_stalk]) {
|
|
|
|
|
- difference() {
|
|
|
|
|
- hull() {
|
|
|
|
|
- rounded_block(thin_mint, mid_xradius, mid_yradius, 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_xradius, mid_yradius, 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() {
|