Compare commits
4 Commits
9fa8ba3524
...
385baa8233
Author | SHA1 | Date |
---|---|---|
|
385baa8233 | |
|
ac5c36680b | |
|
604a1b5cf9 | |
|
2d84db008f |
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
PARTS=(
|
||||
"slip_coupling"
|
||||
"magnetic_coupling"
|
||||
"mount_plate"
|
||||
)
|
||||
|
||||
for part in "${PARTS[@]}"
|
||||
do
|
||||
stl="./stl/takeup_${part}.stl"
|
||||
openscad -o "${stl}" -D "PART=\"${part}\";" "./takeup.scad"
|
||||
done
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
16
takeup.scad
16
takeup.scad
|
@ -65,7 +65,7 @@ module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
|
|||
}
|
||||
}
|
||||
|
||||
module reel_attach (MAGNET_H = 2.5) {
|
||||
module slip_attach (MAGNET_H = 2.5) {
|
||||
H = 12;
|
||||
difference () {
|
||||
cylinder(r = 45 / 2, h = H, center = true, $fn = 100);
|
||||
|
@ -126,22 +126,12 @@ module mount_plate () {
|
|||
translate([-X_CORNER + (CORNER / 2), -Y_CORNER + (CORNER / 2), 3.26 - .5]) cylinder(r = CORNER, h = 7, center = true, $fn = 40);
|
||||
}
|
||||
|
||||
//difference () {
|
||||
//reel_attach();
|
||||
//translate([0, 25, 0]) cube([50, 50, 50], center = true);
|
||||
//}
|
||||
|
||||
//translate([(46 / 2) - 14.5, 0, 0]) rotate([180, 0, 0]) motor();
|
||||
//translate([0, 0, -3.5]) rotate([0, 0, -90]) magnetic_coupling();
|
||||
//translate([8, 0, 13]) mount_plate();
|
||||
//reel_attach();
|
||||
|
||||
PART = "slip_coupling";
|
||||
|
||||
if (PART == "slip_coupling") {
|
||||
reel_attach();
|
||||
slip_attach();
|
||||
} else if (PART == "magnetic_coupling") {
|
||||
magnetic_coupling();
|
||||
} else if (PART == "mount_plate") {
|
||||
mount_plate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue