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