1 |
use <./../../../../../Library/Graphics/MLAB_logo.scad> |
1 |
use <./../../../../../Library/Graphics/MLAB_logo.scad> |
2 |
|
2 |
|
3 |
pedestal_height = 13; // designed for use the MLAB standard 12mm screws. |
3 |
pedestal_height = 13; // designed for use the MLAB standard 12mm screws. |
4 |
mount_hole = 3.5; |
4 |
mount_hole = 3.5; |
5 |
clear = 0.175; |
5 |
clear = 0.175; |
6 |
nut_size = 6.6; |
6 |
nut_size = 6.6; |
7 |
|
7 |
|
8 |
MLAB_grid_xoffset = 3.6; |
8 |
MLAB_grid_xoffset = 3.6; |
9 |
MLAB_grid_yoffset = 1.5; |
9 |
MLAB_grid_yoffset = 1.5; |
10 |
|
10 |
|
11 |
difference () { |
11 |
difference () { |
12 |
// translate ([-1,-16,0]) |
12 |
// translate ([-1,-16,0]) |
13 |
cube([58,87,pedestal_height]); |
13 |
cube([58,87,pedestal_height]); |
14 |
|
14 |
|
15 |
//mount holes for ODROID |
15 |
//mount holes for ODROID |
16 |
|
16 |
|
17 |
translate ([4.5, 4.5,0]) |
17 |
translate ([4.5, 4.5,0]) |
18 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
18 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
19 |
translate ([4.5, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
19 |
translate ([4.5, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
20 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
20 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
21 |
|
21 |
|
22 |
translate ([4.5 + 49, 4.5,0]) |
22 |
translate ([4.5 + 49, 4.5,0]) |
23 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
23 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
24 |
translate ([4.5 + 49, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
24 |
translate ([4.5 + 49, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
25 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
25 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
26 |
|
26 |
|
27 |
translate ([4.5, 4.5 + 58,0]) |
27 |
translate ([4.5, 4.5 + 58,0]) |
28 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
28 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
29 |
translate ([4.5, 4.5 + 58, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
29 |
translate ([4.5, 4.5 + 58, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
30 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
30 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
31 |
|
31 |
|
32 |
translate ([4.5 + 49, 4.5 + 58,0]) |
32 |
translate ([4.5 + 49, 4.5 + 58,0]) |
33 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
33 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
34 |
translate ([4.5 + 49, 4.5 + 58, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
34 |
translate ([4.5 + 49, 4.5 + 58, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
35 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
35 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
36 |
|
36 |
|
37 |
//////////////////////////////////// |
37 |
//////////////////////////////////// |
38 |
translate ([1, 66 , pedestal_height - 4.5]) // HOLE for ODROD's USB and Ethernet connectors |
38 |
translate ([1, 66 , pedestal_height - 4.5]) // HOLE for ODROD's USB and Ethernet connectors |
39 |
cube([54,15.5,5]); |
39 |
cube([54,15.5,5]); |
40 |
|
40 |
|
41 |
translate ([15, 8 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components |
41 |
translate ([15, 8 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components |
42 |
cube([41,50,5]); |
42 |
cube([41,50,5]); |
43 |
|
43 |
|
44 |
translate ([21, 1.5 , pedestal_height - 2]) // HOLE for ODROD's Passive components |
44 |
translate ([21, 1.5 , pedestal_height - 2]) // HOLE for ODROD's Passive components |
45 |
cube([7,10,5]); |
45 |
cube([7,10,5]); |
46 |
|
46 |
|
47 |
translate ([51.5, 19.5 , pedestal_height - 2]) // HOLE for ODROD's power header |
47 |
translate ([51.5, 19.5 , pedestal_height - 2]) // HOLE for ODROD's power header |
48 |
cube([6,3,5]); |
48 |
cube([6,3,5]); |
49 |
|
49 |
|
50 |
translate ([5, 27.5 , pedestal_height - 3.5]) // eMMc Card |
50 |
translate ([5, 27.5 , pedestal_height - 3.5]) // eMMc Card |
51 |
cube([14,20,5]); |
51 |
cube([14,20,5]); |
52 |
|
52 |
|
53 |
translate ([0, 46.5 , pedestal_height - 3.5]) // SD Card |
53 |
translate ([0, 46.5 , pedestal_height - 3.5]) // SD Card |
54 |
cube([20,12.5,5]); |
54 |
cube([20,12.5,5]); |
55 |
|
55 |
|
56 |
translate ([2, 8 , pedestal_height - 1.7]) // IO connector |
56 |
translate ([2, 8 , pedestal_height - 1.7]) // IO connector |
57 |
cube([4.5,50.5,5]); |
57 |
cube([4.5,50.5,5]); |
58 |
|
58 |
|
59 |
translate ([30, 3.5, pedestal_height - 3]) // ODROID serial connector |
59 |
translate ([30, 3.5, pedestal_height - 3]) // ODROID serial connector |
60 |
cube([10,2,5]); |
60 |
cube([10,2,5]); |
61 |
|
61 |
|
62 |
rotate([30,0,0]) |
62 |
rotate([30,0,0]) |
63 |
translate ([15,5.8, -3.0]) // ODROID eMMC adapter pocket |
63 |
translate ([15,5.8, -3.0]) // ODROID eMMC adapter pocket |
64 |
cube([25,2,15]); |
64 |
cube([25,2,15]); |
65 |
|
65 |
|
66 |
translate ([8.8,3.5, pedestal_height - 3]) // ODROID IR receiver |
66 |
translate ([8.8,3.5, pedestal_height - 3]) // ODROID IR receiver |
67 |
cube([7.5,2,5]); |
67 |
cube([7.5,2,5]); |
68 |
|
68 |
|
69 |
translate ([19,10, pedestal_height - 5]) // Heatsink mount holes |
69 |
translate ([19,10, pedestal_height - 5]) // Heatsink mount holes |
70 |
cylinder (h = 6, r= 3, $fn=10); |
70 |
cylinder (h = 6, r= 3, $fn=10); |
71 |
translate ([39,61.6, pedestal_height - 5]) // Heatsink mount holes |
71 |
translate ([39,61.6, pedestal_height - 5]) // Heatsink mount holes |
72 |
cylinder (h = 6, r= 3, $fn=10); |
72 |
cylinder (h = 6, r= 3, $fn=10); |
73 |
|
73 |
|
74 |
|
74 |
|
75 |
//////////////////////////////////////// |
75 |
//////////////////////////////////////// |
76 |
|
76 |
|
77 |
// MLAB grid holes |
77 |
// MLAB grid holes |
78 |
|
78 |
|
79 |
for (j = [0 : 5], i = [1 : 5]) { |
79 |
for (j = [0 : 5], i = [1 : 5]) { |
80 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0]) |
80 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0]) |
81 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
81 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
82 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
82 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
83 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
83 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
84 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0]) |
84 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0]) |
85 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
85 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
86 |
} |
86 |
} |
87 |
|
87 |
|
88 |
for (j = [0 : 5], i = [7 : 8]) { |
88 |
for (j = [0 : 5], i = [7 : 8]) { |
89 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0]) |
89 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0]) |
90 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
90 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
91 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
91 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
92 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
92 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
93 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0]) |
93 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0]) |
94 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
94 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
95 |
} |
95 |
} |
96 |
|
96 |
|
97 |
|
97 |
|
98 |
|
98 |
|
99 |
|
99 |
|
100 |
//// lightening central holes |
100 |
//// lightening central holes |
101 |
|
101 |
|
102 |
translate ([9, 8.5 , 0]) |
102 |
translate ([9, 8.5 , 0]) |
103 |
cube([40,70,pedestal_height ]); |
103 |
cube([40,70,pedestal_height ]); |
104 |
|
104 |
|
105 |
|
105 |
|
106 |
// MLAB logo on the side |
106 |
// MLAB logo on the side |
107 |
union (){ |
107 |
union (){ |
108 |
translate ([29,0.5, 6.5]) // ODROIDs passive components hole. |
108 |
translate ([29,0.5, 6.5]) // ODROIDs passive components hole. |
109 |
rotate ([90,0,0]) |
109 |
rotate ([90,0,0]) |
110 |
scale(v = [0.4, 0.4, 0.4]) |
110 |
scale(v = [0.4, 0.4, 0.4]) |
111 |
MLAB_logo_long(); |
111 |
MLAB_logo_long(); |
112 |
} |
112 |
} |
- |
|
113 |
|
- |
|
114 |
translate ([50, 86.5, 4]) // ODROIDs passive components hole. |
- |
|
115 |
rotate ([90,0,180]) |
- |
|
116 |
linear_extrude(height = 0.5) { |
- |
|
117 |
text(text = "ODROID-C1+", size = pedestal_height * 0.4); |
- |
|
118 |
} |
113 |
} |
119 |
} |
- |
|
120 |
|