4832 |
kaklik |
1 |
use <./../../../../../../Library/Graphics/MLAB_logo.scad> |
4828 |
kaklik |
2 |
|
|
|
3 |
pedestal_height = 13; // designed for use the MLAB standard 12mm screws. |
|
|
4 |
mount_hole = 3.5; |
4832 |
kaklik |
5 |
clear = 0.175; |
|
|
6 |
nut_size = 6.6; |
4828 |
kaklik |
7 |
|
4832 |
kaklik |
8 |
MLAB_grid_xoffset = 3.6; |
|
|
9 |
MLAB_grid_yoffset = 1.5; |
4828 |
kaklik |
10 |
|
|
|
11 |
difference () { |
4832 |
kaklik |
12 |
// translate ([-1,-16,0]) |
|
|
13 |
cube([58,87,pedestal_height]); |
4828 |
kaklik |
14 |
|
4832 |
kaklik |
15 |
//mount holes for ODROID |
4828 |
kaklik |
16 |
|
4832 |
kaklik |
17 |
translate ([4.5, 4.5,0]) |
|
|
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 ) |
|
|
20 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
4828 |
kaklik |
21 |
|
4832 |
kaklik |
22 |
translate ([4.5 + 49, 4.5,0]) |
|
|
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 ) |
|
|
25 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
4828 |
kaklik |
26 |
|
4832 |
kaklik |
27 |
translate ([4.5, 4.5 + 58,0]) |
|
|
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 ) |
|
|
30 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
|
|
31 |
|
|
|
32 |
translate ([4.5 + 49, 4.5 + 58,0]) |
|
|
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 ) |
|
|
35 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
|
|
36 |
|
|
|
37 |
//////////////////////////////////// |
|
|
38 |
translate ([1, 66 , pedestal_height - 4.5]) // HOLE for USB and Ethernet connectors |
|
|
39 |
cube([55,18,5]); |
|
|
40 |
|
|
|
41 |
translate ([15, 8 , pedestal_height - 3.5]) // HOLE for Passive components |
|
|
42 |
cube([41,50,5]); |
|
|
43 |
|
|
|
44 |
translate ([9, 1.5 , pedestal_height - 2]) // HOLE for Passive components |
|
|
45 |
cube([40,10,5]); |
|
|
46 |
|
|
|
47 |
translate ([22, 0 , pedestal_height - 2]) // SD Card |
|
|
48 |
cube([13,16,5]); |
|
|
49 |
|
|
|
50 |
translate ([2, 8 , pedestal_height - 1.7]) // IO connector |
|
|
51 |
cube([4.5,50.5,5]); |
|
|
52 |
|
4828 |
kaklik |
53 |
//////////////////////////////////////// |
|
|
54 |
|
|
|
55 |
// MLAB grid holes |
4832 |
kaklik |
56 |
|
|
|
57 |
for (j = [0 : 5], i = [1 : 5]) { |
|
|
58 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0]) |
|
|
59 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
|
|
60 |
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 ) |
|
|
61 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
|
|
62 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0]) |
4828 |
kaklik |
63 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
4832 |
kaklik |
64 |
} |
4828 |
kaklik |
65 |
|
4832 |
kaklik |
66 |
for (j = [0 : 5], i = [7 : 8]) { |
|
|
67 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0]) |
|
|
68 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
|
|
69 |
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 ) |
|
|
70 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
|
|
71 |
translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0]) |
|
|
72 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
|
|
73 |
} |
4828 |
kaklik |
74 |
|
4832 |
kaklik |
75 |
|
|
|
76 |
|
|
|
77 |
|
4828 |
kaklik |
78 |
//// lightening central holes |
|
|
79 |
|
4832 |
kaklik |
80 |
translate ([9, 8 , 0]) |
|
|
81 |
cube([40,70,pedestal_height ]); |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
// MLAB logo on the side |
|
|
85 |
union (){ |
|
|
86 |
translate ([29,0.5, 6.5]) // ODROIDs passive components hole. |
|
|
87 |
rotate ([90,0,0]) |
|
|
88 |
scale(v = [0.4, 0.4, 0.4]) |
|
|
89 |
MLAB_logo_long(); |
|
|
90 |
} |
4828 |
kaklik |
91 |
|
4832 |
kaklik |
92 |
translate ([45, 86.5, 4]) // ODROIDs passive components hole. |
|
|
93 |
rotate ([90,0,180]) |
|
|
94 |
linear_extrude(height = 0.5) { |
|
|
95 |
text(text = "RPi3 - B", size = pedestal_height * 0.4); |
|
|
96 |
} |
4828 |
kaklik |
97 |
} |
|
|
98 |
|