2024-07-12 09:08:58 -07:00
|
|
|
use <../util/torus.scad>
|
2024-07-06 22:48:17 -07:00
|
|
|
|
|
|
|
|
module spoolmount() {
|
|
|
|
|
// Ring
|
|
|
|
|
difference() {
|
2024-07-07 16:15:35 -07:00
|
|
|
// Cylinder body
|
2024-07-06 22:48:17 -07:00
|
|
|
cylinder(h=5, r=42, $fn=200);
|
|
|
|
|
|
2024-07-07 16:15:35 -07:00
|
|
|
// Central through hole
|
2024-07-10 19:09:18 -07:00
|
|
|
cylinder(h=5, r=25.1, $fn=200);
|
|
|
|
|
|
|
|
|
|
// Bottom slightly wider cutout
|
2024-07-06 22:48:17 -07:00
|
|
|
translate([0, 0, -1])
|
2024-07-10 19:09:18 -07:00
|
|
|
cylinder(h=1.5, r=25.45, $fn=200);
|
|
|
|
|
|
|
|
|
|
// Top slightly wider cutout
|
|
|
|
|
translate([0, 0, 4.5])
|
|
|
|
|
cylinder(h=1.5, r=25.45, $fn=200);
|
2024-07-06 22:48:17 -07:00
|
|
|
}
|
2024-07-10 19:09:18 -07:00
|
|
|
|
2024-07-07 16:15:35 -07:00
|
|
|
for (a = [45 : 90 : 335]) {
|
|
|
|
|
// Locking bumps
|
|
|
|
|
rotate([0, 0, a - 10])
|
|
|
|
|
rotate_extrude(angle=20, $fn=200)
|
2024-07-10 19:09:18 -07:00
|
|
|
translate([23.1, 0, 0])
|
2024-07-07 16:15:35 -07:00
|
|
|
polygon(points=[
|
2024-07-10 19:09:18 -07:00
|
|
|
[2.0, 0],
|
|
|
|
|
[2.0, 0.5],
|
2024-07-07 16:15:35 -07:00
|
|
|
[0, 2.5],
|
2024-07-10 19:09:18 -07:00
|
|
|
[2.0, 4.5],
|
|
|
|
|
[2.0, 5],
|
2024-07-07 16:15:35 -07:00
|
|
|
]);
|
2024-07-10 19:09:18 -07:00
|
|
|
|
2024-07-07 16:15:35 -07:00
|
|
|
// Rounded bump ends
|
|
|
|
|
for (o = [-10, 10]) {
|
|
|
|
|
rotate([0, 0, a + o])
|
2024-07-09 08:11:22 -07:00
|
|
|
translate([0, 30.1, 0])
|
2024-07-07 16:15:35 -07:00
|
|
|
scale([0.2, 1.0, 1.0])
|
|
|
|
|
rotate_extrude($fn=200)
|
|
|
|
|
translate([5, 0, 0])
|
|
|
|
|
polygon(points=[
|
2024-07-10 19:09:18 -07:00
|
|
|
[0, 0.5],
|
|
|
|
|
[2.0, 2.5],
|
|
|
|
|
[0, 4.5],
|
2024-07-07 16:15:35 -07:00
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-06 22:48:17 -07:00
|
|
|
|
2024-07-07 16:15:35 -07:00
|
|
|
// Rounded outer edge
|
2024-07-06 22:48:17 -07:00
|
|
|
translate([0, 0, 2.5]) {
|
|
|
|
|
torus(r_major=42, r_minor=2.5, xs=0.7, $fn=200);
|
|
|
|
|
}
|
2024-07-10 19:09:18 -07:00
|
|
|
|
|
|
|
|
// Rounded inner edges
|
|
|
|
|
{
|
|
|
|
|
translate([0, 0, 0.5])
|
|
|
|
|
torus(r_major=25.45, r_minor=0.5, xs=0.7, $fn=200);
|
|
|
|
|
|
|
|
|
|
translate([0, 0, 4.5])
|
|
|
|
|
torus(r_major=25.45, r_minor=0.5, xs=0.7, $fn=200);
|
|
|
|
|
}
|
2024-07-06 22:48:17 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
spoolmount();
|