Rev Author Line No. Line
3873 kaklik 1  
2 pedestal_height = 13; // designed for use the MLAB standard 12mm screws.
3 mount_hole = 3.5;
4 clear = 0.175;
5 nut_size = 6.6;
6  
7 MLAB_grid_xoffset = 7.36;
8 MLAB_grid_yoffset = 5.61;
9 MLAB_grid = 10.16;
10  
11 ODROID_holes_offset = 5.25;
3874 kaklik 12 ODROID_holes_xdistance = 86;
3873 kaklik 13 ODROID_holes_ydistance = 82;
14  
15 difference () {
16 cube([96,92.5,pedestal_height]); // base plastics brick
17  
18 //mount holes for ODROID 86x82mm
19  
20 translate ([ODROID_holes_offset, ODROID_holes_offset,0])
21 cylinder (h = 6, r= (nut_size+clear)/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 )
23 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
24  
25 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 0])
26 cylinder (h = 6, r= (nut_size+clear)/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 )
28 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
29  
30 translate ([ODROID_holes_offset, ODROID_holes_offset + ODROID_holes_ydistance,0])
31 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
32 translate ([ODROID_holes_offset, ODROID_holes_offset + ODROID_holes_ydistance, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
33 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
34  
35 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset + ODROID_holes_ydistance,0])
36 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
37 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset + ODROID_holes_ydistance, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
38 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
39  
40 /////////////////////////////////////////
41 // holes for components at the bottom side of the PCB.
42  
3874 kaklik 43 translate ([15.5, 84 , pedestal_height - 3]) // IO connector
44 cube([64, 6, 5]);
3873 kaklik 45  
46 translate ([3, 9, pedestal_height - 3.5]) // USB connector
3874 kaklik 47 cube([18,33,5]);
3873 kaklik 48  
49  
50 translate ([9, 1.1 , pedestal_height - 3.5]) // HOLE for ODROD's USB and Ethernet connectors
51 cube([73,27,5]);
52  
53 translate ([66, 0 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components
54 cube([20,79,5]);
55  
3874 kaklik 56 translate ([0, 54 , pedestal_height - 3]) // Jack connectors
57 cube([30,28.5,5]);
3873 kaklik 58  
59  
60 translate ([22, 43 , pedestal_height - 3.5]) // eMMc Card
61 cube([27,18,5]);
62  
63  
64 /*
65 translate ([37,3, pedestal_height - 3]) // ODROID serial connector
66 cube([10,2,5]);
67  
68  
69 translate ([19,10, pedestal_height - 5]) // Heatsink mount holes
70 cylinder (h = 6, r= 3, $fn=10);
71 translate ([39,61.6, pedestal_height - 5]) // Heatsink mount holes
72 cylinder (h = 6, r= 3, $fn=10);
73 */
74  
75 ////////////////////////////////////////
76  
77 // MLAB grid holes
78 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] ];
79 for (j = grid_list) {
80 translate (concat(j, [0]))
81 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
82 translate (concat(j, [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);
84 translate (concat(j, [6.0]))
85 cylinder (h = 10, r= nut_size/2, $fn=6);
86 }
87  
88  
89 //// lightening central holes
90  
91 translate ([12.5,10, 0]) // ODROIDs passive components hole.
92 cube([71,22,pedestal_height ]);
93  
94 translate ([12.5,42, 0]) // ODROIDs passive components hole.
95 cube([71,40,pedestal_height ]);
96  
97 }
98  
99