Line 1... |
Line 1... |
1 |
|
1 |
|
2 |
pedestal_height = 13; // designed for use the MLAB standard 12mm screws. |
2 |
pedestal_height = 13; // designed for use the MLAB standard 12mm screws. |
- |
|
3 |
x_size = 87; |
- |
|
4 |
y_size = 58; |
3 |
mount_hole = 3.5; |
5 |
mount_hole = 3.5; |
4 |
clear = 0.175; |
- |
|
5 |
nut_size = 6.6; |
6 |
nut_size = 6.8; |
6 |
|
- |
|
7 |
MLAB_grid_xoffset = 7.36; |
- |
|
8 |
MLAB_grid_yoffset = 5.61; |
7 |
nut_size25 = 5.7; |
9 |
MLAB_grid = 10.16; |
8 |
MLAB_grid = 10.16; |
10 |
|
9 |
|
- |
|
10 |
x_holes = floor(x_size / MLAB_grid); |
- |
|
11 |
y_holes = floor(y_size / MLAB_grid); |
- |
|
12 |
|
- |
|
13 |
MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2; |
- |
|
14 |
MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2; |
- |
|
15 |
|
11 |
ODROID_holes_offset = 5.25; |
16 |
ODROID_holes_offset = 5.25; |
12 |
ODROID_holes_xdistance = 86; |
17 |
ODROID_holes_xdistance = 86; |
13 |
ODROID_holes_ydistance = 82; |
18 |
ODROID_holes_ydistance = 82; |
14 |
|
19 |
|
15 |
difference () { |
20 |
difference () { |
16 |
cube([85,56,pedestal_height]); // base plastics brick |
21 |
cube([x_size, y_size ,pedestal_height]); // base plastics brick |
17 |
|
22 |
|
18 |
//mount holes for Raspberry Pi model A/B |
23 |
//mount holes for Raspberry Pi model A/B |
19 |
|
24 |
|
20 |
translate ([ODROID_holes_offset, ODROID_holes_offset,0]) |
25 |
translate ([26.5, 19, 0]) |
21 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
26 |
cylinder (h = 6, r= nut_size25/2, $fn=6); |
22 |
translate ([ODROID_holes_offset, ODROID_holes_offset, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
27 |
translate ([26.5, 19, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
23 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
28 |
cylinder (h = pedestal_height, r= 2.9/2, $fn=30); |
24 |
|
29 |
|
25 |
translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 0]) |
30 |
translate ([81, 44.5, 0]) |
26 |
cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); |
31 |
cylinder (h = 6, r= nut_size25/2, $fn=6); |
27 |
translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
32 |
translate ([81, 44.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
28 |
cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); |
33 |
cylinder (h = pedestal_height, r= 2.9/2, $fn=30); |
29 |
|
- |
|
30 |
|
- |
|
31 |
///////////////////////////////////////// |
- |
|
32 |
// holes for components at the bottom side of the PCB. |
- |
|
33 |
|
- |
|
34 |
translate ([15.5, 84 , pedestal_height - 3]) // IO connector |
- |
|
35 |
cube([64, 6, 5]); |
- |
|
36 |
|
- |
|
37 |
translate ([3, 9, pedestal_height - 3.5]) // USB connector |
- |
|
38 |
cube([18,33,5]); |
- |
|
39 |
|
- |
|
40 |
|
- |
|
41 |
translate ([9, 2.1 , pedestal_height - 3.5]) // HOLE for ODROD's USB and Ethernet connectors |
- |
|
42 |
cube([73,27,5]); |
- |
|
43 |
|
- |
|
44 |
translate ([66, 0 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components and power wires to MLAB UNIPOWER module. |
- |
|
45 |
cube([20,79,5]); |
- |
|
46 |
|
- |
|
47 |
translate ([0, 54 , pedestal_height - 3]) // Jack connectors |
- |
|
48 |
cube([30,28,5]); |
- |
|
49 |
|
- |
|
50 |
|
- |
|
51 |
translate ([22, 43 , pedestal_height - 3.5]) // eMMc Card |
- |
|
52 |
cube([27,18,5]); |
- |
|
53 |
|
34 |
|
54 |
//////////////////////////////////////// |
35 |
//////////////////////////////////////// |
55 |
|
36 |
|
56 |
// MLAB grid holes |
37 |
// MLAB grid holes |
57 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 90], i = [MLAB_grid_yoffset :MLAB_grid: 95]) if (!(j>80 && i>80) && !(j<10 && i<10) && !(j<10 && i>80) && !(j>80 && i<10) ) [j, i] ]; |
38 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 86], i = [MLAB_grid_yoffset :MLAB_grid: 55]) |
- |
|
39 |
if (!(j>20 && i>10 && j<50 && i<50) && !(j>75 && i>40 && j<90 && i<50) ) // exception for Raspberry mount holes |
- |
|
40 |
[j, i] ]; |
- |
|
41 |
|
58 |
for (j = grid_list) { |
42 |
for (j = grid_list) { |
59 |
translate (concat(j, [0])) |
43 |
translate (concat(j, [0])) |
60 |
cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); |
44 |
cylinder (h = 3, r= nut_size/2, $fn=6); |
61 |
translate (concat(j, [3.2])) // one solid layer for slicer (the holes will be pierced on demand ) |
45 |
translate (concat(j, [3.2])) // one solid layer for slicer (the holes will be pierced on demand ) |
62 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); |
46 |
cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=30); |
63 |
translate (concat(j, [6.0])) |
47 |
translate (concat(j, [6.0])) |
64 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
48 |
cylinder (h = 10, r= nut_size/2, $fn=6); |
65 |
} |
49 |
} |
66 |
|
50 |
|
- |
|
51 |
///////////////////////////////////////// |
- |
|
52 |
// holes for components at the bottom side of the PCB. |
- |
|
53 |
|
- |
|
54 |
difference () { |
- |
|
55 |
translate ([2, 2 , pedestal_height - 3]) // |
- |
|
56 |
cube([83, 54, 3]); |
67 |
|
57 |
|
- |
|
58 |
translate ([26.5, 19, pedestal_height - 5]) // Raspberry screw mount pile |
68 |
//// lightening central holes |
59 |
cylinder (h = pedestal_height, r= 4, $fn=20); |
69 |
|
60 |
|
- |
|
61 |
translate ([77, 40.5, pedestal_height - 5]) // Raspberry screw mount brick |
70 |
translate ([12.5,10, 0]) |
62 |
cube([20,8,5]); |
- |
|
63 |
} |
71 |
cube([71,22,pedestal_height ]); |
64 |
translate ([0, 14 , pedestal_height - 4]) // SD Card |
- |
|
65 |
cube([20,30.5,5]); |
- |
|
66 |
|
- |
|
67 |
//// lightening central holes |
72 |
|
68 |
|
73 |
translate ([12.5,42, 0]) |
69 |
translate ([8, 8, 0]) |
74 |
cube([71,40,pedestal_height ]); |
70 |
cube([14.5,y_size - 16,pedestal_height ]); |
75 |
|
71 |
|
- |
|
72 |
translate ([30.5,8, 0]) |
- |
|
73 |
cube([47, y_size - 16,pedestal_height ]); |
76 |
} |
74 |
} |
77 |
|
75 |
|
78 |
|
76 |
|