|
- servo_holes_x_left = 26.9;
- servo_holes_x_right = 12.1;
-
- 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 = 32.4;
- servo_body_y = 16.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]);
|