Created project
This commit is contained in:
commit
307939c1b4
|
@ -0,0 +1,31 @@
|
||||||
|
SQUARE_INNER = 8;
|
||||||
|
time = 0;
|
||||||
|
|
||||||
|
module reel_holder (top = true) {
|
||||||
|
$fn = 60;
|
||||||
|
difference(){
|
||||||
|
translate([0, 0, -1.5]) cube([SQUARE_INNER, SQUARE_INNER, 21.5], center= true);
|
||||||
|
for (i = [0:4]) {
|
||||||
|
rotate([0, 0, (i * 90)]){
|
||||||
|
translate([(SQUARE_INNER / 2) + .4, (SQUARE_INNER / 2) + .4, 18.5 / 2]) rotate([0, -15, 45]) cube([2.5, SQUARE_INNER, SQUARE_INNER], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
difference () {
|
||||||
|
union() {
|
||||||
|
translate([0, 0, (18.5 / 2) + (3.5 / 2)]) cylinder(r = SQUARE_INNER / 2, h = 3.5, center = true);
|
||||||
|
translate([0, 0, (18.5 / 2) + (7.5 / 2)]) sphere(SQUARE_INNER / 2);
|
||||||
|
}
|
||||||
|
translate ([0, 0, (18.5 / 2) + 7.5]) cube([10, 10, 2], center = true);
|
||||||
|
}
|
||||||
|
difference () {
|
||||||
|
translate([0, 0, -(18.5/ 2) - (3 / 2) - 3]) cylinder(r = 16 /2, h = 3, center = true);
|
||||||
|
//translate([0, 0, -14.3]) cube([4, 4, 2], center = true); //notch
|
||||||
|
difference() {
|
||||||
|
translate([0, 0, -14.3]) cylinder(r = 8 / 2, h = 2, center = true);
|
||||||
|
translate([0, 6, -14.3]) cube([8, 8, 2], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//rotate([0, 0, time]) reel_holder();
|
Binary file not shown.
|
@ -0,0 +1,147 @@
|
||||||
|
include <daylight_spool_mount.scad>;
|
||||||
|
|
||||||
|
COUPLING_D = 37;
|
||||||
|
|
||||||
|
WASHER_D = 35.;
|
||||||
|
WASHER_H = 2.4;
|
||||||
|
|
||||||
|
MOTOR_SHAFT_D = 6;
|
||||||
|
MOTOR_SHAFT_H = 16;
|
||||||
|
MOTOR_SHAFT_HOBBLE = 1;
|
||||||
|
|
||||||
|
MOTOR_MOUNT_X = 32.5;
|
||||||
|
MOTOR_MOUNT_Y = 17.5;
|
||||||
|
|
||||||
|
//Geartisan Worm Gear Motor - JSX40-370
|
||||||
|
module motor () {
|
||||||
|
cube([46, 32, 21], center = true);
|
||||||
|
translate([(46 / 2) + (30 / 2), 0, 1.5]) rotate([0, 90, 0]) cylinder(r = 24 / 2, h = 30, center = true, $fn = 80);
|
||||||
|
translate([-(46 / 2) + 14.5, 0, -18.5]) rotate([0, 0, 90]) motor_shaft();
|
||||||
|
//pad
|
||||||
|
translate([-(46 / 2) + 14.5, 0, -(1 / 2) - 10.5]) cylinder(r = 13 / 2, h = 1, center = true, $fn = 60);
|
||||||
|
//mount pads
|
||||||
|
translate([-0.5, 0, -(1.5 / 2) - 10.5]) motor_mounts();
|
||||||
|
}
|
||||||
|
|
||||||
|
module motor_shaft () {
|
||||||
|
difference () {
|
||||||
|
cylinder(r = MOTOR_SHAFT_D / 2, h = MOTOR_SHAFT_H, center = true, $fn = 60);
|
||||||
|
translate([MOTOR_SHAFT_D - MOTOR_SHAFT_HOBBLE, 0, 0]) cube([MOTOR_SHAFT_D, MOTOR_SHAFT_D, MOTOR_SHAFT_H + 1], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module motor_mounts () {
|
||||||
|
Z = 1.5;
|
||||||
|
D = 7.5;
|
||||||
|
|
||||||
|
translate([MOTOR_MOUNT_X / 2, MOTOR_MOUNT_Y / 2, 0]) motor_mount_pad(D, Z);
|
||||||
|
translate([-MOTOR_MOUNT_X / 2, MOTOR_MOUNT_Y / 2, 0]) motor_mount_pad(D, Z);
|
||||||
|
translate([MOTOR_MOUNT_X / 2, -MOTOR_MOUNT_Y / 2, 0]) motor_mount_pad(D, Z);
|
||||||
|
translate([-MOTOR_MOUNT_X / 2, -MOTOR_MOUNT_Y / 2, 0]) motor_mount_pad(D, Z);
|
||||||
|
}
|
||||||
|
|
||||||
|
module motor_mount_pad (D, Z) {
|
||||||
|
difference () {
|
||||||
|
cylinder(r = D / 2, h = Z, center = true, $fn = 40);
|
||||||
|
//bolt void
|
||||||
|
cylinder(r = 2.5 / 2, h = Z + 1, center = true, $fn = 40);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
|
||||||
|
H = 3;
|
||||||
|
OFFSET = 12;
|
||||||
|
difference () {
|
||||||
|
union () {
|
||||||
|
cylinder(r = COUPLING_D / 2, h = MAGNET_H + H, center = true, $fn = 100);
|
||||||
|
translate([0, 0, -6]) cylinder(r = 12.5 / 2, h = 10, center = true, $fn = 60);
|
||||||
|
}
|
||||||
|
//motor shaft void
|
||||||
|
scale([1.1, 1.1, 2]) motor_shaft();
|
||||||
|
//magnet voids
|
||||||
|
for (i = [0 : MAGNETS - 1]) {
|
||||||
|
rotate([0, 0, i * (360 / MAGNETS)]) translate([0, OFFSET, H - MAGNET_H + 1.01]) cylinder(r = MAGNET_D / 2, h = MAGNET_H, center = true, $fn = 50);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module reel_attach (MAGNET_H = 2.5) {
|
||||||
|
H = 12;
|
||||||
|
difference () {
|
||||||
|
cylinder(r = 45 / 2, h = H, center = true, $fn = 100);
|
||||||
|
translate([0, 0, -(H / 2) + (MAGNET_H + 3) / 2]) cylinder(r = (COUPLING_D + 0.7) / 2, h = MAGNET_H + 3.01, center = true, $fn = 160);
|
||||||
|
translate([0, 0, -(H / 2) + (MAGNET_H + 3) + (WASHER_H / 2)]) cylinder(r = WASHER_D / 2, h = WASHER_H, center = true, $fn = 160);
|
||||||
|
}
|
||||||
|
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
|
||||||
|
translate([0, 0, 5]) cylinder(r = 3.25 / 2, h = Z + 10, center = true, $fn = 40);
|
||||||
|
translate([0, 0, 4.75]) cylinder(r = 6 / 2, h = 3.5, center = true, $fn = 40);
|
||||||
|
}
|
||||||
|
|
||||||
|
module mount_plate_void () {
|
||||||
|
cylinder(r = 4 / 2, h = 20, center = true, $fn = 40);
|
||||||
|
translate([0, 0, 0.5]) cylinder(r2 = 4/2, r1 = 6 / 2, h = 3, center = true, $fn = 40);
|
||||||
|
}
|
||||||
|
|
||||||
|
module mount_plate () {
|
||||||
|
Z = 1.5;
|
||||||
|
D = 7.5 + 0.7;
|
||||||
|
|
||||||
|
MOUNT_X = 40;
|
||||||
|
MOUNT_Y = 55;
|
||||||
|
|
||||||
|
CORNER = 4;
|
||||||
|
X_CORNER = (60 / 2) - (CORNER / 2);
|
||||||
|
Y_CORNER = (70 / 2) - (CORNER / 2);
|
||||||
|
|
||||||
|
difference () {
|
||||||
|
translate([0, 0, 3.26 - .5]) cube([60, 70, 7], center = true);
|
||||||
|
translate([MOTOR_MOUNT_X / 2, MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||||
|
translate([-MOTOR_MOUNT_X / 2, MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||||
|
translate([MOTOR_MOUNT_X / 2, -MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||||
|
translate([-MOTOR_MOUNT_X / 2, -MOTOR_MOUNT_Y / 2, 0]) motor_mount_void(D, Z);
|
||||||
|
translate([-(46 / 2) + 15, 0, 0]) cylinder(r = 13.9 / 2, h = 20, center = true, $fn = 60);
|
||||||
|
translate([MOUNT_X / 2, MOUNT_Y / 2, 0]) mount_plate_void();
|
||||||
|
translate([-MOUNT_X / 2, MOUNT_Y / 2, 0]) mount_plate_void();
|
||||||
|
translate([MOUNT_X / 2, -MOUNT_Y / 2, 0]) mount_plate_void();
|
||||||
|
translate([-MOUNT_X / 2,-MOUNT_Y / 2, 0]) mount_plate_void();
|
||||||
|
translate([-8 + 12.5, 0, 0]) cube([7, 17, Z], center = true);
|
||||||
|
translate([X_CORNER, Y_CORNER, 3.26 - .5]) cube([CORNER, CORNER, 8], center = true);
|
||||||
|
translate([-X_CORNER, Y_CORNER, 3.26 - .5]) cube([CORNER, CORNER, 8], center = true);
|
||||||
|
translate([X_CORNER, -Y_CORNER, 3.26 - .5]) cube([CORNER, CORNER, 8], center = true);
|
||||||
|
translate([-X_CORNER, -Y_CORNER, 3.26 - .5]) cube([CORNER, CORNER, 8], center = true);
|
||||||
|
}
|
||||||
|
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);
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
//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();
|
||||||
|
} else if (PART == "magnetic_coupling") {
|
||||||
|
magnetic_coupling();
|
||||||
|
} else if (PART == "mount_plate") {
|
||||||
|
mount_plate();
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue