Line 3... |
Line 3... |
3 |
mount_hole = 3.5; |
3 |
mount_hole = 3.5; |
4 |
clear = 0.175; |
4 |
clear = 0.175; |
5 |
nut_size = 6.5; |
5 |
nut_size = 6.5; |
6 |
|
6 |
|
7 |
difference () { |
7 |
difference () { |
8 |
translate ([-1,0,0]) |
8 |
translate ([-1,-1,0]) |
9 |
cube([50,83,pedestal_height]); |
9 |
cube([50,85,pedestal_height]); |
10 |
|
10 |
|
11 |
//mount holes for ODROID U3 |
11 |
//mount holes for ODROID U3 |
12 |
// translate ([3.5,3.5,5]) |
12 |
// translate ([3.5,3.5,5]) |
13 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
13 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
14 |
|
14 |
|
Line 21... |
Line 21... |
21 |
translate ([3.5+41,3.5,0]) |
21 |
translate ([3.5+41,3.5,0]) |
22 |
rotate([0,0,90]) |
22 |
rotate([0,0,90]) |
23 |
cylinder (h = 5 + clear,r= nut_size/2, $fn=6); |
23 |
cylinder (h = 5 + clear,r= nut_size/2, $fn=6); |
24 |
|
24 |
|
25 |
|
25 |
|
- |
|
26 |
/// Two holes for other side of ODROID-U3 PCB. Code is not used because the position of holes is practically identical with position of MLAB holes in grid. |
26 |
translate ([3.5,3.5+76,0]) |
27 |
// translate ([3.5,3.5+76,0]) |
- |
|
28 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
- |
|
29 |
// translate ([3.5+41,3.5+76,0]) |
27 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
30 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
- |
|
31 |
|
28 |
|
32 |
|
- |
|
33 |
// MLAB grid holes |
29 |
|
34 |
|
30 |
translate ([3.5+41,3.5+76,0]) |
- |
|
31 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
- |
|
32 |
|
- |
|
33 |
for (i = [1 : 7]) { |
35 |
for (i = [1 : 7]) { |
34 |
for (j = [0 : 7]) { |
36 |
for (j = [0 : 7]) { |
35 |
translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16,0]) |
37 |
translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16,0]) |
36 |
cylinder (h = 2.5, r= (nut_size+clear)/2, $fn=6); |
38 |
cylinder (h = 2.5, r= (nut_size+clear)/2, $fn=6); |
37 |
translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16, 2.7]) // one solid layer for slicer (the holes will be pierced on demand ) |
39 |
translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16, 2.7]) // one solid layer for slicer (the holes will be pierced on demand ) |
Line 40... |
Line 42... |
40 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
42 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
41 |
} |
43 |
} |
42 |
} |
44 |
} |
43 |
|
45 |
|
44 |
|
46 |
|
45 |
translate ([7,0,0]) // Holes for MLAB adapter connectors. |
47 |
translate ([7,-2,0]) // Holes for MLAB's adapter connectors. |
46 |
cube([34,9.1,20]); |
48 |
cube([34,11.1,20]); |
47 |
|
49 |
|
48 |
translate ([-2,0, 4.7]) // Hole for MLAB PCB |
50 |
translate ([-2,-2, 4.7]) // Hole for MLAB PCB |
49 |
cube([55,9.1,20]); |
51 |
cube([55,11.1,20]); |
- |
|
52 |
|
- |
|
53 |
|
50 |
//////////////////////////////////// |
54 |
//////////////////////////////////// |
51 |
|
- |
|
52 |
translate ([1,9 , pedestal_height - 4.5]) // HOLE for jack connector |
55 |
translate ([1,9 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector |
53 |
cube([50,35,5]); |
56 |
cube([50,35,5]); |
54 |
|
57 |
|
55 |
translate ([3,50, pedestal_height - 4.5]) |
58 |
translate ([3,50, pedestal_height - 4.5]) |
56 |
cube([42,27,5]); |
59 |
cube([42,27,5]); |
57 |
|
60 |
|