3836 |
kaklik |
1 |
|
3852 |
kaklik |
2 |
pedestal_height = 13; |
3844 |
kaklik |
3 |
mount_hole = 3.5; |
3836 |
kaklik |
4 |
clear = 0.175; |
3852 |
kaklik |
5 |
nut_size = 6.6; |
3836 |
kaklik |
6 |
|
|
|
7 |
difference () { |
3852 |
kaklik |
8 |
// translate ([-1,-16,0]) |
3851 |
kaklik |
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 |
|
3852 |
kaklik |
15 |
translate ([4.5,4.5 + 76 ,0]) |
3844 |
kaklik |
16 |
rotate([0,0,90]) |
3852 |
kaklik |
17 |
cylinder (h = pedestal_height ,r= nut_size/2 + clear, $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); |
3852 |
kaklik |
21 |
translate ([4.5+41,4.5 + 76,0]) |
3844 |
kaklik |
22 |
rotate([0,0,90]) |
3852 |
kaklik |
23 |
cylinder (h = pedestal_height,r= nut_size/2 + clear, $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 |
|
3852 |
kaklik |
35 |
for (i = [0 : 6]) { |
3843 |
kaklik |
36 |
for (j = [0 : 7]) { |
3852 |
kaklik |
37 |
translate ([4.5 + j*10.16, 4.5 + i*10.16,0]) |
|
|
38 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
|
|
39 |
translate ([4.5 + j*10.16, 4.5 + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
3843 |
kaklik |
40 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
3852 |
kaklik |
41 |
translate ([4.5 + j*10.16, 4.5 + i*10.16, 6.3]) |
3844 |
kaklik |
42 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
3843 |
kaklik |
43 |
} |
|
|
44 |
} |
3836 |
kaklik |
45 |
|
3844 |
kaklik |
46 |
//////////////////////////////////// |
3852 |
kaklik |
47 |
translate ([0, 40 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector, SD card and eMMC. |
|
|
48 |
cube([48,35,5]); |
3836 |
kaklik |
49 |
|
3852 |
kaklik |
50 |
translate ([4,6, pedestal_height - 4.5]) // ODROIDs passive components hole. |
3836 |
kaklik |
51 |
cube([42,27,5]); |
3851 |
kaklik |
52 |
//////////////////////////////////////// |
|
|
53 |
|
3852 |
kaklik |
54 |
//// lightening central holes |
3851 |
kaklik |
55 |
|
3852 |
kaklik |
56 |
translate ([11,11, 0]) // ODROIDs passive components hole. |
|
|
57 |
cube([28,19,pedestal_height ]); |
3851 |
kaklik |
58 |
|
3852 |
kaklik |
59 |
translate ([11,42, 0]) // ODROIDs passive components hole. |
|
|
60 |
cube([28,27,pedestal_height ]); |
|
|
61 |
|
|
|
62 |
////// |
|
|
63 |
// MLAB electrical adapter part |
|
|
64 |
/////// |
|
|
65 |
difference () { |
|
|
66 |
translate ([8,74.9,pedestal_height - 11]) // Holes for MLAB's adapter connectors. |
|
|
67 |
cube([34,17.1,20]); |
|
|
68 |
translate ([25,85.78,0]) |
|
|
69 |
cylinder (h = 30, r= nut_size*0.7, $fn=20); |
|
|
70 |
} |
3851 |
kaklik |
71 |
|
3852 |
kaklik |
72 |
translate ([42,84,pedestal_height - 11]) // Holes for MLAB's adapter connectors. |
|
|
73 |
cube([34,8,20]); |
|
|
74 |
|
|
|
75 |
translate ([8,92,pedestal_height - 11]) // Holes for MLAB's adapter connectors. |
|
|
76 |
cube([34,8,20]); |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
translate ([-2,74.9, pedestal_height - 8.3]) // Hole for MLAB PCB |
|
|
80 |
cube([55,25.1,20]); |
|
|
81 |
|
|
|
82 |
translate ([25,85.78,0]) |
|
|
83 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
|
|
84 |
translate ([25,85.78,3.2]) |
|
|
85 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
translate ([4.68,85.78 + 10.16,0]) |
|
|
89 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
|
|
90 |
translate ([4.68,85.78 + 10.16,3.2]) |
|
|
91 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
92 |
|
|
|
93 |
translate ([45.32,85.78 + 10.16,0]) |
|
|
94 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
|
|
95 |
translate ([45.32,85.78 + 10.16,3.2]) |
|
|
96 |
cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); |
|
|
97 |
|
|
|
98 |
} |
|
|
99 |
|
|
|
100 |
|