Compare commits

..

No commits in common. "3e0132f91c5ae8876be29b8a81c15d43ab98854b" and "385baa8233c6cfc390a474353c5f1f455003861b" have entirely different histories.

4 changed files with 9 additions and 18 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
*.DS_Store

View File

@ -11,5 +11,3 @@ do
stl="./stl/takeup_${part}.stl" stl="./stl/takeup_${part}.stl"
openscad -o "${stl}" -D "PART=\"${part}\";" "./takeup.scad" openscad -o "${stl}" -D "PART=\"${part}\";" "./takeup.scad"
done done
openscad --preview -o debug.png -D "PART=\"preview\";" "./takeup.scad"

BIN
debug.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -65,7 +65,7 @@ module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
} }
} }
module slip_coupling (MAGNET_H = 2.5) { module slip_attach (MAGNET_H = 2.5) {
H = 12; H = 12;
difference () { difference () {
cylinder(r = 45 / 2, h = H, center = true, $fn = 100); cylinder(r = 45 / 2, h = H, center = true, $fn = 100);
@ -75,6 +75,11 @@ module slip_coupling (MAGNET_H = 2.5) {
translate([0, 0, 18.25]) reel_holder(); translate([0, 0, 18.25]) reel_holder();
} }
module takeup () {
magnetic_coupling();
translate([0, 0, 4]) reel_attach();
}
module motor_mount_void (D, Z) { module motor_mount_void (D, Z) {
cylinder(r = D / 2, h = Z, center = true, $fn = 40); cylinder(r = D / 2, h = Z, center = true, $fn = 40);
//bolt void //bolt void
@ -121,23 +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); translate([-X_CORNER + (CORNER / 2), -Y_CORNER + (CORNER / 2), 3.26 - .5]) cylinder(r = CORNER, h = 7, center = true, $fn = 40);
} }
module debug_assembled () { PART = "slip_coupling";
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") { if (PART == "slip_coupling") {
slip_coupling(); slip_attach();
} else if (PART == "magnetic_coupling") { } else if (PART == "magnetic_coupling") {
magnetic_coupling(); magnetic_coupling();
} else if (PART == "mount_plate") { } else if (PART == "mount_plate") {
mount_plate(); mount_plate();
} else if (PART == "debug") {
debug_assembled();
} }