Line 2... |
Line 2... |
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; |
3 |
x_size = 87; |
4 |
y_size = 58; |
4 |
y_size = 58; |
5 |
mount_hole = 3.5; |
5 |
mount_hole = 3.5; |
6 |
nut_size = 6.8; |
6 |
nut_size = 6.8; |
7 |
nut_size25 = 5.7; |
7 |
nut_size25 = 6; |
8 |
MLAB_grid = 10.16; |
8 |
MLAB_grid = 10.16; |
9 |
|
9 |
|
10 |
x_holes = floor(x_size / MLAB_grid); |
10 |
x_holes = floor(x_size / MLAB_grid); |
11 |
y_holes = floor(y_size / MLAB_grid); |
11 |
y_holes = floor(y_size / MLAB_grid); |
12 |
|
12 |
|
13 |
MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2; |
13 |
MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2; |
14 |
MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2; |
14 |
MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2; |
15 |
|
15 |
|
16 |
ODROID_holes_offset = 5.25; |
- |
|
17 |
ODROID_holes_xdistance = 86; |
- |
|
18 |
ODROID_holes_ydistance = 82; |
- |
|
19 |
|
- |
|
20 |
difference () { |
16 |
difference () { |
21 |
cube([x_size, y_size ,pedestal_height]); // base plastics brick |
17 |
cube([x_size, y_size ,pedestal_height]); // base plastics brick |
22 |
|
18 |
|
23 |
//mount holes for Raspberry Pi model A/B |
19 |
//mount holes for Raspberry Pi model A/B |
24 |
|
20 |
|
25 |
translate ([26.5, 19, 0]) |
21 |
translate ([26.5, 19, 0]) |
- |
|
22 |
rotate([0,0,90]) |
26 |
cylinder (h = 6, r= nut_size25/2, $fn=6); |
23 |
cylinder (h = 6, r= nut_size25/2, $fn=6); |
27 |
translate ([26.5, 19, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
24 |
translate ([26.5, 19, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
28 |
cylinder (h = pedestal_height, r= 2.9/2, $fn=30); |
25 |
cylinder (h = pedestal_height, r= 3.0/2, $fn=30); |
29 |
|
26 |
|
30 |
translate ([81, 44.5, 0]) |
27 |
translate ([81, 44.5, 0]) |
- |
|
28 |
rotate([0,0,90]) |
31 |
cylinder (h = 6, r= nut_size25/2, $fn=6); |
29 |
cylinder (h = 6, r= nut_size25/2, $fn=6); |
32 |
translate ([81, 44.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
30 |
translate ([81, 44.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) |
33 |
cylinder (h = pedestal_height, r= 2.9/2, $fn=30); |
31 |
cylinder (h = pedestal_height, r= 3.0/2, $fn=30); |
34 |
|
32 |
|
35 |
//////////////////////////////////////// |
33 |
//////////////////////////////////////// |
36 |
|
34 |
|
37 |
// MLAB grid holes |
35 |
// MLAB grid holes |
38 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 86], i = [MLAB_grid_yoffset :MLAB_grid: 55]) |
36 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 86], i = [MLAB_grid_yoffset :MLAB_grid: 55]) |