Compare commits
No commits in common. "385baa8233c6cfc390a474353c5f1f455003861b" and "9fa8ba3524c44afd1dbe222da51ee81fb011ea07" have entirely different histories.
385baa8233
...
9fa8ba3524
13
build.sh
13
build.sh
|
@ -1,13 +0,0 @@
|
|||
#!/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
14
takeup.scad
14
takeup.scad
|
@ -65,7 +65,7 @@ module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
|
|||
}
|
||||
}
|
||||
|
||||
module slip_attach (MAGNET_H = 2.5) {
|
||||
module reel_attach (MAGNET_H = 2.5) {
|
||||
H = 12;
|
||||
difference () {
|
||||
cylinder(r = 45 / 2, h = H, center = true, $fn = 100);
|
||||
|
@ -126,10 +126,20 @@ 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") {
|
||||
slip_attach();
|
||||
reel_attach();
|
||||
} else if (PART == "magnetic_coupling") {
|
||||
magnetic_coupling();
|
||||
} else if (PART == "mount_plate") {
|
||||
|
|
Loading…
Reference in New Issue