Add JK takeup example that implements the takeup design

This commit is contained in:
Matt McWilliams 2022-10-11 19:40:04 -04:00
parent 58afa65d1a
commit 3e2b57f066
3 changed files with 45 additions and 3 deletions

View File

@ -0,0 +1,42 @@
include <../takeup.scad>;
PART="none";
ARM_LENGTH = 130;
ARM_WIDTH = 15;
ARM_HEIGHT = 7;
ARM_CUTOFF = 101.25;
ARMS_ANGLE = 40;
module projector_mount () {
//intersection () {}
$fn = 60;
intersection () {
rotate([0, 180, 0]) minimal_mount();
translate([-10, 0, 0]) rounded_cube([50, 30, 20], d = 12, center = true);
}
translate([-8.5, 0, 12]) rotate([0, 0, 180]) geared_motor();
//translate([0, 0, -34]) rotate([180, 0, 0]) daylight_spool_insert();
}
module projector_arm () {
difference () {
union () {
cube([ARM_LENGTH, ARM_WIDTH, ARM_HEIGHT], center = true);
translate([(ARM_CUTOFF/2) - 2.1, 0, 0]) scale([2, 1, 1]) rotate([0, 0, 45]) cube([30, 30, ARM_HEIGHT], center = true);
}
translate([ARM_CUTOFF, 0, 0]) cube([ARM_LENGTH, 52, ARM_HEIGHT + 1], center = true);
}
}
rotate([0, 0, ARMS_ANGLE]) {
translate([-ARM_LENGTH/2, 0, 2.75]) rotate([0, 0, 180]) projector_arm();
translate([-ARM_LENGTH, 0, 5.5]) rotate([0, 0, 180]) projector_mount();
}
rotate([0, 0, -ARMS_ANGLE]) {
translate([ARM_LENGTH/2, 0, 2.75]) projector_arm();
translate([ARM_LENGTH, 0, 5.5]) projector_mount();
}

View File

@ -13,8 +13,8 @@
* Pin 8 = motor B or coil B
**/
#define Apos 13
#define Aneg 12
#define Apos 9
#define Aneg 10
#define Aenable 10
void setup() {

View File

@ -3,7 +3,7 @@ include <daylight_spool_mount.scad>;
COUPLING_D = 37;
WASHER_D = 35.7;
WASHER_D = 35.7; //1 + 1/3 diameter?
WASHER_H = 2.4;
MOTOR_SHAFT_D = 6;