Hollow extension, rounded inner edges
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
use <lib/extension_twist.scad>
|
use <lib/extension_twist.scad>
|
||||||
|
|
||||||
extension_twist(h=25);
|
extension_twist(h=25, twist=30);
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
use <spoolmount_twist.scad>
|
use <spoolmount_twist.scad>
|
||||||
|
|
||||||
module extension_twist(h) {
|
module extension_twist(h, twist) {
|
||||||
assert(h >= 10, "minimum extension height is 10");
|
assert(h >= 10, "minimum extension height is 10");
|
||||||
|
|
||||||
// Bottom spoolmount twist
|
// Bottom spoolmount twist
|
||||||
@@ -8,12 +8,23 @@ module extension_twist(h) {
|
|||||||
|
|
||||||
// Top spoolmount twist
|
// Top spoolmount twist
|
||||||
translate([0, 0, h])
|
translate([0, 0, h])
|
||||||
rotate([180, 0, 30])
|
rotate([180, 0, twist])
|
||||||
spoolmount_twist();
|
spoolmount_twist();
|
||||||
|
|
||||||
// Center cylinder
|
difference() {
|
||||||
translate([0, 0, 5])
|
union() {
|
||||||
cylinder(h=h - 10, r=25, $fn=200);
|
// Outer body cylinder
|
||||||
|
translate([0, 0, 4.5])
|
||||||
|
cylinder(h=h - 9, r=25, $fn=200);
|
||||||
|
|
||||||
|
// Inner body cylinder
|
||||||
|
translate([0, 0, 2.5])
|
||||||
|
cylinder(h=h - 5, r=23, $fn=200);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Inner through cutout
|
||||||
|
cylinder(h=h, r=16.25, $fn=200);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension_twist(h=25);
|
extension_twist(h=25, twist=30);
|
||||||
@@ -7,21 +7,30 @@ module spoolmount() {
|
|||||||
cylinder(h=5, r=42, $fn=200);
|
cylinder(h=5, r=42, $fn=200);
|
||||||
|
|
||||||
// Central through hole
|
// Central through hole
|
||||||
|
cylinder(h=5, r=25.1, $fn=200);
|
||||||
|
|
||||||
|
// Bottom slightly wider cutout
|
||||||
translate([0, 0, -1])
|
translate([0, 0, -1])
|
||||||
cylinder(h=7, r=25.1, $fn=200);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (a = [45 : 90 : 335]) {
|
for (a = [45 : 90 : 335]) {
|
||||||
// Locking bumps
|
// Locking bumps
|
||||||
rotate([0, 0, a - 10])
|
rotate([0, 0, a - 10])
|
||||||
rotate_extrude(angle=20, $fn=200)
|
rotate_extrude(angle=20, $fn=200)
|
||||||
translate([22.6, 0, 0])
|
translate([23.1, 0, 0])
|
||||||
polygon(points=[
|
polygon(points=[
|
||||||
[2.5, 0],
|
[2.0, 0],
|
||||||
|
[2.0, 0.5],
|
||||||
[0, 2.5],
|
[0, 2.5],
|
||||||
[2.5, 5],
|
[2.0, 4.5],
|
||||||
|
[2.0, 5],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Rounded bump ends
|
// Rounded bump ends
|
||||||
for (o = [-10, 10]) {
|
for (o = [-10, 10]) {
|
||||||
rotate([0, 0, a + o])
|
rotate([0, 0, a + o])
|
||||||
@@ -30,9 +39,9 @@ module spoolmount() {
|
|||||||
rotate_extrude($fn=200)
|
rotate_extrude($fn=200)
|
||||||
translate([5, 0, 0])
|
translate([5, 0, 0])
|
||||||
polygon(points=[
|
polygon(points=[
|
||||||
[0, 0],
|
[0, 0.5],
|
||||||
[2.5, 2.5],
|
[2.0, 2.5],
|
||||||
[0, 5],
|
[0, 4.5],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -41,6 +50,15 @@ module spoolmount() {
|
|||||||
translate([0, 0, 2.5]) {
|
translate([0, 0, 2.5]) {
|
||||||
torus(r_major=42, r_minor=2.5, xs=0.7, $fn=200);
|
torus(r_major=42, r_minor=2.5, xs=0.7, $fn=200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
spoolmount();
|
spoolmount();
|
||||||
@@ -1,15 +1,40 @@
|
|||||||
|
use <torus.scad>
|
||||||
|
|
||||||
module spoolmount_twist() {
|
module spoolmount_twist() {
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
difference() {
|
difference() {
|
||||||
// Cylinder body
|
union() {
|
||||||
cylinder(h=5, r=25, $fn=200);
|
// Core cylinder body
|
||||||
|
translate([0, 0, 0.5])
|
||||||
|
cylinder(h=4, r=25, $fn=200);
|
||||||
|
|
||||||
|
// Slightly narrower bottom/top body
|
||||||
|
cylinder(h=5, r=24.65, $fn=200);
|
||||||
|
|
||||||
|
// Bottom outer rounded edge
|
||||||
|
intersection() {
|
||||||
|
cylinder(h=0.5, r=25, $fn=200);
|
||||||
|
|
||||||
|
translate([0, 0, 0.5])
|
||||||
|
torus(r_major=24.65, r_minor=0.5, xs=0.7, $fn=200);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Top outer rounded edge
|
||||||
|
intersection() {
|
||||||
|
translate([0, 0, 4.5])
|
||||||
|
cylinder(h=0.5, r=25, $fn=200);
|
||||||
|
|
||||||
|
translate([0, 0, 4.5])
|
||||||
|
torus(r_major=24.65, r_minor=0.5, xs=0.7, $fn=200);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (a = [45 : 90 : 335]) {
|
for (a = [45 : 90 : 335]) {
|
||||||
// Slide bump entrance cutout
|
// Slide bump entrance cutout
|
||||||
rotate([0, 0, a - 13])
|
rotate([0, 0, a - 13])
|
||||||
rotate_extrude(angle=26, $fn=200)
|
rotate_extrude(angle=26, $fn=200)
|
||||||
translate([22.3, 0, 0])
|
translate([23, 0, 0])
|
||||||
polygon(points=[
|
polygon(points=[
|
||||||
[0, -1],
|
[0, -1],
|
||||||
[3, -1],
|
[3, -1],
|
||||||
@@ -20,25 +45,30 @@ module spoolmount_twist() {
|
|||||||
// Slide cutout
|
// Slide cutout
|
||||||
rotate([0, 0, a - 40])
|
rotate([0, 0, a - 40])
|
||||||
rotate_extrude(angle=80, $fn=200)
|
rotate_extrude(angle=80, $fn=200)
|
||||||
translate([22.5, 0, 0])
|
translate([23, 0, 0])
|
||||||
polygon(points=[
|
polygon(points=[
|
||||||
[3, 0],
|
[3, 0.5],
|
||||||
[2.5, 0],
|
[2, 0.5],
|
||||||
[0, 2.5],
|
[0, 2.5],
|
||||||
[2.5, 5],
|
[2, 4.5],
|
||||||
[3, 5],
|
[3, 4.5],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Inner cutout
|
||||||
|
translate([0, 0, -1])
|
||||||
|
cylinder(h=7, r=18, $fn=200);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Locking bumps
|
// Locking bumps
|
||||||
intersection() {
|
intersection() {
|
||||||
cylinder(h=5, r=25, $fn=200);
|
translate([0, 0, 0.5])
|
||||||
|
cylinder(h=4, r=25, $fn=200);
|
||||||
|
|
||||||
for (a = [45 : 90 : 335]) {
|
for (a = [45 : 90 : 335]) {
|
||||||
for (o = [-19.2, 19.2]) {
|
for (o = [-19.15, 19.15]) {
|
||||||
rotate([0, 0, a + o])
|
rotate([0, 0, a + o])
|
||||||
translate([0, 23.4, 0]) {
|
translate([0, 23.9, 0]) {
|
||||||
translate([0, 0, 1])
|
translate([0, 0, 1])
|
||||||
rotate([45, 0, 0])
|
rotate([45, 0, 0])
|
||||||
cylinder(h=3.5, d=1.1, center=true, $fn=50);
|
cylinder(h=3.5, d=1.1, center=true, $fn=50);
|
||||||
@@ -56,7 +86,7 @@ module spoolmount_twist() {
|
|||||||
for (a = [45 : 90 : 335]) {
|
for (a = [45 : 90 : 335]) {
|
||||||
for (o = [-40, -20, 20, 40]) {
|
for (o = [-40, -20, 20, 40]) {
|
||||||
rotate([0, 0, a + o])
|
rotate([0, 0, a + o])
|
||||||
translate([0, 30, 0])
|
translate([0, 30.5, 0])
|
||||||
scale([0.2, 1.0, 1.0])
|
scale([0.2, 1.0, 1.0])
|
||||||
rotate_extrude($fn=200)
|
rotate_extrude($fn=200)
|
||||||
translate([5, 0, 0])
|
translate([5, 0, 0])
|
||||||
@@ -68,6 +98,10 @@ module spoolmount_twist() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Inner rounded edge
|
||||||
|
translate([0, 0, 2.5])
|
||||||
|
torus(r_major=18, r_minor=2.5, xs=0.7, $fn=200);
|
||||||
}
|
}
|
||||||
|
|
||||||
spoolmount_twist();
|
spoolmount_twist();
|
||||||
Reference in New Issue
Block a user