Compare commits

..

No commits in common. "d762015c333f6eba556cdac776e0fcec8362f453" and "e2771f100ef7bf243ae67436cababf958bc0931e" have entirely different histories.

1 changed files with 6 additions and 38 deletions

View File

@ -14,8 +14,6 @@ funnel_size = 1;
part = 0; part = 0;
part_sep = 0.5;
module _end_of_customizer() {} module _end_of_customizer() {}
assert(part >= 0 && part <= 2); assert(part >= 0 && part <= 2);
@ -40,16 +38,9 @@ color("#777")
overall_cylinder(); overall_cylinder();
module bottom() { module bottom() {
difference() { for(i = [0:5]) {
union() { rotate([0, 0, i / 6 * 360])
for(i = [0:5]) { bottom_part();
rotate([0, 0, i / 6 * 360])
bottom_part();
}
}
translate([0, 0, bottom_height])
connection(true);
} }
} }
@ -86,20 +77,13 @@ module bottom_part() {
if(part == 0 || part == 1) if(part == 0 || part == 1)
color("#dd08") color("#dd08")
intersection() { bottom();
bottom();
translate([0, 0, -1])
cylinder(d = 12, h = 5);
}
module top() { module top() {
for(i = [0:5]) { for(i = [0:5]) {
rotate([0, 0, i / 6 * 360]) rotate([0, 0, i / 6 * 360])
top_part(); top_part();
} }
connection(false);
} }
module top_part() { module top_part() {
@ -134,24 +118,8 @@ module top_part_hollow() {
if(part == 0 || part == 2) if(part == 0 || part == 2)
color("#4d48") color("#4d48")
translate([0, 0, bottom_height + part_sep]) translate([0, 0, bottom_height])
intersection() { top();
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) if($preview && part == 1)
color("#f008") color("#f008")