2024-07-07 08:59:07 -07:00
|
|
|
module spoolmount_twist() {
|
2024-07-07 16:15:35 -07:00
|
|
|
difference() {
|
|
|
|
|
// Cylinder body
|
|
|
|
|
cylinder(h=5, r=25, $fn=200);
|
|
|
|
|
|
|
|
|
|
for (a = [45 : 90 : 335]) {
|
|
|
|
|
// Locking bump entrance cutout
|
|
|
|
|
rotate([0, 0, a - 13])
|
|
|
|
|
rotate_extrude(angle=26, $fn=200)
|
|
|
|
|
translate([22.5, 0, 0])
|
|
|
|
|
polygon(points=[
|
|
|
|
|
[0, -1],
|
|
|
|
|
[3, -1],
|
|
|
|
|
[3, 2.5],
|
|
|
|
|
[0, 2.5],
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
// Slide cutout
|
|
|
|
|
rotate([0, 0, a - 41.5])
|
|
|
|
|
rotate_extrude(angle=83, $fn=200)
|
|
|
|
|
translate([22.5, 0, 0])
|
|
|
|
|
polygon(points=[
|
|
|
|
|
[3, 0],
|
|
|
|
|
[2.5, 0],
|
|
|
|
|
[0, 2.5],
|
|
|
|
|
[2.5, 5],
|
|
|
|
|
[3, 5],
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
// Rounded end cutouts
|
|
|
|
|
for (o = [-41.5, 41.5]) {
|
|
|
|
|
rotate([0, 0, a + o])
|
|
|
|
|
translate([0, 30, 0])
|
|
|
|
|
scale([0.2, 1.0, 1.0])
|
|
|
|
|
rotate_extrude($fn=200)
|
|
|
|
|
translate([5, 0, 0])
|
|
|
|
|
polygon(points=[
|
|
|
|
|
[0, 0],
|
|
|
|
|
[2.5, 2.5],
|
|
|
|
|
[0, 5],
|
|
|
|
|
]);
|
|
|
|
|
}
|
2024-07-07 08:59:07 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-07 16:15:35 -07:00
|
|
|
difference() {
|
|
|
|
|
intersection() {
|
|
|
|
|
cylinder(h=5, r=25, $fn=200);
|
|
|
|
|
|
|
|
|
|
for (a = [45 : 90 : 335]) {
|
|
|
|
|
for (o = [-20.65, 20.65]) {
|
|
|
|
|
rotate([0, 0, a + o])
|
|
|
|
|
translate([0, 23.5, 1])
|
|
|
|
|
rotate([45, 0, 0])
|
|
|
|
|
scale([1.0, 1.0, 1.0])
|
|
|
|
|
cylinder(h=3.5, d=1, center=true, $fn=50);
|
|
|
|
|
|
|
|
|
|
rotate([0, 0, a + o])
|
|
|
|
|
translate([0, 23.5, 4])
|
|
|
|
|
rotate([-45, 0, 0])
|
|
|
|
|
scale([1.0, 1.0, 1.0])
|
|
|
|
|
cylinder(h=3.5, d=1, center=true, $fn=50);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-07 08:59:07 -07:00
|
|
|
|
2024-07-07 16:15:35 -07:00
|
|
|
for (a = [45 : 90 : 335]) {
|
|
|
|
|
// Rounded end cutouts
|
|
|
|
|
for (o = [-21.5, 21.5]) {
|
|
|
|
|
rotate([0, 0, a + o])
|
|
|
|
|
translate([0, 30, 0])
|
|
|
|
|
scale([0.2, 1.0, 1.0])
|
|
|
|
|
rotate_extrude($fn=200)
|
|
|
|
|
translate([5, 0, 0])
|
|
|
|
|
polygon(points=[
|
|
|
|
|
[0, 0],
|
|
|
|
|
[2.5, 2.5],
|
|
|
|
|
[0, 5],
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-07 08:59:07 -07:00
|
|
|
}
|
2024-07-07 16:15:35 -07:00
|
|
|
|
2024-07-07 08:59:07 -07:00
|
|
|
spoolmount_twist();
|