Rev 3852 Rev 3858
1   1  
2 pedestal_height = 13; 2 pedestal_height = 13;
3 mount_hole = 3.5; 3 mount_hole = 3.5;
4 clear = 0.175; 4 clear = 0.175;
5 nut_size = 6.6; 5 nut_size = 6.6;
6   6  
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]);
49   56  
50 translate ([4,6, pedestal_height - 4.5]) // ODROIDs passive components hole. 57 translate ([4,6, pedestal_height - 4.5]) // ODROIDs passive components hole.
51 cube([42,27,5]); 58 cube([42,27,5]);
52 //////////////////////////////////////// 59 ////////////////////////////////////////
53 60
54 //// lightening central holes 61 //// lightening central holes
55 62
56 translate ([11,11, 0]) // ODROIDs passive components hole. 63 translate ([11,11, 0]) // ODROIDs passive components hole.
57 cube([28,19,pedestal_height ]); 64 cube([28,19,pedestal_height ]);
58 65
59 translate ([11,42, 0]) // ODROIDs passive components hole. 66 translate ([11,42, 0]) // ODROIDs passive components hole.
60 cube([28,27,pedestal_height ]); 67 cube([28,27,pedestal_height ]);
61 68
62 ////// 69 //////
63 // MLAB electrical adapter part 70 // MLAB electrical adapter part
64 /////// 71 ///////
65 difference () { 72 difference () {
66 translate ([8,74.9,pedestal_height - 11]) // Holes for MLAB's adapter connectors. 73 translate ([8,74.9,pedestal_height - 11]) // Holes for MLAB's adapter connectors.
67 cube([34,17.1,20]); 74 cube([34,17.1,20]);
68 translate ([25,85.78,0]) 75 translate ([25,85.78,0])
69 cylinder (h = 30, r= nut_size*0.7, $fn=20); 76 cylinder (h = 30, r= nut_size*0.7, $fn=20);
70 } 77 }
71   78  
72 translate ([42,84,pedestal_height - 11]) // Holes for MLAB's adapter connectors. 79 translate ([42,84,pedestal_height - 11]) // Holes for MLAB's adapter connectors.
73 cube([34,8,20]); 80 cube([34,8,20]);
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])
85 cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); 92 cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);
86   93  
87   94  
88 translate ([4.68,85.78 + 10.16,0]) 95 translate ([4.68,85.78 + 10.16,0])
89 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); 96 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
90 translate ([4.68,85.78 + 10.16,3.2]) 97 translate ([4.68,85.78 + 10.16,3.2])
91 cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); 98 cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);
92   99  
93 translate ([45.32,85.78 + 10.16,0]) 100 translate ([45.32,85.78 + 10.16,0])
94 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); 101 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
95 translate ([45.32,85.78 + 10.16,3.2]) 102 translate ([45.32,85.78 + 10.16,3.2])
96 cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10); 103 cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);
97   104  
98 } 105 }
99   106  
100   107