servo_holes_x_left = 34.2; servo_holes_x_right = 14.2; servo_holes_x = servo_holes_x_left + servo_holes_x_right; servo_axis_x_offset = servo_holes_x / 2 - servo_holes_x_right; servo_body_x = 40.6; servo_body_y = 19.8; servo_body_border = 20; difference() { translate([-servo_body_x/2 - servo_body_border, -servo_body_x/2 - servo_body_border, 0]) cube([servo_body_x + servo_body_border * 2, servo_body_x + servo_body_border * 2, 2]); translate([-servo_body_x/2 - servo_axis_x_offset, -servo_body_y/2, ]) cube([servo_body_x, servo_body_y, 2]); } translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]); rotate([0, 0, 30]) translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]); rotate([0, 0, 60]) translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]); rotate([0, 0, 90]) translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]); rotate([0, 0, -30]) translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]); rotate([0, 0, -60]) translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]); rotate([0, 0, -90]) translate([15, -0.5, 2]) cube([servo_body_border, 1, 1]);