Screw hole

This commit is contained in:
Remi Rampin 2024-03-27 18:30:13 -04:00
parent e2771f100e
commit 07bc4efcb1
1 changed files with 26 additions and 6 deletions

View File

@ -8,6 +8,11 @@ top_height = 20;
opening_sep = 0.1; opening_sep = 0.1;
screw_hole_diam = 2;
screw_hole_depth = 12;
screw_diam = 3;
screw_spacer_diam = 10;
border = 1; border = 1;
funnel_size = 1; funnel_size = 1;
@ -38,9 +43,18 @@ color("#777")
overall_cylinder(); overall_cylinder();
module bottom() { module bottom() {
for(i = [0:5]) { difference() {
rotate([0, 0, i / 6 * 360]) union()
bottom_part(); for(i = [0:5]) {
rotate([0, 0, i / 6 * 360])
bottom_part();
}
translate([0, 0, -1])
cylinder(d = screw_diam + 1, h = bottom_height + 2);
translate([0, 0, -1])
cylinder(d = screw_spacer_diam, h = 2 + 1);
} }
} }
@ -80,9 +94,15 @@ color("#dd08")
bottom(); bottom();
module top() { module top() {
for(i = [0:5]) { difference() {
rotate([0, 0, i / 6 * 360]) union()
top_part(); for(i = [0:5]) {
rotate([0, 0, i / 6 * 360])
top_part();
}
translate([0, 0, -1])
cylinder(d = screw_hole_diam, h = screw_hole_depth + 1);
} }
} }