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