Compare commits
3 Commits
385baa8233
...
3e0132f91c
Author | SHA1 | Date |
---|---|---|
|
3e0132f91c | |
|
cab23f67cc | |
|
f41029e963 |
|
@ -0,0 +1 @@
|
|||
*.DS_Store
|
4
build.sh
4
build.sh
|
@ -10,4 +10,6 @@ for part in "${PARTS[@]}"
|
|||
do
|
||||
stl="./stl/takeup_${part}.stl"
|
||||
openscad -o "${stl}" -D "PART=\"${part}\";" "./takeup.scad"
|
||||
done
|
||||
done
|
||||
|
||||
openscad --preview -o debug.png -D "PART=\"preview\";" "./takeup.scad"
|
22
takeup.scad
22
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 slip_coupling (MAGNET_H = 2.5) {
|
||||
H = 12;
|
||||
difference () {
|
||||
cylinder(r = 45 / 2, h = H, center = true, $fn = 100);
|
||||
|
@ -75,11 +75,6 @@ module slip_attach (MAGNET_H = 2.5) {
|
|||
translate([0, 0, 18.25]) reel_holder();
|
||||
}
|
||||
|
||||
module takeup () {
|
||||
magnetic_coupling();
|
||||
translate([0, 0, 4]) reel_attach();
|
||||
}
|
||||
|
||||
module motor_mount_void (D, Z) {
|
||||
cylinder(r = D / 2, h = Z, center = true, $fn = 40);
|
||||
//bolt void
|
||||
|
@ -126,12 +121,23 @@ module mount_plate () {
|
|||
translate([-X_CORNER + (CORNER / 2), -Y_CORNER + (CORNER / 2), 3.26 - .5]) cylinder(r = CORNER, h = 7, center = true, $fn = 40);
|
||||
}
|
||||
|
||||
PART = "slip_coupling";
|
||||
module debug_assembled () {
|
||||
translate([(46 / 2) - 14.5, 0, 0]) rotate([180, 0, 0]) motor();
|
||||
color("blue") translate([0, 0, 23]) rotate([0, 0, -90]) magnetic_coupling();
|
||||
color("green") translate([8, 0, 11]) mount_plate();
|
||||
translate([0, 0, 26.5]) slip_coupling();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
PART = "debug";
|
||||
|
||||
if (PART == "slip_coupling") {
|
||||
slip_attach();
|
||||
slip_coupling();
|
||||
} else if (PART == "magnetic_coupling") {
|
||||
magnetic_coupling();
|
||||
} else if (PART == "mount_plate") {
|
||||
mount_plate();
|
||||
} else if (PART == "debug") {
|
||||
debug_assembled();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue