3d90aff0 |
1 | // from schematic http://goo.gl/96RKol |
2 | collar_radius = 9.2 / 2 + 0.25; |
3 | nubbin_radius = 4.48 / 2; |
4 | screw_radius = 2.9 / 2 + 0.35; // a little bigger so screws fit through |
5 | |
6 | motor_height = 22.23; |
7 | |
8 | // http://freespace.virgin.net/matt.waite/resource/handy/screwsize.htm |
9 | _6_radius = 3.5 / 2 + 0.25; |
10 | |
11 | // measurements we made up: |
12 | mount_total_x = 38; |
13 | mount_total_y = mount_total_x; |
14 | mount_total_z = 3.175; // 3/16 in mm |
15 | |
16 | module motor_holes() { |
17 | collar_x_offset = 10.8; |
18 | nubbin_x_offset = 22.23; |
19 | // actual motor screw holes are 0.2 further than spec says |
20 | screw_x_offset = 30.81 + 0.2; |
21 | screw_y_offset = 17.44 / 2; |
22 | |
23 | translate([collar_x_offset, 0, 0]) { |
24 | cylinder(r = collar_radius, h = mount_total_z + 0.1); } |
25 | translate([nubbin_x_offset, 0, 0]) { |
26 | cylinder(r = nubbin_radius, h = mount_total_z + 0.1); } |
27 | translate([screw_x_offset, 0, 0]) { |
28 | translate([0, screw_y_offset, 0]) { |
29 | cylinder(r = screw_radius, h = mount_total_z + 0.1); } |
30 | translate([0, -screw_y_offset, 0]) { |
31 | cylinder(r = screw_radius, h = mount_total_z + 0.1); } } } |
32 | |
33 | module bracket_holes() { |
34 | translate([6.2, 0, 0]) |
35 | cylinder(r = _6_radius, h = mount_total_z + 0.1); |
36 | translate([mount_total_x - 6.2, 0, 0]) |
37 | cylinder(r = _6_radius, h = mount_total_z + 0.1); } |
38 | |
39 | module motor_mount() { |
40 | difference() { |
41 | cube([mount_total_x, mount_total_y, mount_total_z]); |
42 | translate([0, 6.2, -0.05]) { |
43 | bracket_holes(); } |
44 | translate([1, mount_total_y - motor_height / 2 - 3, -0.05]) { |
45 | motor_holes(); } } } |