Line 12... |
Line 12... |
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; |
16 |
ODROID_holes_offset = 5.25; |
17 |
ODROID_holes_xdistance = (117.6+110)/2; |
17 |
ODROID_holes_xdistance = (117.7+110.5)/2; |
18 |
ODROID_holes_ydistance = (67.4+59.7)/2; |
18 |
ODROID_holes_ydistance = (67.4+59.7)/2; |
19 |
|
19 |
|
20 |
difference () { |
20 |
difference () { |
21 |
cube([x_size, y_size ,pedestal_height]); // base plastics brick |
21 |
cube([x_size, y_size ,pedestal_height]); // base plastics brick |
22 |
|
22 |
|
Line 49... |
Line 49... |
49 |
cube([x_size-21, y_size-5, 5]); |
49 |
cube([x_size-21, y_size-5, 5]); |
50 |
|
50 |
|
51 |
translate ([5, 10.5, pedestal_height - 4]) |
51 |
translate ([5, 10.5, pedestal_height - 4]) |
52 |
cube([x_size-9, y_size-21, 5]); |
52 |
cube([x_size-9, y_size-21, 5]); |
53 |
|
53 |
|
54 |
translate ([x_size - 5, 32 , pedestal_height - 4]) |
54 |
translate ([x_size - 5, 32 , pedestal_height - 4]) // Hole for ICSP connector |
55 |
cube([4,11, 5]); |
55 |
cube([4,11, 5]); |
56 |
|
56 |
|
- |
|
57 |
translate ([96.5, y_size - 2.5 - 1, pedestal_height - 4]) // hole for capacitor at bottom side of the pcb |
- |
|
58 |
cube([5, 2, 5]); |
- |
|
59 |
|
57 |
//////////////////////////////////////// |
60 |
//////////////////////////////////////// |
58 |
|
61 |
|
59 |
// MLAB grid holes |
62 |
// MLAB grid holes |
60 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: x_size], i = [MLAB_grid_yoffset :MLAB_grid: y_size]) |
63 |
grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: x_size], i = [MLAB_grid_yoffset :MLAB_grid: y_size]) |
61 |
if (!(j>(x_size-10) && i>(y_size-10)) && !(j<10 && i<10) && !(j<10 && i>(y_size-10)) && !(j>(x_size-10) && i<10) ) [j, i] ]; |
64 |
if (!(j>(x_size-10) && i>(y_size-10)) && !(j<10 && i<10) && !(j<10 && i>(y_size-10)) && !(j>(x_size-10) && i<10) ) [j, i] ]; |
Line 72... |
Line 75... |
72 |
//// lightening central holes |
75 |
//// lightening central holes |
73 |
|
76 |
|
74 |
translate ([33,3, 0]) |
77 |
translate ([33,3, 0]) |
75 |
cube([49,y_size -3 -3,pedestal_height ]); |
78 |
cube([49,y_size -3 -3,pedestal_height ]); |
76 |
|
79 |
|
77 |
translate ([11,10, 0]) |
80 |
translate ([12,11, 0]) |
78 |
cube([x_size-22,y_size-20,pedestal_height ]); |
81 |
cube([x_size-24,y_size-22,pedestal_height ]); |
79 |
} |
82 |
} |
80 |
|
83 |
|