Rev 3852 Rev 3858
Line 7... Line 7...
7 difference () { 7 difference () {
8 // translate ([-1,-16,0]) 8 // translate ([-1,-16,0])
9 cube([50,100,pedestal_height]); 9 cube([50,100,pedestal_height]);
10   10  
11 //mount holes for ODROID U3 11 //mount holes for ODROID U3
12 // translate ([3.5,3.5,5]) -  
13 // cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); -  
14   -  
15 translate ([4.5,4.5 + 76 ,0]) 12 translate ([4.5,4.5 + 76 ,0])
16 rotate([0,0,90]) 13 rotate([0,0,90])
17 cylinder (h = pedestal_height ,r= nut_size/2 + clear, $fn=6); 14 cylinder (h = pedestal_height ,r= nut_size/2 + clear, $fn=6);
18   15
19 // translate ([3.5+41,3.5,0]) -  
20 // cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); -  
21 translate ([4.5+41,4.5 + 76,0]) 16 translate ([4.5+41,4.5 + 76,0])
22 rotate([0,0,90]) 17 rotate([0,0,90])
23 cylinder (h = pedestal_height,r= nut_size/2 + clear, $fn=6); 18 cylinder (h = pedestal_height,r= nut_size/2 + clear, $fn=6);
24   19  
25   20  
26 /// Two holes for other side of ODROID-U3 PCB. Code is not used because the position of holes is practically identical with position of MLAB holes in grid. 21 /// Two holes for other side of ODROID-U3 PCB. Code is not used because the position of holes is practically identical with position of MLAB holes in grid.
27 // translate ([3.5,3.5+76,0]) 22 translate ([4.5,4.5,0])
28 // cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); 23 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
29 // translate ([3.5+41,3.5+76,0]) 24 translate ([4.5,4.5,6.2])
30 // cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); 25 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
31 26
-   27 translate ([4.5+41,4.5,0])
-   28 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
-   29 translate ([4.5+41,4.5,6.2])
-   30 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
32   31  
33 // MLAB grid holes 32 // MLAB grid holes
34   33  
35 for (i = [0 : 6]) { 34 for (j = [1 : 3], i = [0 : 0]) {
-   35 translate ([4.5 + j*10.16, 4.5 + i*10.16,0])
-   36 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
-   37 translate ([4.5 + j*10.16, 4.5 + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand )
-   38 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
-   39 translate ([4.5 + j*10.16, 4.5 + i*10.16, 6.3])
-   40 cylinder (h = 10, r= nut_size/2, $fn=6);
-   41 }
-   42  
-   43  
36 for (j = [0 : 7]) { 44 for (j = [0 : 7], i = [1 : 6]) {
37 translate ([4.5 + j*10.16, 4.5 + i*10.16,0]) 45 translate ([4.5 + j*10.16, 4.5 + i*10.16,0])
38 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); 46 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
39 translate ([4.5 + j*10.16, 4.5 + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand ) 47 translate ([4.5 + j*10.16, 4.5 + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand )
40 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); 48 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
41 translate ([4.5 + j*10.16, 4.5 + i*10.16, 6.3]) 49 translate ([4.5 + j*10.16, 4.5 + i*10.16, 6.3])
42 cylinder (h = 10, r= nut_size/2, $fn=6); 50 cylinder (h = 10, r= nut_size/2, $fn=6);
43 } -  
44 } 51 }
45   52  
46 //////////////////////////////////// 53 ////////////////////////////////////
47 translate ([0, 40 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector, SD card and eMMC. 54 translate ([0, 40 , pedestal_height - 4.5]) // HOLE for ODROD's jack connector, SD card and eMMC.
48 cube([48,35,5]); 55 cube([48,35,5]);
Line 74... Line 81...
74   81  
75 translate ([8,92,pedestal_height - 11]) // Holes for MLAB's adapter connectors. 82 translate ([8,92,pedestal_height - 11]) // Holes for MLAB's adapter connectors.
76 cube([34,8,20]); 83 cube([34,8,20]);
77   84  
78 85
79 translate ([-2,74.9, pedestal_height - 8.3]) // Hole for MLAB PCB 86 translate ([-2,74.9, pedestal_height - 8.5]) // Hole for MLAB PCB
80 cube([55,25.1,20]); 87 cube([55,25.1,20]);
81   88  
82 translate ([25,85.78,0]) 89 translate ([25,85.78,0])
83 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); 90 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
84 translate ([25,85.78,3.2]) 91 translate ([25,85.78,3.2])