diff --git a/servo_pusher/servo_enclosure.scad b/servo_pusher/servo_enclosure.scad index e469554..35d7db1 100644 --- a/servo_pusher/servo_enclosure.scad +++ b/servo_pusher/servo_enclosure.scad @@ -97,16 +97,17 @@ module lid_screws() { 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() { + translate([gear_distance,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 + cylinder(r=5/2+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); +// 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); } + translate([(20-7.5-16)-2,-(40/2)+2,box_z-wall_thickness-5]) cube([2,40-4,5+wall_thickness]); // rod guide } difference() { diff --git a/servo_pusher/servo_pusher.scad b/servo_pusher/servo_pusher.scad index 7ea3e70..bf482a4 100644 --- a/servo_pusher/servo_pusher.scad +++ b/servo_pusher/servo_pusher.scad @@ -205,7 +205,7 @@ translate([ 0, 0, thickness]) rotate([0,0, $t*360/n1]) color( difference() { translate([ 0, d12, thickness]) rotate([0,0,-($t+n2/2-0*n1+1/2)*360/n2]) color([0.75,1.00,0.75]) gear(mm_per_tooth,n2,thickness,hole_screw,twist,108); // servo gear translate([ 0, d12, (thickness)/2]) color([0.75,1.00,0.75]) cylinder(r=4.5/2, h=kopf_screw*2, center=true, $fn=100); -translate([ 0, d12, thickness*1.5]) rotate([0,0,-($t+n2/2-0*n1+1/2)*360/n2]) color([0.75,1.00,0.75]) gear(0.78,n_servo,thickness_servo*2,0,0,108,pressure_angle=40); // servo gear +translate([ 0, d12, thickness*1.5]) rotate([0,0,-($t+n2/2-0*n1+1/2)*360/n2]) color([0.75,1.00,0.75]) gear(0.78,n_servo,thickness_servo*2,0,0,108); // servo gear }; echo("pitch radius of servo bearing is: ", pitch_radius(0.79, n_servo));