Rev Author Line No. Line
4127 kaklik 1 use <./../../../../../Library/Graphics/MLAB_logo.scad>
3854 kaklik 2  
3 pedestal_height = 13; // designed for use the MLAB standard 12mm screws.
4 mount_hole = 3.5;
5 clear = 0.175;
6 nut_size = 6.6;
7  
3859 kaklik 8 MLAB_grid_xoffset = 3.6;
3854 kaklik 9 MLAB_grid_yoffset = 1.5;
10  
11 difference () {
12 // translate ([-1,-16,0])
13 cube([58,87,pedestal_height]);
14  
15 //mount holes for ODROID
16  
17 translate ([4.5, 4.5,0])
3858 kaklik 18 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
19 translate ([4.5, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
3854 kaklik 20 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
21  
22 translate ([4.5 + 49, 4.5,0])
3858 kaklik 23 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
24 translate ([4.5 + 49, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
3854 kaklik 25 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
26  
27 translate ([4.5, 4.5 + 58,0])
3858 kaklik 28 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
29 translate ([4.5, 4.5 + 58, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
3854 kaklik 30 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
31  
32 translate ([4.5 + 49, 4.5 + 58,0])
3858 kaklik 33 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
34 translate ([4.5 + 49, 4.5 + 58, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
3854 kaklik 35 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
36  
37 ////////////////////////////////////
38 translate ([1, 66 , pedestal_height - 4.5]) // HOLE for ODROD's USB and Ethernet connectors
39 cube([54,15.5,5]);
40  
41 translate ([15, 14 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components
42 cube([35.5,46,5]);
43  
44 translate ([6, 31.5 , pedestal_height - 3.5]) // eMMc Card
45 cube([14,20,5]);
46  
47 translate ([19, 54 , pedestal_height - 3.5]) // SD Card
48 cube([30,20,5]);
49  
50 translate ([2, 8 , pedestal_height - 1.7]) // IO connector
51 cube([4.5,50.5,5]);
52  
53 translate ([37,3, pedestal_height - 3]) // ODROID serial connector
54 cube([10,2,5]);
4156 kaklik 55  
4159 kaklik 56 rotate([30,0,0])
57 translate ([15,5.8, -3.0]) // ODROID eMMC adapter pocket
4156 kaklik 58 cube([25,2,15]);
3854 kaklik 59  
60 translate ([9,3.5, pedestal_height - 3]) // ODROID IR receiver
61 cube([7.5,2,5]);
3858 kaklik 62  
63 translate ([19,10, pedestal_height - 5]) // Heatsink mount holes
64 cylinder (h = 6, r= 3, $fn=10);
65 translate ([39,61.6, pedestal_height - 5]) // Heatsink mount holes
66 cylinder (h = 6, r= 3, $fn=10);
67  
68  
3854 kaklik 69 ////////////////////////////////////////
70  
71 // MLAB grid holes
72  
73 for (j = [0 : 5], i = [1 : 5]) {
74 translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0])
75 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
76 translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand )
77 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
78 translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0])
79 cylinder (h = 10, r= nut_size/2, $fn=6);
80 }
81  
82 for (j = [0 : 5], i = [7 : 8]) {
83 translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16,0])
84 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
85 translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 3.2]) // one solid layer for slicer (the holes will be pierced on demand )
86 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
87 translate ([MLAB_grid_xoffset + j*10.16, MLAB_grid_yoffset + i*10.16, 6.0])
88 cylinder (h = 10, r= nut_size/2, $fn=6);
89 }
90  
91  
92  
93  
94 //// lightening central holes
95  
4143 kaklik 96 translate ([9,16, 0]) // ODROIDs passive components hole.
97 cube([40,43,pedestal_height ]);
3854 kaklik 98  
99 translate ([10,67, 0]) // ODROIDs passive components hole.
100 cube([38,11,pedestal_height ]);
4143 kaklik 101  
102 // MLAB logo on the side
4157 kaklik 103 union (){
4127 kaklik 104 translate ([29,0.5, 6.5]) // ODROIDs passive components hole.
105 rotate ([90,0,0])
4128 kaklik 106 scale(v = [0.4, 0.4, 0.4])
4127 kaklik 107 MLAB_logo_long();
4157 kaklik 108 }
3854 kaklik 109 }