Fix motor mount voids

This commit is contained in:
Matt McWilliams 2023-05-20 09:28:57 -04:00
parent d4212d68a4
commit 880992b2bf
1 changed files with 11 additions and 23 deletions

View File

@ -214,6 +214,13 @@ module debug () {
rotate([0, 0, BearingRotateZ4]) color("blue") bearing([0, BearingY, BearingZ]);
}
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]);
}
centered_geared_motor([ReelX, ReelY, TakeupMotorZ], [180, 0, PictureTakeupMotorRotationZ]);
centered_geared_motor([ReelX, -ReelY, TakeupMotorZ], [180, 0, StockTakeupMotorRotationZ]);
@ -622,7 +629,7 @@ module takeup_panel_picture_motor_mount (pos = [0, 0, 0] ) {
}
takeup_panel_motor_mount_m4_bolts_voids([0, 0, -8.99]);
translate([0, 0, -29]) rotate([0, 0, PictureTakeupMotorRotationZ]){
translate([5, 0, 0]) cube([50, 27, 10], center = true);
translate([10, 0, 0]) cube([50, 27, 10], center = true);
}
}
takeup_mount_panel([0, 0, -26], [0, 0, PictureTakeupMotorRotationZ]);
@ -688,7 +695,7 @@ module takeup_panel_stock_motor_mount (pos = [0, 0, 0] ) {
module bearing_post_nut (pos = [0, 0, 0]) {
translate(pos) difference() {
cylinder(r = R(11), h = 5, center = true, $fn = 70);
cylinder(r = R(10), h = 5, center = true, $fn = 70);
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);
@ -714,7 +721,7 @@ module corner_foot (pos = [0, 0, 0], rot = [0, 0, 0]) {
}
}
PART = "bearing_post_nut";
PART = "takeup_panel_picture_motor_mount";
LIBRARY = true;
if (PART == "panel") {
@ -744,24 +751,5 @@ if (PART == "panel") {
} else if (PART == "bearing_post_nut"){
bearing_post_nut();
} else {
//debug();
PanelOffsetZ = -2.5;
takeup_panel_picture([TakeupPanelPictureX, TakeupPanelPictureY, PanelOffsetZ]);
takeup_panel_picture_motor_mount([TakeupPanelPictureX, TakeupPanelPictureY, PanelOffsetZ]);
//centered_geared_motor([ReelX, ReelY, TakeupMotorZ], [180, 0, PictureTakeupMotorRotationZ]);
translate([ReelX, ReelY, PanelOffsetZ+1]) {
rotate([0, 0, BearingRotateZ1]) color("blue") bearing([0, BearingY, BearingZ-.75], 7.25);
rotate([0, 0, BearingRotateZ2]) color("blue") bearing([0, BearingY, BearingZ-.75], 7.25);
rotate([0, 0, BearingRotateZ3]) color("blue") bearing([0, BearingY, BearingZ-.75], 7.25);
rotate([0, 0, BearingRotateZ4]) color("blue") bearing([0, BearingY, BearingZ-.75], 7.25);
}
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]);
}
debug();
}