3836 |
kaklik |
1 |
|
|
|
2 |
pedestal_height = 12.39; |
3844 |
kaklik |
3 |
mount_hole = 3.5; |
3836 |
kaklik |
4 |
clear = 0.175; |
3844 |
kaklik |
5 |
nut_size = 6.5; |
3836 |
kaklik |
6 |
|
|
|
7 |
difference () { |
3851 |
kaklik |
8 |
translate ([-1,-16,0]) |
|
|
9 |
cube([50,100,pedestal_height]); |
3836 |
kaklik |
10 |
|
3844 |
kaklik |
11 |
//mount holes for ODROID U3 |
|
|
12 |
// translate ([3.5,3.5,5]) |
|
|
13 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
14 |
|
3851 |
kaklik |
15 |
translate ([3.5,3.4,0]) |
3844 |
kaklik |
16 |
rotate([0,0,90]) |
|
|
17 |
cylinder (h = 5 + clear,r= nut_size/2, $fn=6); |
3836 |
kaklik |
18 |
|
3844 |
kaklik |
19 |
// translate ([3.5+41,3.5,0]) |
|
|
20 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
3851 |
kaklik |
21 |
translate ([3.5+41,3.4,0]) |
3844 |
kaklik |
22 |
rotate([0,0,90]) |
|
|
23 |
cylinder (h = 5 + clear,r= nut_size/2, $fn=6); |
3836 |
kaklik |
24 |
|
|
|
25 |
|
3850 |
kaklik |
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. |
|
|
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]) |
|
|
30 |
// cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
31 |
|
3836 |
kaklik |
32 |
|
3850 |
kaklik |
33 |
// MLAB grid holes |
3836 |
kaklik |
34 |
|
3844 |
kaklik |
35 |
for (i = [1 : 7]) { |
3843 |
kaklik |
36 |
for (j = [0 : 7]) { |
|
|
37 |
translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16,0]) |
3844 |
kaklik |
38 |
cylinder (h = 2.5, r= (nut_size+clear)/2, $fn=6); |
3843 |
kaklik |
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 ) |
|
|
40 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
|
|
41 |
translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16, 6]) |
3844 |
kaklik |
42 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
3843 |
kaklik |
43 |
} |
|
|
44 |
} |
3836 |
kaklik |
45 |
|
3844 |
kaklik |
46 |
//////////////////////////////////// |
3850 |
kaklik |
47 |
translate ([1,9 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector |
3844 |
kaklik |
48 |
cube([50,35,5]); |
3836 |
kaklik |
49 |
|
3844 |
kaklik |
50 |
translate ([3,50, pedestal_height - 4.5]) |
3836 |
kaklik |
51 |
cube([42,27,5]); |
3851 |
kaklik |
52 |
//////////////////////////////////////// |
|
|
53 |
|
3836 |
kaklik |
54 |
|
3851 |
kaklik |
55 |
translate ([7,-2,1]) // Holes for MLAB's adapter connectors. |
|
|
56 |
cube([34,11.1,20]); |
3836 |
kaklik |
57 |
|
3851 |
kaklik |
58 |
translate ([-2,-2, pedestal_height - 7.9]) // Hole for MLAB PCB |
|
|
59 |
cube([55,11.1,20]); |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
translate ([3.5,3.5+76,0]) |
|
|
63 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
64 |
translate ([3.5+41,3.5+76,0]) |
|
|
65 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
66 |
|
3836 |
kaklik |
67 |
} |