diff --git a/scad/contact_printer.scad b/scad/contact_printer.scad index 8a7cabd..c03c0f4 100644 --- a/scad/contact_printer.scad +++ b/scad/contact_printer.scad @@ -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(); }