Merge in 9 months of work on capper branch #71
|
@ -225,6 +225,30 @@ module animationMotorCap () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module driveCoupling () {
|
||||||
|
D = 15.5;
|
||||||
|
H = 41;
|
||||||
|
Divot = 2.75;
|
||||||
|
difference() {
|
||||||
|
union() {
|
||||||
|
cylinder(r = R(D), h = H, center = true, $fn = 80);
|
||||||
|
translate([0, 0, 2]) cylinder(r = R(BearingInnerDiameter), h = H, center = true, $fn = 80);
|
||||||
|
}
|
||||||
|
translate([0, 0, -(H/2)+6.5]) rotate([0, 0, 90]) scale([1.05, 1.05, 1]) NEMA17_motor_shaft();
|
||||||
|
//bottom M3
|
||||||
|
translate([-4.5, 0, -(H/2) + 4.9]) cube([2.5, 5.7, 12], center = true);
|
||||||
|
translate([-10, 0, -(H/2) + 9 - 3]) rotate([90, 0, 90]) cylinder(r = R(3.25), h = 20, center = true, $fn = 40);
|
||||||
|
//top M3
|
||||||
|
translate([-4.5, 0, (H/2)-4.9+2]) cube([2.5, 5.7, 10], center = true);
|
||||||
|
translate([-10, 0, (H/2)-9+5]) rotate([90, 0, 90]) cylinder(r = R(3.25), h = 20, center = true, $fn = 40);
|
||||||
|
translate([0, 0, (H/2)-3]) difference() {
|
||||||
|
cylinder(r = R(7.8), h = 10.2, center = true, $fn = 100);
|
||||||
|
translate([-7.8+2, 0, 0]) cube([7.8, 7.8, 10+1], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** DC Motor Design
|
** DC Motor Design
|
||||||
**/
|
**/
|
||||||
|
@ -465,21 +489,29 @@ translate([0, 0, 13.5]) driveCouplingDCConnector();
|
||||||
translate([0, 0, -12]) color("blue") driveCouplingDC();
|
translate([0, 0, -12]) color("blue") driveCouplingDC();
|
||||||
//translate([0, 0, 19.5]) animationMotorDCCap();
|
//translate([0, 0, 19.5]) animationMotorDCCap();
|
||||||
animationMotorDCBody();
|
animationMotorDCBody();
|
||||||
|
//translate([0, 0, -49.5]) color("green") rotate([0, 0, 90]) NEMA17();
|
||||||
|
translate([0, 0, -8])driveCoupling();
|
||||||
|
color("blue") translate([0, 0, 19.5]) difference() {
|
||||||
|
animationMotorCap();
|
||||||
|
translate([0, 50, 0]) cube([100, 100, 100], center = true);
|
||||||
|
}
|
||||||
*/
|
*/
|
||||||
//translate([0, 0, -49.5]) color("green") NEMA17();
|
|
||||||
|
|
||||||
//color("blue") translate([0, 0, 19.5]) animationMotorCap();
|
|
||||||
|
|
||||||
PART2 = "animation_motor";
|
PART2 = "drive_coupling";
|
||||||
|
|
||||||
if (PART2 == "drive_coupling_DC_connector") {
|
if (PART2 == "drive_coupling_DC_connector") {
|
||||||
driveCouplingDCConnector();
|
driveCouplingDCConnector();
|
||||||
} else if (PART2 == "drive_coupling_DC") {
|
} else if (PART2 == "drive_coupling_DC") {
|
||||||
driveCouplingDC();
|
driveCouplingDC();
|
||||||
} else if (PART2 == "animation_motor_DC_cap") {
|
} else if (PART2 == "animation_motor_DC_cap") {
|
||||||
animationMotorDCCap();
|
rotate([180, 0, 0]) animationMotorDCCap();
|
||||||
} else if (PART2 == "animation_motor_DC") {
|
} else if (PART2 == "animation_motor_DC") {
|
||||||
animationMotorDCBody();
|
animationMotorDCBody();
|
||||||
} else if (PART2 == "animation_motor") {
|
} else if (PART2 == "animation_motor") {
|
||||||
animationMotorBody();
|
animationMotorBody();
|
||||||
|
} else if (PART2 == "animation_motor_cap") {
|
||||||
|
rotate([180, 0, 0]) animationMotorCap();
|
||||||
|
} else if (PART2 == "drive_coupling") {
|
||||||
|
driveCoupling();
|
||||||
}
|
}
|
|
@ -77,6 +77,14 @@ module optoswitch() {
|
||||||
cylinder(r = diag / 2, h = h, center = true, $fn = 6);
|
cylinder(r = diag / 2, h = h, center = true, $fn = 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module NEMA17_motor_shaft (L = 22.75) {
|
||||||
|
//shaft
|
||||||
|
difference () {
|
||||||
|
cylinder(r = R(5), h = L, center = true, $fn = 30);
|
||||||
|
translate([0, 4.5, 4.7]) cube([5, 5, L+1], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//NEMA17 Stepper
|
//NEMA17 Stepper
|
||||||
module NEMA17 ( H = 33 ) { //alt = 47.5
|
module NEMA17 ( H = 33 ) { //alt = 47.5
|
||||||
difference () {
|
difference () {
|
||||||
|
@ -93,14 +101,7 @@ module NEMA17 ( H = 33 ) { //alt = 47.5
|
||||||
translate([0, 0, (H/2) + (1.9/2)]) {
|
translate([0, 0, (H/2) + (1.9/2)]) {
|
||||||
cylinder(r = R(22), h = 1.9, center = true, $fn = 100);
|
cylinder(r = R(22), h = 1.9, center = true, $fn = 100);
|
||||||
}
|
}
|
||||||
//shaft
|
translate([0, 0, (H/2) + (L/2)]) NEMA17_motor_shaft();
|
||||||
translate([0, 0, (H/2) + (22.75/2)]) {
|
|
||||||
difference () {
|
|
||||||
cylinder(r = R(5), h = 22.75, center = true, $fn = 30);
|
|
||||||
translate([0, 4.5, 4.7]) cube([5, 5, 22.75], center = true);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Geartisan Worm Gear Motor - JSX40-370
|
//Geartisan Worm Gear Motor - JSX40-370
|
||||||
|
|
Loading…
Reference in New Issue