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  
3891 kaklik 50 translate ([9, 2.1 , pedestal_height - 3.5]) // HOLE for ODROD's USB and Ethernet connectors
3873 kaklik 51 cube([73,27,5]);
52  
3891 kaklik 53 translate ([66, 0 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components and power wires to MLAB UNIPOWER module.
3873 kaklik 54 cube([20,79,5]);
55  
3874 kaklik 56 translate ([0, 54 , pedestal_height - 3]) // Jack connectors
3891 kaklik 57 cube([30,28,5]);
3873 kaklik 58  
59  
60 translate ([22, 43 , pedestal_height - 3.5]) // eMMc Card
61 cube([27,18,5]);
62  
63 ////////////////////////////////////////
64  
65 // MLAB grid holes
66 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] ];
67 for (j = grid_list) {
68 translate (concat(j, [0]))
69 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
70 translate (concat(j, [3.2])) // one solid layer for slicer (the holes will be pierced on demand )
71 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
72 translate (concat(j, [6.0]))
73 cylinder (h = 10, r= nut_size/2, $fn=6);
74 }
75  
76  
77 //// lightening central holes
78  
3891 kaklik 79 translate ([12.5,10, 0])
3873 kaklik 80 cube([71,22,pedestal_height ]);
81  
3891 kaklik 82 translate ([12.5,42, 0])
3873 kaklik 83 cube([71,40,pedestal_height ]);
84  
85 }
86  
87