Compare commits

..

3 Commits

Author SHA1 Message Date
Remi Rampin d762015c33 Increase part separation 0.2->0.5 2024-04-01 17:37:58 -04:00
Remi Rampin 538559d0a6 Test print connection area only 2024-04-01 17:37:56 -04:00
Remi Rampin 827272c623 Print-in-place attempt 2024-04-01 17:37:52 -04:00
1 changed files with 38 additions and 6 deletions

View File

@ -14,6 +14,8 @@ funnel_size = 1;
part = 0;
part_sep = 0.5;
module _end_of_customizer() {}
assert(part >= 0 && part <= 2);
@ -38,12 +40,19 @@ color("#777")
overall_cylinder();
module bottom() {
difference() {
union() {
for(i = [0:5]) {
rotate([0, 0, i / 6 * 360])
bottom_part();
}
}
translate([0, 0, bottom_height])
connection(true);
}
}
center_to_bottom_opening_center = chamber_to_center + chamber_diam / 2;
bottom_opening_diam = center_to_bottom_opening_center * sin(360 / 12) - opening_sep;
@ -77,13 +86,20 @@ module bottom_part() {
if(part == 0 || part == 1)
color("#dd08")
intersection() {
bottom();
translate([0, 0, -1])
cylinder(d = 12, h = 5);
}
module top() {
for(i = [0:5]) {
rotate([0, 0, i / 6 * 360])
top_part();
}
connection(false);
}
module top_part() {
@ -118,9 +134,25 @@ module top_part_hollow() {
if(part == 0 || part == 2)
color("#4d48")
translate([0, 0, bottom_height])
translate([0, 0, bottom_height + part_sep])
intersection() {
top();
translate([0, 0, -4])
cylinder(d = 12, h = 5);
}
module connection(hole) {
sep_hole = hole?part_sep:0;
sep_screw = hole?0:part_sep;
translate([0, 0, -1.5 - sep_screw * 2])
cylinder(d = 4 + sep_hole, h = 1.5 + sep_screw * 2);
translate([0, 0, -3 - sep_screw * 2])
cylinder(d1 = 8 + sep_hole, d2 = 4 + sep_hole, h = 1.5);
}
if($preview && part == 1)
color("#f008")
for(i = [0:5]) {