diff --git a/servo_pusher/servo_enclosure.scad b/servo_pusher/servo_enclosure.scad index 39bb3a9..e469554 100644 --- a/servo_pusher/servo_enclosure.scad +++ b/servo_pusher/servo_enclosure.scad @@ -75,6 +75,8 @@ module lid_screws() { $fn = 50; translate([gear_distance/2,40/2-2,box_z-8]) cylinder(r=inner_screw,h=8); translate([gear_distance/2,-(40/2-2),box_z-8]) cylinder(r=inner_screw,h=8); + //translate([gear_distance/2,40/2-2,box_z-8]) cylinder(r=inner_screw*1.9,h=8); // shaft + //translate([gear_distance/2,-(40/2-2),box_z-8]) cylinder(r=inner_screw*2,h=8); // shaft } module box() { @@ -88,6 +90,25 @@ module lid_screws() { translate([20-7.5-16,-100,6+2.5+1.5+gear_thickness*2+1.5]) cube([12+0.8,173.2+0.4,5+0.4+3]); } + module lid() { + $fn = 50; + difference() { + union() { + translate([0,0,box_z-wall_thickness]) cylinder(r=40/2-0.2,h=wall_thickness); + translate([gear_distance,0,box_z-wall_thickness]) cylinder(r=40/2-0.2,h=wall_thickness); + translate([0,-(40/2)+0.2,box_z-wall_thickness]) cube([gear_distance,40-0.4,wall_thickness]); // mid + translate([0,0,box_z-wall_thickness*2]) difference() { + cylinder(r=7,h=wall_thickness); // bearing outer + cylinder(r=5+0.2,h=wall_thickness*2); // bearing inner + } + } + translate([gear_distance/2,40/2-2,box_z-1]) cylinder(r=inner_screw,h=3); + translate([gear_distance/2,-(40/2-2),box_z-1]) cylinder(r=inner_screw,h=3); + translate([-gear_distance/2-3,0,box_z-1]) cylinder(r=inner_screw,h=3); + translate([gear_distance*1.5+3,0,box_z-1]) cylinder(r=inner_screw,h=3); + } + } + difference() { union() { box(); @@ -101,4 +122,5 @@ difference() { } %translate([0,0,-4]) servo(); %rod(); +%lid(); //translate([20,0,box_z-10-wall_thickness]) cube([10,10,10]); \ No newline at end of file