2023-04-27 00:58:59 +00:00
|
|
|
|
2023-05-09 18:57:23 +00:00
|
|
|
//include <./lamp.scad>;
|
2023-05-11 01:54:02 +00:00
|
|
|
//include <./box_laser.scad>;
|
2023-04-25 07:11:58 +00:00
|
|
|
include <./common/common.scad>;
|
|
|
|
include <./common/motors.scad>;
|
|
|
|
include <./common/2020_tslot.scad>;
|
|
|
|
include <./takeup/takeup.scad>;
|
2023-04-27 00:58:59 +00:00
|
|
|
include <./sprocketed_roller/sprocketed_roller_var.scad>;
|
2018-07-14 14:29:43 +00:00
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
IN = 25.4;
|
|
|
|
|
2023-04-25 22:34:21 +00:00
|
|
|
16mmFilmStandard = 10.26;
|
|
|
|
16mmFilmFull = 16;
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
FrameX = 300;
|
|
|
|
FrameY = 175;
|
|
|
|
FrameZ = -16;
|
|
|
|
|
2023-05-11 01:54:02 +00:00
|
|
|
Sprockets = 18;
|
|
|
|
SprocketedRollerBevel = false;
|
|
|
|
SprocketedRollerModel = "gearbox_motor";
|
|
|
|
SprocketedRollerSetScrewTop = true;
|
|
|
|
SprocketedRollerSetScrewSide = true;
|
|
|
|
SprocketedRollerBolts = true;
|
2023-05-12 20:31:28 +00:00
|
|
|
SprocketedRollerAdjustBase = -3;
|
2023-05-11 01:54:02 +00:00
|
|
|
|
2023-04-23 22:18:48 +00:00
|
|
|
DaylightW = 92;
|
2023-04-05 20:39:42 +00:00
|
|
|
DaylightH = 18;
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
PanelX = 130;
|
2023-05-09 18:57:23 +00:00
|
|
|
PanelY = 100;
|
2023-04-23 22:18:48 +00:00
|
|
|
PanelZ = 5;
|
2023-05-09 18:57:23 +00:00
|
|
|
PanelYOffset = 10;
|
2023-04-23 22:18:48 +00:00
|
|
|
PanelDimensions = [PanelX, PanelY, PanelZ];
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
ReelX = 102.5;
|
|
|
|
ReelY = 50;
|
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
MotorZ = -16;
|
2023-05-19 23:50:34 +00:00
|
|
|
TakeupMotorZ = -40;
|
2023-05-12 20:31:28 +00:00
|
|
|
|
|
|
|
PictureTakeupMotorRotationZ = -70;
|
|
|
|
StockTakeupMotorRotationZ = 180-70;
|
|
|
|
|
|
|
|
TakeupPanelPictureX = 100;
|
|
|
|
TakeupPanelPictureY = 50;
|
|
|
|
|
2023-05-19 22:17:23 +00:00
|
|
|
TakeupPanelStockX = 100;
|
|
|
|
TakeupPanelStockY = -50;
|
|
|
|
|
2023-05-20 14:08:47 +00:00
|
|
|
FeedPanelPictureX = -100;
|
|
|
|
FeedPanelPictureY = 50;
|
|
|
|
|
|
|
|
FeedPanelStockX = -100;
|
|
|
|
FeedPanelStockY = -50;
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
TakeupPanelPictureOffsetX = ReelX - TakeupPanelPictureX;
|
2023-05-19 22:17:23 +00:00
|
|
|
TakeupPanelStockOffsetX = ReelX - TakeupPanelPictureX;
|
|
|
|
|
2023-05-20 14:08:47 +00:00
|
|
|
FeedPanelPictureOffsetX = -ReelX - FeedPanelPictureX;
|
|
|
|
FeedPanelStockOffsetX = -ReelX - FeedPanelPictureX;
|
|
|
|
|
2023-05-18 21:01:32 +00:00
|
|
|
TakeupPanelX = 95;
|
|
|
|
TakeupPanelY = 90;
|
|
|
|
TakeupCenterVoidD = 47;
|
|
|
|
TakeupCenterColumnD = 55;
|
2023-05-20 15:52:35 +00:00
|
|
|
TakeupCenterColumnZ = 23.25;
|
2023-04-05 20:39:42 +00:00
|
|
|
|
2023-05-19 02:55:23 +00:00
|
|
|
TakeupMotorMountX = 31;
|
|
|
|
TakeupMotorMountY = 31;
|
|
|
|
|
2023-05-20 15:52:35 +00:00
|
|
|
TakeupMotorPanelZ = -25;
|
2023-05-20 13:43:21 +00:00
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
RollerY = -20;
|
|
|
|
|
|
|
|
LampY = 20;
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
LampBoltX = 55;
|
|
|
|
LampBoltY = 30;
|
|
|
|
LampBoltH = 30;
|
|
|
|
|
2023-04-25 22:34:21 +00:00
|
|
|
LampWireX = 25;
|
|
|
|
LampWireY = 20;
|
|
|
|
|
|
|
|
LampGateX = 11;
|
|
|
|
|
|
|
|
IdleRollerPrintX = 55;
|
|
|
|
IdleRollerPrintY = 5;
|
|
|
|
IdleRollerNegativeX = 35;
|
|
|
|
IdleRollerNegativeY = -10;
|
2023-04-05 20:39:42 +00:00
|
|
|
|
2023-05-09 18:57:23 +00:00
|
|
|
IdleRollerBoltH = 30;
|
|
|
|
|
2023-05-12 00:27:47 +00:00
|
|
|
BearingOuterDiameter = 22.1 - .5;
|
|
|
|
BearingInnerDiameter = 8.05;
|
|
|
|
|
2023-05-19 23:50:34 +00:00
|
|
|
BearingY = (55/2) + 6 - 0.2;
|
2023-05-18 21:01:32 +00:00
|
|
|
BearingZ = -7;
|
|
|
|
BearingH = 9;
|
2018-07-14 14:29:43 +00:00
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
BearingRotateZ1 = 45;
|
|
|
|
BearingRotateZ2 = -45;
|
|
|
|
BearingRotateZ3 = 180+45;
|
|
|
|
BearingRotateZ4 = 180-45;
|
2018-07-14 14:29:43 +00:00
|
|
|
|
2023-05-18 21:34:29 +00:00
|
|
|
MotorMountX = (GearedMotorMountX + 0.1) / 2;
|
|
|
|
MotorMountY = (GearedMotorMountY + 0.1) / 2;
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
echo("Frame 2020 X (x2)", FrameX + 20);
|
|
|
|
echo("Frame 2020 Y (x4)", FrameY);
|
2023-04-05 20:39:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* DEBUG MODULES
|
|
|
|
**/
|
|
|
|
|
|
|
|
module daylight_spool (DEBUG = false) {
|
|
|
|
//inner starting d = 31.5 or 32
|
|
|
|
color([[255, 0, 0, 1]]) difference () {
|
2023-04-07 15:00:08 +00:00
|
|
|
cylinder(r = R(DaylightW), h = DaylightH - 0.1, center = true);
|
|
|
|
cylinder(r = R(DaylightW) + 1, h = DaylightH - 2, center = true);
|
2023-04-05 20:39:42 +00:00
|
|
|
cube([9, 9, 50], center=true);
|
|
|
|
translate([4.5, 4.5, 0]) {
|
|
|
|
rotate([0, 0, 45]) {
|
|
|
|
cube([3, 3, 50], center=true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
difference () {
|
2023-04-07 15:00:08 +00:00
|
|
|
cylinder(r = R(32), h = DaylightH - 0.2, center=true);
|
|
|
|
cylinder(r = R(32) - 1, h = DaylightH + 1, center=true);
|
2023-04-05 20:39:42 +00:00
|
|
|
translate([0, 32/2, 0]) {
|
|
|
|
cube([1.3, 10, 18], center=true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-11 00:21:12 +00:00
|
|
|
module four_hundred_foot_spool (pos = [0, 0, 0]) {
|
|
|
|
W = 175;
|
|
|
|
H = 18;
|
|
|
|
translate(pos) {
|
|
|
|
cylinder(r = R(W), h = H, center = true, $fn = 200);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
module centered_geared_motor (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
translate([8.25, 0, 0]) geared_motor();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
module bearing (pos = [0, 0, 0], width= 8, hole = true) {
|
|
|
|
fuzz = 0.1;
|
|
|
|
translate (pos) {
|
|
|
|
difference () {
|
|
|
|
cylinder(r = R(BearingOuterDiameter) + fuzz, h = width, center = true);
|
|
|
|
if (hole) {
|
|
|
|
cylinder(r = R(BearingInnerDiameter) - fuzz, h = width + 1, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
module debug () {
|
2023-04-07 15:00:08 +00:00
|
|
|
DaylightZ = 11.5;
|
2023-05-11 01:54:02 +00:00
|
|
|
PanelOffsetZ = -2.5;
|
2023-04-05 20:39:42 +00:00
|
|
|
//////
|
2023-05-11 01:54:02 +00:00
|
|
|
panel([0, 0, PanelOffsetZ]);
|
|
|
|
UseDaylight = true;
|
2023-04-25 07:11:58 +00:00
|
|
|
|
|
|
|
translate([0, RollerY, 18]) rotate([180, 0, 0]) difference () {
|
2023-05-20 13:43:21 +00:00
|
|
|
sprocketed_roller(sprockets = Sprockets, bevel = SprocketedRollerBevel, model = SprocketedRollerModel, set_screw_top = SprocketedRollerSetScrewTop, set_screw_side = SprocketedRollerSetScrewSide, bolts = SprocketedRollerBolts, adjust_base = SprocketedRollerAdjustBase);
|
2023-04-25 07:11:58 +00:00
|
|
|
//translate([50, 0, 0]) cube([100, 100, 100], center = true);
|
|
|
|
}
|
2023-05-08 17:37:50 +00:00
|
|
|
//lamp
|
2023-05-09 18:57:23 +00:00
|
|
|
//difference () {
|
2023-05-12 20:31:28 +00:00
|
|
|
lamp_dual([0, LampY, 0 + 1]);
|
2023-05-09 18:57:23 +00:00
|
|
|
// translate([45, LampY, 0 + 2]) cube([100, 100, 100], center = true);
|
|
|
|
//}
|
2023-05-12 20:31:28 +00:00
|
|
|
//color("green") lamp_cover([0, LampY + 15, 21]);
|
2023-04-25 07:11:58 +00:00
|
|
|
color("red") lamp_bolts_voids([0, LampY + 15, (LampBoltH/2) - 1.5 - 2.5]);
|
2023-04-25 22:34:21 +00:00
|
|
|
//gates
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([-5.35, LampY -7.1, 11 + 1 + .1]) rotate([0, 0, 7]) color("blue") picture_gate();
|
2023-04-25 07:11:58 +00:00
|
|
|
|
|
|
|
//idle rollers
|
2023-04-05 20:39:42 +00:00
|
|
|
idle_roller([ IdleRollerPrintX, IdleRollerPrintY, 3]);
|
|
|
|
idle_roller([-IdleRollerPrintX, IdleRollerPrintY, 3]);
|
|
|
|
idle_roller([ IdleRollerNegativeX, IdleRollerNegativeY, 3]);
|
|
|
|
idle_roller([-IdleRollerNegativeX, IdleRollerNegativeY, 3]);
|
2023-04-25 07:11:58 +00:00
|
|
|
//active roller
|
2023-05-09 18:57:23 +00:00
|
|
|
centered_geared_motor([0, RollerY, MotorZ], [180, 0, 90]);
|
2023-05-11 01:54:02 +00:00
|
|
|
|
|
|
|
if (UseDaylight) {
|
|
|
|
//feed
|
2023-05-20 14:08:47 +00:00
|
|
|
//translate([-ReelX, ReelY, DaylightZ]) daylight_spool();
|
|
|
|
//translate([-ReelX, -ReelY, DaylightZ]) daylight_spool();
|
2023-05-11 01:54:02 +00:00
|
|
|
//takeup
|
|
|
|
//translate([ReelX, ReelY, DaylightZ]) daylight_spool();
|
|
|
|
//translate([ReelX, -ReelY, DaylightZ]) daylight_spool();
|
|
|
|
} else {
|
|
|
|
four_hundred_foot_spool([-ReelX, ReelY, DaylightZ]);
|
|
|
|
four_hundred_foot_spool([-ReelX, -ReelY, DaylightZ]);
|
|
|
|
//takeup
|
|
|
|
four_hundred_foot_spool([ReelX, ReelY, DaylightZ]);
|
|
|
|
four_hundred_foot_spool([ReelX, -ReelY, DaylightZ]);
|
|
|
|
}
|
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
//takeup
|
2023-05-12 20:31:28 +00:00
|
|
|
takeup_panel_picture([TakeupPanelPictureX, TakeupPanelPictureY, PanelOffsetZ]);
|
2023-05-19 02:55:23 +00:00
|
|
|
takeup_panel_picture_motor_mount([TakeupPanelPictureX, TakeupPanelPictureY, PanelOffsetZ]);
|
2023-05-19 22:17:23 +00:00
|
|
|
|
|
|
|
takeup_panel_stock([TakeupPanelStockX, TakeupPanelStockY, PanelOffsetZ]);
|
|
|
|
takeup_panel_stock_motor_mount([TakeupPanelStockX, TakeupPanelStockY, PanelOffsetZ]);
|
2023-05-20 14:08:47 +00:00
|
|
|
|
|
|
|
//feed
|
|
|
|
|
|
|
|
feed_panel_picture([FeedPanelPictureX, FeedPanelPictureY, PanelOffsetZ]);
|
2023-05-21 20:12:56 +00:00
|
|
|
feed_panel_motor_mount([FeedPanelPictureX, FeedPanelPictureY, PanelOffsetZ]);
|
2023-05-19 22:17:23 +00:00
|
|
|
|
2023-05-21 18:59:23 +00:00
|
|
|
feed_panel_stock([FeedPanelStockX, FeedPanelStockY, PanelOffsetZ]);
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
difference() {
|
|
|
|
union(){
|
|
|
|
translate([ReelX, ReelY, -10]) magnetic_coupling();
|
|
|
|
translate([ReelX, ReelY, -8]) slip_coupling();
|
|
|
|
}
|
|
|
|
translate([ReelX + 50, ReelY, -10]) cube([100, 100, 100], center = true);
|
|
|
|
}
|
2023-05-21 20:12:56 +00:00
|
|
|
difference() {
|
|
|
|
union(){
|
|
|
|
translate([-ReelX, ReelY, -8]) slip_coupling();
|
|
|
|
}
|
|
|
|
translate([-ReelX + 50, ReelY, -10]) cube([100, 100, 100], center = true);
|
|
|
|
}
|
2023-05-19 02:55:23 +00:00
|
|
|
translate([ReelX, ReelY, PanelOffsetZ+1]) {
|
|
|
|
rotate([0, 0, BearingRotateZ1]) color("blue") bearing([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ2]) color("blue") bearing([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ3]) color("blue") bearing([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ4]) color("blue") bearing([0, BearingY, BearingZ]);
|
|
|
|
}
|
2023-05-11 01:54:02 +00:00
|
|
|
|
2023-05-20 13:28:57 +00:00
|
|
|
translate([ReelX, ReelY, PanelOffsetZ+1-5]) {
|
|
|
|
rotate([0, 0, BearingRotateZ1]) color("red") bearing_post_nut([0, BearingY, BearingZ-.75]);
|
|
|
|
rotate([0, 0, BearingRotateZ2]) color("red") bearing_post_nut([0, BearingY, BearingZ-.75]);
|
|
|
|
rotate([0, 0, BearingRotateZ3]) color("red") bearing_post_nut([0, BearingY, BearingZ-.75]);
|
|
|
|
rotate([0, 0, BearingRotateZ4]) color("red") bearing_post_nut([0, BearingY, BearingZ-.75]);
|
|
|
|
}
|
|
|
|
|
2023-05-20 13:43:21 +00:00
|
|
|
//centered_geared_motor([ReelX, ReelY, TakeupMotorZ], [180, 0, PictureTakeupMotorRotationZ]);
|
|
|
|
//centered_geared_motor([ReelX, -ReelY, TakeupMotorZ], [180, 0, StockTakeupMotorRotationZ]);
|
2023-04-07 15:00:08 +00:00
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
//translate([0, 0, DaylightZ]) color("red", 0.25) cube([250, 100, 16], center = true);
|
|
|
|
|
|
|
|
//2020 frame
|
2023-05-09 18:57:23 +00:00
|
|
|
//top/bottom
|
2023-05-07 22:52:26 +00:00
|
|
|
translate([0, (FrameY/2) + 10, FrameZ]) rotate([0, 90, 0]) 2020_tslot(FrameX + 20);
|
|
|
|
translate([0, -(FrameY/2) - 10, FrameZ]) rotate([0, 90, 0]) 2020_tslot(FrameX + 20);
|
2023-05-09 18:57:23 +00:00
|
|
|
//far sides
|
2023-05-07 22:52:26 +00:00
|
|
|
translate([FrameX/2, 0, FrameZ]) rotate([90, 0, 0]) 2020_tslot(FrameY);
|
|
|
|
translate([-FrameX/2, 0, FrameZ]) rotate([90, 0, 0]) 2020_tslot(FrameY);
|
2023-05-09 18:57:23 +00:00
|
|
|
//inner rails
|
|
|
|
translate([(PanelX/2) - 10, 0, FrameZ]) rotate([90, 0, 0]) 2020_tslot(FrameY);
|
|
|
|
translate([-(PanelX/2) + 10, 0, FrameZ]) rotate([90, 0, 0]) 2020_tslot(FrameY);
|
2023-05-19 22:32:15 +00:00
|
|
|
|
|
|
|
//feet
|
|
|
|
corner_foot([FrameX/2, (FrameY/2) + 10, -26], [0, 0, 180]);
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* CONTACT PRINTER MODULES
|
|
|
|
**/
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
module bearing_void (pos = [0, 0, 0], width= 8) {
|
2023-05-19 23:50:34 +00:00
|
|
|
fuzz = 0.5;
|
2023-05-12 00:27:47 +00:00
|
|
|
translate (pos) {
|
|
|
|
difference () {
|
|
|
|
cylinder(r = R(BearingOuterDiameter) + fuzz, h = width, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
module m3_panel_bolt_void (pos = [0, 0, 0], H = 10) {
|
|
|
|
translate(pos) {
|
|
|
|
cylinder(r = R(6), h = 5, center = true, $fn = 40);
|
|
|
|
translate([0, 0, -(H/2) - (5/2) + 0.01]) cylinder(r = R(3.25), h = H, center = true, $fn = 25);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_mount_panel (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) intersection() {
|
|
|
|
minimal_mount();
|
|
|
|
translate([10, 0, 0]) cube([50, 30, 10], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module panel_motor_mount_void (pos = [0, 0, 0]) {
|
|
|
|
H = 10;
|
|
|
|
D = 7.5 + 1.5;
|
|
|
|
translate(pos) {
|
|
|
|
cylinder(r = R(6), h = H, center = true, $fn = 40);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
module idle_roller (pos = [0, 0, 0]) {
|
2023-05-21 18:59:23 +00:00
|
|
|
H = 17.5;
|
|
|
|
InnerD = 5;
|
|
|
|
BaseD = 18;
|
|
|
|
|
|
|
|
$fn = 100;
|
|
|
|
Picture = 11;
|
2023-04-05 20:39:42 +00:00
|
|
|
translate(pos) {
|
2023-04-07 15:00:08 +00:00
|
|
|
difference () {
|
|
|
|
union () {
|
2023-05-21 18:59:23 +00:00
|
|
|
cylinder(r = R(BaseD), h = 1.5, center = true);
|
|
|
|
translate([0, 0, H]) cylinder(r = R(BaseD), h = 1.5, center = true);
|
|
|
|
translate([0, 0, H/2]) cylinder(r = R(12), h = H, center = true);
|
|
|
|
translate([0, 0, (H - Picture)/4]) cylinder(r1 = R(12), r2 = R(13.5), h = (H - Picture) / 2, center = true);
|
|
|
|
translate([0, 0, H - ((H - Picture)/4)]) cylinder(r1 = R(13.5), r2 = R(12), h = (H - Picture) / 2, center = true);
|
|
|
|
}
|
|
|
|
cylinder(r = R(InnerD), h = 40, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module idle_roller_half (pos = [0, 0, 0], rot = [0, 0, 0], flip = false) {
|
|
|
|
CutZ = -1.275;
|
|
|
|
translate(pos) rotate(rot) difference () {
|
|
|
|
idle_roller();
|
|
|
|
translate([0, 0, 25 + (1/2) + (17.5 / 2) + 2 + CutZ]) cube([50, 50, 50], center = true);
|
|
|
|
difference () {
|
|
|
|
translate([0, 24.9, 25 + (1/2) + (17.5 / 2) + CutZ]) cube([50, 50, 50], center = true);
|
|
|
|
if (flip) {
|
|
|
|
translate([4.25, -0.2, 25 + (1/2) + (17.5 / 2) + CutZ]) rotate([0, 0, 45]) cube([3, 3, 50], center = true);
|
|
|
|
} else {
|
|
|
|
translate([-4.25, -0.2, 25 + (1/2) + (17.5 / 2) + CutZ]) rotate([0, 0, 45]) cube([3, 3, 50], center = true);
|
2023-04-07 15:00:08 +00:00
|
|
|
}
|
2023-05-21 18:59:23 +00:00
|
|
|
}
|
|
|
|
if (flip) {
|
|
|
|
translate([-4.25, 0, 25 + (1/2) + (17.5 / 2) + CutZ]) rotate([0, 0, 45]) cube([3, 3, 50], center = true);
|
|
|
|
} else {
|
|
|
|
translate([4.25, 0, 25 + (1/2) + (17.5 / 2) + CutZ]) rotate([0, 0, 45]) cube([3, 3, 50], center = true);
|
2023-04-07 15:00:08 +00:00
|
|
|
}
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
module lamp_bolt_void (pos = [0, 0, 0], H = LampBoltH) {
|
|
|
|
translate(pos) {
|
|
|
|
cylinder(r = R(4.25), h = H, center = true);
|
|
|
|
translate([0, 0, -H/2]) m4_nut();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-09 18:57:23 +00:00
|
|
|
module idle_roller_bolt_void (pos = [0, 0, 0], H = IdleRollerBoltH) {
|
|
|
|
translate(pos) {
|
|
|
|
cylinder(r = R(4.25), h = H, center = true);
|
|
|
|
translate([0, 0, -H/2]) m4_nut();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
module lamp_bolts_voids (pos = [0, 0, 0], H = 10) {
|
|
|
|
X = LampBoltX/2;
|
|
|
|
Y = LampBoltY/2;
|
|
|
|
$fn = 30;
|
|
|
|
translate(pos) {
|
|
|
|
lamp_bolt_void([X, Y, 0]);
|
|
|
|
lamp_bolt_void([-X, Y, 0]);
|
|
|
|
lamp_bolt_void([X, -Y, 0]);
|
|
|
|
lamp_bolt_void([-X, -Y, 0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module lamp_post (pos = [0, 0, 0]) {
|
|
|
|
$fn = 40;
|
|
|
|
H = 20;
|
|
|
|
translate(pos) difference () {
|
|
|
|
cylinder(r = R(8), h = H, center = true);
|
|
|
|
cylinder(r = R(4.25), h = H + 1, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module lamp_posts (pos = [0, 0, 0], H = 10) {
|
|
|
|
X = LampBoltX/2;
|
|
|
|
Y = LampBoltY/2;
|
|
|
|
$fn = 30;
|
|
|
|
translate(pos) {
|
|
|
|
lamp_post([X, Y, 0]);
|
|
|
|
lamp_post([-X, Y, 0]);
|
|
|
|
lamp_post([X, -Y, 0]);
|
|
|
|
lamp_post([-X, -Y, 0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-25 22:34:21 +00:00
|
|
|
module lamp_gate_bracket (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
X = LampGateX;
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
difference () {
|
|
|
|
cube([X, 15, 18], center = true);
|
2023-05-08 17:37:50 +00:00
|
|
|
translate([0, 4, 1]) cube([X-4, 15, 18], center = true);
|
|
|
|
translate([0, -3, 1]) cube([X-7, 15, 18], center = true);
|
|
|
|
translate([0, -5.25, 0]) cube([X-4, 1.5, 18.01], center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module picture_gate_bracket (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
2023-05-09 18:57:23 +00:00
|
|
|
translate(pos) rotate(rot) difference() {
|
2023-04-25 22:34:21 +00:00
|
|
|
lamp_gate_bracket();
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([0, 0, 0]) cube([4, 20, 17], center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module sound_gate_bracket (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
LedD = 5;
|
|
|
|
LedZ = -6.5;
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
difference () {
|
|
|
|
lamp_gate_bracket();
|
|
|
|
translate([0, 2, LedZ]) rotate([0, 90, 90]) {
|
|
|
|
cylinder(r = R(LedD), h = 16, center = true, $fn = 40);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module gate_blank () {
|
|
|
|
X = LampGateX;
|
|
|
|
//front
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([0, -6.25, 0]) cube([X-7.2, 1.2, 19.25], center = true);
|
|
|
|
//middle
|
|
|
|
translate([0, -5.1, -0.5]) cube([X-4.2, 1.4, 19], center = true);
|
|
|
|
|
|
|
|
//top
|
|
|
|
translate([0, -5.9, 9]) cube([X-4.2, 3, 2], center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
}
|
|
|
|
//standard, super, full, sound
|
2023-05-08 17:37:50 +00:00
|
|
|
module picture_gate (pos = [0, 0, 0], rot = [0, 0, 0], Type = "full", Width = 2) {
|
2023-04-25 22:34:21 +00:00
|
|
|
X = LampGateX;
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
gate_blank();
|
|
|
|
}
|
|
|
|
if (Type == "standard") {
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([0, -6, -0.7]) cube([Width, 10, 16mmFilmStandard], center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
} else if (Type == "full") {
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([0, -6, -1.1]) cube([Width, 10, 16mmFilmFull], center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
} else if (Type == "super") {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
module lamp_dual (pos = [0, 0, 0]) {
|
2023-05-09 18:57:23 +00:00
|
|
|
Z = 10;
|
|
|
|
WallZ = Z;
|
|
|
|
GateZ = Z;
|
|
|
|
PostsZ = Z - 1;
|
2023-04-05 20:39:42 +00:00
|
|
|
translate(pos) {
|
2023-04-25 07:11:58 +00:00
|
|
|
intersection () {
|
|
|
|
difference () {
|
2023-05-09 18:57:23 +00:00
|
|
|
rounded_cube([70, 70, 2], d = 4, center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
translate([0, -45, 0]) cylinder(r = R(60), h = 4 + 1, center = true, $fn = 200);
|
2023-04-25 07:11:58 +00:00
|
|
|
lamp_bolts_voids([0, 15, -2]);
|
2023-04-25 22:34:21 +00:00
|
|
|
translate([LampWireX, LampWireY, 0]) cylinder(r = R(10), h = 10, center = true);
|
|
|
|
translate([-LampWireX, LampWireY, 0]) cylinder(r = R(10), h = 10, center = true);
|
2023-04-25 07:11:58 +00:00
|
|
|
}
|
2023-04-25 22:34:21 +00:00
|
|
|
translate([0, 45, 0]) cylinder(r = R(130), h = 4 + 1, center = true, $fn = 200);
|
|
|
|
}
|
|
|
|
//walls
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([0, 15, WallZ]) difference () {
|
2023-04-25 22:34:21 +00:00
|
|
|
rounded_cube([70, 40, 18], d = 4, center = true);
|
|
|
|
cube([70-6, 40-6, 18 + 1], center = true);
|
|
|
|
translate([0, -20, 0]) cube([20, 40-6, 18 + 1], center = true);
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|
2023-05-09 18:57:23 +00:00
|
|
|
lamp_posts([0, 15, PostsZ]);
|
2023-04-25 22:34:21 +00:00
|
|
|
//sound
|
|
|
|
difference () {
|
|
|
|
union () {
|
2023-05-09 18:57:23 +00:00
|
|
|
sound_gate_bracket([5.35, -7, GateZ], [0, 0, -7]);
|
|
|
|
picture_gate_bracket([-5.35, -7, GateZ], [0, 0, 7]);
|
2023-04-25 22:34:21 +00:00
|
|
|
}
|
|
|
|
translate([0, -53.5, 11]) cylinder(r = R(80), h = 18.01, center = true, $fn = 200);
|
|
|
|
}
|
|
|
|
//barrier
|
2023-05-12 20:31:28 +00:00
|
|
|
translate([0, 10.6+7, Z]) cube([5.5, 34, 18], center = true);
|
|
|
|
translate([0, 5, Z]) cube([3, 20, 18], center = true);
|
2023-04-25 22:34:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module lamp_cover (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) difference () {
|
|
|
|
union () {
|
|
|
|
rounded_cube([70, 40, 2], d = 4, center = true);
|
|
|
|
translate([5.35, -15-7, 0]) rotate([0, 0, -7]) cube([LampGateX, 15-6, 2], center = true);
|
|
|
|
translate([-5.35, -15-7, 0]) rotate([0, 0, 7]) cube([LampGateX, 15-6, 2], center = true);
|
|
|
|
translate([0, -15-7, 0])cube([4, 4, 2], center = true);
|
|
|
|
|
|
|
|
}
|
|
|
|
lamp_bolts_voids([0, 0, 0]);
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module panel (pos = [0, 0, 0]) {
|
2023-05-11 01:54:02 +00:00
|
|
|
BoltX = (PanelX-20)/2;
|
2023-05-09 18:57:23 +00:00
|
|
|
BoltY2 = (PanelY)/2;
|
|
|
|
|
|
|
|
BoltY1 = 30;
|
|
|
|
|
2023-05-10 16:31:46 +00:00
|
|
|
LampBoltsZ = (LampBoltH/2) - 1.5;
|
|
|
|
IdleRollerBoltsZ = (IdleRollerBoltH/2) - 1.5;
|
|
|
|
|
2023-05-09 18:57:23 +00:00
|
|
|
SprocketedRollerZ = -5;
|
|
|
|
|
2023-04-25 07:11:58 +00:00
|
|
|
color("green") translate (pos) difference() {
|
2023-05-09 18:57:23 +00:00
|
|
|
translate([0, PanelYOffset, 0]) cube(PanelDimensions, center = true);
|
2023-04-25 07:11:58 +00:00
|
|
|
|
|
|
|
//sprocketed roller
|
|
|
|
translate([0, RollerY, 0]) cylinder(r = R(15), h = PanelZ + 1, center = true, $fn = 60);
|
|
|
|
translate([0, -12.5, -4 + 2.5]) rotate([0, 0, 90]) {
|
|
|
|
panel_motor_mount_void([MotorMountX, MotorMountY, 0]);
|
|
|
|
panel_motor_mount_void([-MotorMountX, MotorMountY, 0]);
|
|
|
|
panel_motor_mount_void([MotorMountX, -MotorMountY, 0]);
|
|
|
|
panel_motor_mount_void([-MotorMountX, -MotorMountY, 0]);
|
|
|
|
}
|
|
|
|
|
|
|
|
//panel bolts
|
2023-05-09 18:57:23 +00:00
|
|
|
m3_panel_bolt_void([BoltX, -BoltY1, 3]);
|
|
|
|
m3_panel_bolt_void([-BoltX, -BoltY1, 3]);
|
|
|
|
m3_panel_bolt_void([BoltX, BoltY1, 3]);
|
|
|
|
m3_panel_bolt_void([-BoltX, BoltY1, 3]);
|
|
|
|
m3_panel_bolt_void([BoltX, BoltY2, 3]);
|
|
|
|
m3_panel_bolt_void([-BoltX, BoltY2, 3]);
|
|
|
|
|
|
|
|
//idle roller posts
|
2023-05-10 16:31:46 +00:00
|
|
|
idle_roller_bolt_void([ IdleRollerPrintX, IdleRollerPrintY, IdleRollerBoltsZ]);
|
|
|
|
idle_roller_bolt_void([-IdleRollerPrintX, IdleRollerPrintY, IdleRollerBoltsZ]);
|
|
|
|
idle_roller_bolt_void([ IdleRollerNegativeX, IdleRollerNegativeY, IdleRollerBoltsZ]);
|
|
|
|
idle_roller_bolt_void([-IdleRollerNegativeX, IdleRollerNegativeY, IdleRollerBoltsZ]);
|
2023-04-25 07:11:58 +00:00
|
|
|
|
|
|
|
//lamp
|
2023-05-10 16:31:46 +00:00
|
|
|
lamp_bolts_voids([0, LampY + 15, LampBoltsZ]);
|
2023-04-25 22:34:21 +00:00
|
|
|
//lamp wire voids
|
|
|
|
translate([0, LampY, 0]) {
|
|
|
|
translate([LampWireX, LampWireY, 0]) cylinder(r = R(10), h = 10, center = true);
|
|
|
|
translate([-LampWireX, LampWireY, 0]) cylinder(r = R(10), h = 10, center = true);
|
|
|
|
}
|
2023-04-25 07:11:58 +00:00
|
|
|
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|
2023-05-09 18:57:23 +00:00
|
|
|
takeup_mount_panel([0, RollerY, SprocketedRollerZ], [0, 0, 90]);
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|
|
|
|
|
2023-05-18 21:34:29 +00:00
|
|
|
module takeup_panel_motor_mount_bolt_void (pos = [0, 0, 0]) {
|
2023-05-19 23:50:34 +00:00
|
|
|
cap = 25;
|
2023-05-18 21:34:29 +00:00
|
|
|
bolt = 10;
|
|
|
|
translate(pos) {
|
2023-05-19 12:39:58 +00:00
|
|
|
translate([0, 0, -bolt / 2]) cylinder(r = R(3.5), h = bolt, center = true, $fn = 30);
|
2023-05-18 21:34:29 +00:00
|
|
|
translate([0, 0, cap / 2]) cylinder(r = R(6), h = cap, center = true, $fn = 30);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-18 21:01:32 +00:00
|
|
|
module takeup_panel_bearings_voids (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) {
|
|
|
|
rotate([0, 0, BearingRotateZ1]) bearing_void([0, BearingY, BearingZ], BearingH);
|
|
|
|
rotate([0, 0, BearingRotateZ2]) bearing_void([0, BearingY, BearingZ], BearingH);
|
|
|
|
rotate([0, 0, BearingRotateZ3]) bearing_void([0, BearingY, BearingZ], BearingH);
|
|
|
|
rotate([0, 0, BearingRotateZ4]) bearing_void([0, BearingY, BearingZ], BearingH);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-18 21:34:29 +00:00
|
|
|
module takeup_panel_bearings_post (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) {
|
2023-05-19 02:55:23 +00:00
|
|
|
cylinder(r = R(12), h = 0.5, center = true);
|
2023-05-19 23:50:34 +00:00
|
|
|
translate([0, 0, - (0.5 / 2) - (8 / 2)]) cylinder(r = R(BearingInnerDiameter) - 0.1, h = 8, center = true);
|
2023-05-18 21:34:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_bearings_posts (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) {
|
|
|
|
rotate([0, 0, BearingRotateZ1]) takeup_panel_bearings_post([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ2]) takeup_panel_bearings_post([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ3]) takeup_panel_bearings_post([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ4]) takeup_panel_bearings_post([0, BearingY, BearingZ]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-19 02:55:23 +00:00
|
|
|
module takeup_panel_bearings_bolt_void (pos = [0, 0, 0]) {
|
|
|
|
cap = 10;
|
|
|
|
bolt = 20;
|
|
|
|
translate(pos) {
|
|
|
|
translate([0, 0, cap / 2]) cylinder(r = R(6), h = cap, center = true);
|
|
|
|
translate([0, 0, -(bolt / 2) + 0.1]) cylinder(r = R(3.25), h = bolt, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_bearings_bolts_voids (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) {
|
|
|
|
rotate([0, 0, BearingRotateZ1]) takeup_panel_bearings_bolt_void([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ2]) takeup_panel_bearings_bolt_void([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ3]) takeup_panel_bearings_bolt_void([0, BearingY, BearingZ]);
|
|
|
|
rotate([0, 0, BearingRotateZ4]) takeup_panel_bearings_bolt_void([0, BearingY, BearingZ]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_motor_mount_m4_bolt_void (pos = [0, 0, 0], rot = [0, 0, 0], H = 20) {
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
cylinder(r = R(4.25), h = H, center = true);
|
|
|
|
translate([0, 0, H/2]) m4_nut();
|
2023-05-20 15:52:35 +00:00
|
|
|
translate([0, 0, -14.01]) cylinder(r = R(10), h = 25, center = true, $fn = 60);
|
2023-05-19 02:55:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-20 13:43:21 +00:00
|
|
|
module takeup_panel_motor_mount_m4_bolts_voids (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
2023-05-19 02:55:23 +00:00
|
|
|
takeup_panel_motor_mount_m4_bolt_void([TakeupMotorMountX, 0, 0], [0, 0, 30]);
|
|
|
|
takeup_panel_motor_mount_m4_bolt_void([-TakeupMotorMountX, 0, 0], [0, 0, 30]);
|
|
|
|
takeup_panel_motor_mount_m4_bolt_void([0, TakeupMotorMountY, 0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_motor_mount_pad (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
2023-05-20 15:52:35 +00:00
|
|
|
cylinder(r = R(10), h = 8, center = true, $fn = 60);
|
|
|
|
translate([5, 0, 0]) cube([10, 10, 8], center = true);
|
2023-05-19 02:55:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-20 13:43:21 +00:00
|
|
|
module takeup_panel_motor_mount_pads (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
2023-05-19 02:55:23 +00:00
|
|
|
takeup_panel_motor_mount_pad([TakeupMotorMountX, 0, 0], [0, 0, 180]);
|
|
|
|
takeup_panel_motor_mount_pad([-TakeupMotorMountX, 0, 0], [0, 0, 0]);
|
|
|
|
takeup_panel_motor_mount_pad([0, TakeupMotorMountY, 0], [0, 0, -90]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-11 01:54:02 +00:00
|
|
|
module takeup_panel_picture (pos = [0, 0, 0]) {
|
|
|
|
OtherX = 25;
|
|
|
|
OtherY = 45;
|
2023-05-18 21:01:32 +00:00
|
|
|
|
2023-05-12 20:31:28 +00:00
|
|
|
translate(pos) {
|
|
|
|
difference() {
|
|
|
|
union(){
|
2023-05-19 02:55:23 +00:00
|
|
|
translate([12.5, 12.5, 0]) cube([TakeupPanelX, TakeupPanelY, PanelZ], center = true);
|
|
|
|
translate([-(TakeupPanelX/2) + 2.5, (TakeupPanelY/2) - 10, 0]) cube([OtherX, OtherY, PanelZ], center = true);
|
2023-05-18 21:34:29 +00:00
|
|
|
takeup_panel_bearings_posts([TakeupPanelPictureOffsetX, 0, 4.25]);
|
2023-05-12 20:31:28 +00:00
|
|
|
}
|
2023-05-18 21:01:32 +00:00
|
|
|
translate([TakeupPanelPictureOffsetX, 0, 0]) cylinder(r = R(TakeupCenterVoidD), h = 50, center = true, $fn = 100);
|
2023-05-12 20:31:28 +00:00
|
|
|
//bearings
|
2023-05-18 21:34:29 +00:00
|
|
|
//takeup_panel_bearings_voids([TakeupPanelPictureOffsetX, 0, 0]);
|
2023-05-19 02:55:23 +00:00
|
|
|
takeup_panel_bearings_bolts_voids([TakeupPanelPictureOffsetX, 0, 5]);
|
|
|
|
//bolts
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelPictureOffsetX, (TakeupPanelY / 2) + 2.5, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelPictureOffsetX + (TakeupPanelX / 2), (TakeupPanelY / 2) + 2.5, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelPictureOffsetX - (TakeupPanelX / 2), (TakeupPanelY / 2) + 2.5, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelPictureOffsetX + (TakeupPanelX / 2), 2.5 - 20, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelPictureOffsetX - (TakeupPanelX / 2), 2.5 + 20, 0]);
|
2023-05-18 21:34:29 +00:00
|
|
|
|
2023-05-19 02:55:23 +00:00
|
|
|
takeup_panel_motor_mount_m4_bolts_voids([TakeupPanelPictureOffsetX, 0, -8.99]);
|
2023-05-12 20:31:28 +00:00
|
|
|
}
|
2023-05-18 21:01:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_picture_motor_mount (pos = [0, 0, 0] ) {
|
|
|
|
translate(pos) {
|
|
|
|
translate([TakeupPanelPictureOffsetX, 0, 0]) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([0, 0, -(PanelZ/2) - (TakeupCenterColumnZ/2)]) cylinder(r = R(TakeupCenterColumnD), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
|
|
|
translate([0, 0, -16]) cylinder(r = R(TakeupCenterColumnD), h = 3, center = true, $fn = 100);
|
2023-05-20 15:52:35 +00:00
|
|
|
takeup_panel_motor_mount_pads([0, 0, -6.5]);
|
2023-05-18 21:01:32 +00:00
|
|
|
}
|
2023-05-19 23:50:34 +00:00
|
|
|
translate([0, 0, -16]) cylinder(r = R(15), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
2023-05-20 15:52:35 +00:00
|
|
|
translate([0, 0, -8]) cylinder(r = R(TakeupCenterVoidD), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
2023-05-19 12:39:58 +00:00
|
|
|
|
2023-05-18 21:01:32 +00:00
|
|
|
//bearings
|
|
|
|
takeup_panel_bearings_voids();
|
2023-05-19 23:50:34 +00:00
|
|
|
translate([2.55, -7.1, -17-6]) rotate([0, 0, PictureTakeupMotorRotationZ]) {
|
2023-05-18 21:34:29 +00:00
|
|
|
takeup_panel_motor_mount_bolt_void([MotorMountX, MotorMountY, 0]);
|
|
|
|
takeup_panel_motor_mount_bolt_void([-MotorMountX, MotorMountY, 0]);
|
|
|
|
takeup_panel_motor_mount_bolt_void([MotorMountX, -MotorMountY, 0]);
|
|
|
|
takeup_panel_motor_mount_bolt_void([-MotorMountX, -MotorMountY, 0]);
|
|
|
|
}
|
2023-05-19 02:55:23 +00:00
|
|
|
takeup_panel_motor_mount_m4_bolts_voids([0, 0, -8.99]);
|
2023-05-19 23:50:34 +00:00
|
|
|
translate([0, 0, -29]) rotate([0, 0, PictureTakeupMotorRotationZ]){
|
2023-05-20 13:28:57 +00:00
|
|
|
translate([10, 0, 0]) cube([50, 27, 10], center = true);
|
2023-05-19 23:50:34 +00:00
|
|
|
}
|
2023-05-18 21:01:32 +00:00
|
|
|
}
|
2023-05-20 13:43:21 +00:00
|
|
|
takeup_mount_panel([0, 0, TakeupMotorPanelZ], [0, 0, PictureTakeupMotorRotationZ]);
|
2023-05-11 01:54:02 +00:00
|
|
|
}
|
2023-05-18 21:01:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_stock (pos = [0, 0, 0]) {
|
2023-05-19 22:17:23 +00:00
|
|
|
OtherX = 25;
|
|
|
|
OtherY = 45;
|
|
|
|
|
2023-05-18 21:01:32 +00:00
|
|
|
translate(pos) {
|
2023-05-19 22:17:23 +00:00
|
|
|
difference() {
|
|
|
|
union(){
|
2023-05-20 13:43:21 +00:00
|
|
|
translate([12.5, -12.5, 0]) cube([TakeupPanelX, TakeupPanelY, PanelZ], center = true);
|
|
|
|
translate([-(TakeupPanelX/2) + 2.5, -(TakeupPanelY/2) + 10, 0]) cube([OtherX, OtherY, PanelZ], center = true);
|
2023-05-19 22:17:23 +00:00
|
|
|
takeup_panel_bearings_posts([TakeupPanelStockOffsetX, 0, 4.25]);
|
|
|
|
}
|
|
|
|
translate([TakeupPanelStockOffsetX, 0, 0]) cylinder(r = R(TakeupCenterVoidD), h = 50, center = true, $fn = 100);
|
|
|
|
//bearings
|
|
|
|
//takeup_panel_bearings_voids([TakeupPanelStockOffsetX, 0, 0]);
|
|
|
|
takeup_panel_bearings_bolts_voids([TakeupPanelStockOffsetX, 0, 5]);
|
|
|
|
//bolts
|
2023-05-20 13:43:21 +00:00
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelStockOffsetX, -(TakeupPanelY / 2) - 2.5, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelStockOffsetX + (TakeupPanelX / 2), -(TakeupPanelY / 2) - 2.5, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelStockOffsetX - (TakeupPanelX / 2), -(TakeupPanelY / 2) - 2.5, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelStockOffsetX + (TakeupPanelX / 2), -2.5 + 20, 0]);
|
|
|
|
takeup_panel_bearings_bolt_void([TakeupPanelStockOffsetX - (TakeupPanelX / 2), -2.5 - 20, 0]);
|
2023-05-19 22:17:23 +00:00
|
|
|
|
2023-05-20 13:43:21 +00:00
|
|
|
takeup_panel_motor_mount_m4_bolts_voids([TakeupPanelStockOffsetX, 0, -8.99], [0, 0, 180]);
|
2023-05-19 22:17:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module takeup_panel_stock_motor_mount (pos = [0, 0, 0] ) {
|
|
|
|
translate(pos) {
|
|
|
|
translate([TakeupPanelPictureOffsetX, 0, 0]) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([0, 0, -(PanelZ/2) - (TakeupCenterColumnZ/2)]) cylinder(r = R(TakeupCenterColumnD), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
|
|
|
translate([0, 0, -16]) cylinder(r = R(TakeupCenterColumnD), h = 3, center = true, $fn = 100);
|
2023-05-20 15:52:35 +00:00
|
|
|
takeup_panel_motor_mount_pads([0, 0, -6.5], [0, 0, 180]);
|
2023-05-19 22:17:23 +00:00
|
|
|
}
|
2023-05-20 13:43:21 +00:00
|
|
|
translate([0, 0, -16]) cylinder(r = R(15), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
2023-05-20 15:52:35 +00:00
|
|
|
translate([0, 0, -8]) cylinder(r = R(TakeupCenterVoidD), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
2023-05-19 22:17:23 +00:00
|
|
|
//bearings
|
|
|
|
takeup_panel_bearings_voids();
|
2023-05-20 13:43:21 +00:00
|
|
|
translate([-2.55, 7.1, -17-6]) rotate([0, 0, StockTakeupMotorRotationZ]) {
|
2023-05-19 22:17:23 +00:00
|
|
|
takeup_panel_motor_mount_bolt_void([MotorMountX, MotorMountY, 0]);
|
|
|
|
takeup_panel_motor_mount_bolt_void([-MotorMountX, MotorMountY, 0]);
|
|
|
|
takeup_panel_motor_mount_bolt_void([MotorMountX, -MotorMountY, 0]);
|
|
|
|
takeup_panel_motor_mount_bolt_void([-MotorMountX, -MotorMountY, 0]);
|
|
|
|
}
|
2023-05-20 13:43:21 +00:00
|
|
|
takeup_panel_motor_mount_m4_bolts_voids([0, 0, -8.99], [0, 0, 180]);
|
|
|
|
translate([0, 0, -29]) rotate([0, 0, StockTakeupMotorRotationZ]){
|
|
|
|
translate([10, 0, 0]) cube([50, 27, 10], center = true);
|
|
|
|
}
|
2023-05-19 22:17:23 +00:00
|
|
|
}
|
2023-05-20 13:43:21 +00:00
|
|
|
takeup_mount_panel([0, 0, TakeupMotorPanelZ], [0, 0, StockTakeupMotorRotationZ]);
|
2023-05-19 22:17:23 +00:00
|
|
|
}
|
2023-05-11 01:54:02 +00:00
|
|
|
}
|
|
|
|
}
|
2023-05-21 20:12:56 +00:00
|
|
|
module feed_panel_motor_mount_pad (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
cylinder(r = R(10), h = 17, center = true, $fn = 60);
|
|
|
|
translate([5, 0, 0]) cube([10, 10, 17], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module feed_panel_motor_mount_pads (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
feed_panel_motor_mount_pad([TakeupMotorMountX, 0, 0], [0, 0, 180]);
|
|
|
|
feed_panel_motor_mount_pad([-TakeupMotorMountX, 0, 0], [0, 0, 0]);
|
|
|
|
feed_panel_motor_mount_pad([0, TakeupMotorMountY, 0], [0, 0, -90]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module feed_panel_motor_mount_m4_bolt_void (pos = [0, 0, 0], rot = [0, 0, 0], H = 30) {
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
cylinder(r = R(4.25), h = H, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module feed_panel_motor_mount_m4_bolts_voids (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
translate(pos) rotate(rot) {
|
|
|
|
feed_panel_motor_mount_m4_bolt_void([TakeupMotorMountX, 0, 0], [0, 0, 30]);
|
|
|
|
feed_panel_motor_mount_m4_bolt_void([-TakeupMotorMountX, 0, 0], [0, 0, 30]);
|
|
|
|
feed_panel_motor_mount_m4_bolt_void([0, TakeupMotorMountY, 0]);
|
|
|
|
}
|
|
|
|
}
|
2023-05-11 01:54:02 +00:00
|
|
|
|
2023-05-20 14:08:47 +00:00
|
|
|
module feed_panel_picture (pos = [0, 0, 0]) {
|
|
|
|
OtherX = 25;
|
|
|
|
OtherY = 45;
|
|
|
|
|
|
|
|
translate(pos) {
|
|
|
|
difference() {
|
|
|
|
union(){
|
|
|
|
translate([-12.5, 12.5, 0]) cube([TakeupPanelX, TakeupPanelY, PanelZ], center = true);
|
|
|
|
translate([(TakeupPanelX/2) - 2.5, (TakeupPanelY/2) - 10, 0]) cube([OtherX, OtherY, PanelZ], center = true);
|
|
|
|
}
|
|
|
|
translate([FeedPanelPictureOffsetX, 0, 0]) cylinder(r = R(TakeupCenterVoidD), h = 50, center = true, $fn = 100);
|
|
|
|
//bolts
|
|
|
|
//top center
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX, (TakeupPanelY / 2) + 2.5, 0]);
|
|
|
|
//top right
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX + (TakeupPanelX / 2), (TakeupPanelY / 2) + 2.5, 0]);
|
|
|
|
//top left
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX - (TakeupPanelX / 2), (TakeupPanelY / 2) + 2.5, 0]);
|
|
|
|
//bottom left
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX - (TakeupPanelX / 2), 2.5 - 20, 0]);
|
|
|
|
//center right
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX + (TakeupPanelX / 2), 2.5 + 20, 0]);
|
|
|
|
|
|
|
|
takeup_panel_motor_mount_m4_bolts_voids([FeedPanelPictureOffsetX, 0, -8.99]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-21 18:59:23 +00:00
|
|
|
module feed_panel_stock (pos = [0, 0, 0]) {
|
|
|
|
OtherX = 25;
|
|
|
|
OtherY = 45;
|
|
|
|
|
|
|
|
translate(pos) {
|
|
|
|
difference() {
|
|
|
|
union(){
|
|
|
|
translate([-12.5, -12.5, 0]) cube([TakeupPanelX, TakeupPanelY, PanelZ], center = true);
|
|
|
|
translate([(TakeupPanelX/2) - 2.5, -(TakeupPanelY/2) + 10, 0]) cube([OtherX, OtherY, PanelZ], center = true);
|
|
|
|
}
|
|
|
|
translate([FeedPanelPictureOffsetX, 0, 0]) cylinder(r = R(TakeupCenterVoidD), h = 50, center = true, $fn = 100);
|
|
|
|
//bolts
|
|
|
|
//bottom center
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX, -(TakeupPanelY / 2) - 2.5, 0]);
|
|
|
|
//bottom right
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX + (TakeupPanelX / 2), -(TakeupPanelY / 2) - 2.5, 0]);
|
|
|
|
//bottom left
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX - (TakeupPanelX / 2), -(TakeupPanelY / 2) - 2.5, 0]);
|
|
|
|
//bottom left
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX - (TakeupPanelX / 2), -2.5 + 20, 0]);
|
|
|
|
//center right
|
|
|
|
takeup_panel_bearings_bolt_void([FeedPanelPictureOffsetX + (TakeupPanelX / 2), -2.5 - 20, 0]);
|
|
|
|
|
|
|
|
takeup_panel_motor_mount_m4_bolts_voids([FeedPanelPictureOffsetX, 0, -8.99], [0, 0, 180]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-21 20:12:56 +00:00
|
|
|
module feed_panel_motor_mount (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) {
|
|
|
|
translate([FeedPanelPictureOffsetX, 0, 0]) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([0, 0, -(PanelZ/2) - (TakeupCenterColumnZ/2)]) cylinder(r = R(TakeupCenterColumnD), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
|
|
|
translate([0, 0, -16]) cylinder(r = R(TakeupCenterColumnD), h = 3, center = true, $fn = 100);
|
|
|
|
feed_panel_motor_mount_pads([0, 0, -11]);
|
|
|
|
}
|
|
|
|
translate([0, 0, -4.5]) cylinder(r = R(TakeupCenterVoidD), h = TakeupCenterColumnZ, center = true, $fn = 100);
|
|
|
|
feed_panel_motor_mount_m4_bolts_voids([0, 0, -8.99]);
|
|
|
|
}
|
|
|
|
translate([0, 0, -14]) cylinder(r = R(COUPLING_D), h = 5, center = true, $fn = 100);
|
|
|
|
translate([0, 0, -10]) magnetic_coupling();
|
|
|
|
}
|
|
|
|
//remove bottom
|
|
|
|
translate([0, 0, -TakeupCenterColumnZ - 7.875]) cylinder(r = R(TakeupCenterColumnD) + 1, h = TakeupCenterColumnZ, center = true, $fn = 100);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-20 02:49:31 +00:00
|
|
|
module bearing_post_nut (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) difference() {
|
2023-05-20 13:28:57 +00:00
|
|
|
cylinder(r = R(10), h = 5, center = true, $fn = 70);
|
2023-05-20 02:49:31 +00:00
|
|
|
cylinder(r = R(3.5), h = 5 + 1, center = true, $fn = 30);
|
|
|
|
translate([0, 0, -2]) m3_nut(2);
|
|
|
|
translate([0, 0, 3.25]) cylinder(r = R(BearingInnerDiameter) + 0.1, h = 5, center = true, $fn = 50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-19 22:32:15 +00:00
|
|
|
module corner_foot (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|
|
|
H = 30;
|
|
|
|
D1 = 16;
|
|
|
|
D2 = 26;
|
|
|
|
translate(pos) rotate(rot) {
|
2023-05-18 12:57:35 +00:00
|
|
|
difference () {
|
|
|
|
union() {
|
|
|
|
translate([0, 20, 0]) cube([20, 60, 6], center = true);
|
|
|
|
translate([20, 0, 0]) cube([60, 20, 6], center = true);
|
|
|
|
}
|
2023-05-19 22:32:15 +00:00
|
|
|
rotate([180, 0, 0]) m3_panel_bolt_void([20, 0, 3]);
|
|
|
|
rotate([180, 0, 0]) m3_panel_bolt_void([40, 0, 3]);
|
|
|
|
translate([0, 20, 0]) rotate([180, 0, 0]) m3_panel_bolt_void([0, 0, 3]);
|
|
|
|
translate([0, 40, 0]) rotate([180, 0, 0]) m3_panel_bolt_void([0, 0, 3]);
|
2023-05-18 12:57:35 +00:00
|
|
|
}
|
|
|
|
translate([0 , 0, -(6/2) - (H / 2)]) rotate([0, 0, 45]) cylinder(r1 = R(D1), r2 = R(D2), h = H, center = true, $fn = 4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-21 18:59:23 +00:00
|
|
|
module l289N_mount (pos = [0, 0, 0]) {
|
|
|
|
$fn = 60;
|
|
|
|
DISTANCE = 36.5;
|
|
|
|
H = 4;
|
|
|
|
THICKNESS = 3;
|
|
|
|
module stand () {
|
|
|
|
difference () {
|
|
|
|
cylinder(r1 = 4, r2 = 3, h = H, center = true);
|
|
|
|
cylinder(r = 1.5, h = H + 1, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
translate(pos) {
|
|
|
|
translate([0, 0, 0]) stand();
|
|
|
|
translate([DISTANCE, 0, 0]) stand();
|
|
|
|
translate([DISTANCE, DISTANCE, 0]) stand();
|
|
|
|
translate([0, DISTANCE, 0]) stand();
|
|
|
|
difference () {
|
|
|
|
translate([DISTANCE/2, DISTANCE/2, -3]) rounded_cube([DISTANCE + 8, DISTANCE + 8, THICKNESS], 8, center = true); //base
|
|
|
|
translate([DISTANCE/2, DISTANCE/2, -3]) rounded_cube([DISTANCE - 5, DISTANCE - 5, THICKNESS + 1], 10, center = true); //base
|
|
|
|
translate([0, 0, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
translate([DISTANCE, 0, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
translate([DISTANCE, DISTANCE, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
translate([0, DISTANCE, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-21 20:12:56 +00:00
|
|
|
PART = "feed_panel_motor_mount";
|
2023-04-24 01:57:30 +00:00
|
|
|
LIBRARY = true;
|
2023-04-05 20:39:42 +00:00
|
|
|
|
|
|
|
if (PART == "panel") {
|
2023-05-09 18:57:23 +00:00
|
|
|
rotate([180, 0, 0]) panel();
|
2023-05-12 20:31:28 +00:00
|
|
|
} else if (PART == "lamp_dual") {
|
|
|
|
lamp_dual();
|
2023-05-18 01:10:05 +00:00
|
|
|
} else if (PART == "takeup_panel_picture"){
|
|
|
|
takeup_panel_picture();
|
2023-05-19 02:55:23 +00:00
|
|
|
} else if (PART == "takeup_panel_picture_motor_mount") {
|
|
|
|
takeup_panel_picture_motor_mount();
|
2023-05-19 22:17:23 +00:00
|
|
|
} else if (PART == "takeup_panel_stock"){
|
|
|
|
takeup_panel_stock();
|
|
|
|
} else if (PART == "takeup_panel_stock_motor_mount") {
|
|
|
|
takeup_panel_stock_motor_mount();
|
2023-05-20 14:08:47 +00:00
|
|
|
} else if (PART == "feed_panel_picture") {
|
|
|
|
feed_panel_picture();
|
2023-05-21 18:59:23 +00:00
|
|
|
} else if (PART == "feed_panel_stock") {
|
|
|
|
feed_panel_stock();
|
2023-05-21 20:12:56 +00:00
|
|
|
} else if (PART == "feed_panel_motor_mount") {
|
|
|
|
feed_panel_motor_mount();
|
2023-05-09 18:57:23 +00:00
|
|
|
} else if (PART == "picture_gate") {
|
|
|
|
rotate([-90, 0, 0]) picture_gate(Type = "standard");
|
2023-04-24 01:57:30 +00:00
|
|
|
} else if (PART == "sprocketed_roller_reinforced") {
|
2023-05-15 01:00:20 +00:00
|
|
|
rotate([180, 0, 0]) sprocketed_roller(sprockets = Sprockets, bevel = SprocketedRollerBevel, model = SprocketedRollerModel, set_screw_top = SprocketedRollerSetScrewTop, set_screw_side = SprocketedRollerSetScrewSide, bolts = SprocketedRollerBolts, adjust_base = SprocketedRollerAdjustBase, reinforced = true);
|
2023-05-18 12:58:59 +00:00
|
|
|
} else if (PART == "magnetic_coupling") {
|
|
|
|
magnetic_coupling();
|
2023-05-18 21:01:32 +00:00
|
|
|
} else if (PART == "slip_coupling"){
|
|
|
|
slip_coupling();
|
2023-05-18 12:58:59 +00:00
|
|
|
} else if (PART == "corner_foot") {
|
|
|
|
rotate([180, 0, 0]) corner_foot();
|
2023-04-25 13:31:07 +00:00
|
|
|
} else if (PART == "2020_tslot_insert") {
|
|
|
|
2020_tslot_insert();
|
2023-05-20 02:49:31 +00:00
|
|
|
} else if (PART == "bearing_post_nut"){
|
|
|
|
bearing_post_nut();
|
2023-05-20 16:01:41 +00:00
|
|
|
} else if (PART == "daylight_spool_insert_reinforced_nut") {
|
|
|
|
daylight_spool_insert_reinforced_nut();
|
2023-05-20 20:51:16 +00:00
|
|
|
} else if (PART == "daylight_spool_insert_reinforced") {
|
|
|
|
daylight_spool_insert_reinforced();
|
2023-05-21 18:59:23 +00:00
|
|
|
} else if (PART == "idle_roller_half_a") {
|
|
|
|
idle_roller_half();
|
|
|
|
} else if (PART == "idle_roller_half_b") {
|
|
|
|
idle_roller_half(flip = true);
|
2023-04-05 20:39:42 +00:00
|
|
|
} else {
|
2023-05-20 13:28:57 +00:00
|
|
|
debug();
|
2023-04-05 20:39:42 +00:00
|
|
|
}
|