Compare commits

...

2 Commits
screw ... trunk

Author SHA1 Message Date
Remi Rampin ed0a319cbe Increase part separation 0.2->0.5 2024-04-22 17:55:46 -04:00
Remi Rampin 3a99837e24 Print-in-place attempt 2024-04-22 17:54:59 -04:00
1 changed files with 26 additions and 4 deletions

View File

@ -14,6 +14,8 @@ funnel_size = 1;
part = 0; part = 0;
part_sep = 0.4;
module _end_of_customizer() {} module _end_of_customizer() {}
assert(part >= 0 && part <= 2); assert(part >= 0 && part <= 2);
@ -38,10 +40,17 @@ color("#777")
overall_cylinder(); overall_cylinder();
module bottom() { module bottom() {
difference() {
union() {
for(i = [0:5]) { for(i = [0:5]) {
rotate([0, 0, i / 6 * 360]) rotate([0, 0, i / 6 * 360])
bottom_part(); bottom_part();
} }
}
translate([0, 0, bottom_height])
connection(true);
}
} }
center_to_bottom_opening_center = chamber_to_center + chamber_diam / 2; center_to_bottom_opening_center = chamber_to_center + chamber_diam / 2;
@ -84,6 +93,8 @@ module top() {
rotate([0, 0, i / 6 * 360]) rotate([0, 0, i / 6 * 360])
top_part(); top_part();
} }
connection(false);
} }
module top_part() { module top_part() {
@ -118,9 +129,20 @@ module top_part_hollow() {
if(part == 0 || part == 2) if(part == 0 || part == 2)
color("#4d48") color("#4d48")
translate([0, 0, bottom_height]) translate([0, 0, bottom_height + part_sep])
top(); top();
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) if($preview && part == 1)
color("#f008") color("#f008")
for(i = [0:5]) { for(i = [0:5]) {