OpenSCAD_ServoArms
OpenSCAD_ServoArms copied to clipboard
Fixed screw hole
Previous code had the screw hole height hard-coded to 10mm. This fix utilizes the head_height
variable to create a hole for any shaft height.
Nice, but you can simplify the fix like that:
difference() {
translate([0, 0, 0.1]) {
cylinder(r = head_diameter / 2 + head_thickness, h = head_height + 1);
}
cylinder(r = head_screw_diameter / 2, h = head_height * 2);
servo_head(params);
}