Parameterize extension and fix > 45deg overhang
This commit is contained in:
27
extension.scad
Normal file
27
extension.scad
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
use <spoolmount_a.scad>
|
||||||
|
use <spoolmount_b.scad>
|
||||||
|
|
||||||
|
module extension(h=25) {
|
||||||
|
assert(h >= 23, "minimum extension height is 23");
|
||||||
|
|
||||||
|
// Bottom spoolmount
|
||||||
|
spoolmount_b();
|
||||||
|
|
||||||
|
// Top spoolmount
|
||||||
|
translate([0, 0, h - 5])
|
||||||
|
spoolmount_a();
|
||||||
|
|
||||||
|
// Center cylinder
|
||||||
|
cylinder(h=h, r=29, $fn=200);
|
||||||
|
|
||||||
|
// Expansion to support top spoolmount
|
||||||
|
translate([0, 0, h - 18])
|
||||||
|
rotate_extrude($fn=200)
|
||||||
|
polygon(points=[
|
||||||
|
[29, 0],
|
||||||
|
[42, 13],
|
||||||
|
[29, 13],
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
extension();
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
use <spoolmount_a.scad>
|
|
||||||
use <spoolmount_b.scad>
|
|
||||||
use <torus.scad>
|
|
||||||
|
|
||||||
translate([0, 0, 10])
|
|
||||||
spoolmount_a();
|
|
||||||
|
|
||||||
spoolmount_b();
|
|
||||||
|
|
||||||
translate([0, 0, 5])
|
|
||||||
difference() {
|
|
||||||
cylinder(h=5, r=42, $fn=500);
|
|
||||||
|
|
||||||
translate([0, 0, -1])
|
|
||||||
cylinder(h=7, r=25, $fn=500);
|
|
||||||
|
|
||||||
torus(r_major=33.25, r_minor=3.5, ys=1.4, $fn=500);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user