Single mount format checkpoint

This commit is contained in:
Ian Gulliver
2024-07-19 22:05:23 -07:00
parent a18d6a4eb0
commit 6aa8a81bdd
8 changed files with 93 additions and 126 deletions

View File

@@ -1,15 +1,14 @@
use <spoolmount_a.scad> use <spoolmount.scad>
use <spoolmount_b.scad>
module extension_clip(h) { module extension_clip(h) {
assert(h >= 14, "minimum extension_clip height is 14"); assert(h >= 14, "minimum extension_clip height is 14");
// Bottom spoolmount // Bottom spoolmount
spoolmount_b(); spoolmount();
// Top spoolmount // Top spoolmount
translate([0, 0, h - 5]) translate([0, 0, h - 5])
spoolmount_a(); spoolmount();
translate([0, 0, 4]) { translate([0, 0, 4]) {
// Inner center cylinder // Inner center cylinder
@@ -41,4 +40,4 @@ module extension_clip(h) {
]); ]);
} }
extension_clip(h=25); extension_clip(h=25);

View File

@@ -1,10 +1,10 @@
use <spoolmount_b.scad> use <spoolmount.scad>
use <../util/torus.scad> use <../util/torus.scad>
module spool_cage(h=90, ptfe_offset=-10) { module spool_cage(h=90, ptfe_offset=-10) {
// TODO: Parameterize diameter // TODO: Parameterize diameter
spoolmount_b(); spoolmount();
// Radial arms out from spoolmount // Radial arms out from spoolmount
for (a = [0 : 45 : 315]) { for (a = [0 : 45 : 315]) {
@@ -79,4 +79,4 @@ module spool_cage(h=90, ptfe_offset=-10) {
torus(r_major=103, r_minor=2, $fn=500); torus(r_major=103, r_minor=2, $fn=500);
} }
spool_cage(); spool_cage();

View File

@@ -1,10 +1,10 @@
use <spoolmount_b.scad> use <spoolmount.scad>
use <../util/torus.scad> use <../util/torus.scad>
module spool_holder_clip(h) { module spool_holder_clip(h) {
assert(h >= 25, "minimum spool_holder_clip height is 25"); assert(h >= 25, "minimum spool_holder_clip height is 25");
spoolmount_b(); spoolmount();
// Fill in spoolmount // Fill in spoolmount
cylinder(h=5, r=26); cylinder(h=5, r=26);
@@ -42,4 +42,4 @@ module spool_holder_clip(h) {
torus(r_major=17, r_minor=2.5, xs=0.7, $fn=200); torus(r_major=17, r_minor=2.5, xs=0.7, $fn=200);
} }
spool_holder_clip(h=100); spool_holder_clip(h=100);

View File

@@ -1,62 +1,77 @@
use <../util/torus.scad> use <../util/torus.scad>
module spoolmount() { module spoolmount() {
// Ring
difference() { difference() {
// Cylinder body // Cylinder body
cylinder(h=5, r=42, $fn=200); cylinder(h=5, r=44, $fn=200);
// Central through hole // Central through hole
cylinder(h=5, r=25.1, $fn=200); cylinder(h=5, r=25.1, $fn=200);
// Bottom slightly wider cutout // Cutouts for rounded edges
translate([0, 0, -1]) for (z = [-1, 4.5]) {
cylinder(h=1.5, r=25.45, $fn=200); translate([0, 0, z])
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); // Holes
} for (a = [0 : 30 : 330]) {
rotate([0, 0, a])
for (a = [45 : 90 : 335]) { translate([34.75, 0, 0])
// Locking bumps rotate([90, 0, 90])
rotate([0, 0, a - 10]) linear_extrude(9.25, center=true)
rotate_extrude(angle=20, $fn=200)
translate([23.1, 0, 0])
polygon(points=[
[2.0, 0],
[2.0, 0.5],
[0, 2.5],
[2.0, 4.5],
[2.0, 5],
]);
// Rounded bump ends
for (o = [-10, 10]) {
rotate([0, 0, a + o])
translate([0, 30.1, 0])
scale([0.2, 1.0, 1.0])
rotate_extrude($fn=200)
translate([5, 0, 0])
polygon(points=[ polygon(points=[
[0, 0.5], [4, -1],
[2.0, 2.5], [4, 2],
[0, 4.5], [6, 4],
[6, 6],
[-6, 6],
[-6, 4],
[-4, 2],
[-4, -1],
]); ]);
} }
} }
// Rounded outer edge intersection() {
translate([0, 0, 2.5]) { cylinder(h=5, r=25.1, $fn=200);
torus(r_major=42, r_minor=2.5, xs=0.7, $fn=200);
for (a = [45 : 90 : 335]) {
// Locking bumps
rotate([0, 0, a - 10])
rotate_extrude(angle=20, $fn=200)
translate([23.1, 0, 0])
polygon(points=[
[2.0, 0],
[2.0, 0.5],
[0, 2.5],
[2.0, 4.5],
[2.0, 5],
]);
// Rounded bump ends
for (o = [-10, 10]) {
rotate([0, 0, a + o])
translate([0, 30.1, 0])
scale([0.2, 1.0, 1.0])
rotate_extrude($fn=200)
translate([5, 0, 0])
polygon(points=[
[0, 0.5],
[2.0, 2.5],
[0, 4.5],
]);
}
}
} }
// Rounded inner edges // Rounded outer edge
{ translate([0, 0, 2.5])
translate([0, 0, 0.5]) torus(r_major=44, r_minor=2.5, xs=0.7, $fn=200);
torus(r_major=25.45, r_minor=0.5, xs=0.7, $fn=200);
translate([0, 0, 4.5]) // Rounded inner edges
for (z = [0.5, 4.5]) {
translate([0, 0, z])
torus(r_major=25.45, r_minor=0.5, xs=0.7, $fn=200); torus(r_major=25.45, r_minor=0.5, xs=0.7, $fn=200);
} }
} }

View File

@@ -1,42 +0,0 @@
use <spoolmount.scad>
// SpoolMount fixed side (i.e. attached to printer or enclosure)
module spoolmount_a() {
spoolmount();
// Hooks
for (x = [-33, 33]) {
translate([x, 0, 5])
rotate([0, -90, 0])
linear_extrude(6, center=true) {
polygon(points=[
[0, 0],
[0, 4],
[2, 4],
[4, 6],
[5, 6],
[5, 2],
[3, 0],
[0, 0],
]);
translate([3, 2])
circle(r=2, $fn=50);
}
}
// Locking bump
translate([0, -30.8, 5])
rotate([0, -90, 0])
linear_extrude(6, center=true) {
polygon(points=[
[0, 0],
[1.6, -4],
[1.6, -5],
[0, -5],
[0, 0],
]);
}
}
spoolmount_a();

View File

@@ -1,29 +0,0 @@
use <spoolmount.scad>
// SpoolMount removable side (i.e. attached to spool holder or cage)
module spoolmount_b() {
difference() {
spoolmount();
// Holes
for (a = [0 : 30 : 330]) {
rotate([0, 0, a])
translate([29.75, 0, 0]) {
// Center through hole
translate([3.25, 0, 3])
cube([6.5, 8, 7], center=true);
// Diagonal sides
translate([3.25, 0, 4])
rotate([45, 0, 0])
cube([6.5, sqrt(72), sqrt(72)], center=true);
// Flat top cutout
translate([3.25, 0, 5])
cube([6.5, 12, 2], center=true);
}
}
}
}
spoolmount_b();

View File

@@ -0,0 +1,24 @@
module spoolmount_hook() {
linear_extrude(9) {
polygon(points=[
[0, 0],
[0, 12],
[1, 12],
[3, 10],
[7, 10],
[9, 12],
[10, 12],
[10, 8],
[8, 6],
[5, 6],
[5, 2],
[3, 2],
[1, 0],
]);
translate([8, 8])
circle(r=2, $fn=50);
}
}
spoolmount_hook();

View File

@@ -1,10 +1,10 @@
use <../generic/spoolmount_a.scad> use <../generic/spoolmount.scad>
use <../util/screw_hole_m3.scad> use <../util/screw_hole_m3.scad>
use <../util/torus.scad> use <../util/torus.scad>
module prusa_enclosure_mount(angle, h=10) { module prusa_enclosure_mount(angle, h=10) {
translate([0, 0, h - 5]) translate([0, 0, h - 5])
spoolmount_a(); spoolmount();
rotate([0, 0, angle]) rotate([0, 0, angle])
difference() { difference() {