Rev 4412 Rev 4414
1 use <./../../../../../Library/Graphics/MLAB_logo.scad> 1 use <./../../../../../Library/Graphics/MLAB_logo.scad>
2   2  
3 pedestal_height = 13; // designed for use the MLAB standard 12mm screws. 3 pedestal_height = 13; // designed for use the MLAB standard 12mm screws.
4 mount_hole = 3.5; 4 mount_hole = 3.5;
5 clear = 0.175; 5 clear = 0.175;
6 nut_size = 6.6; 6 nut_size = 6.6;
7 MLAB_grid = 10.16; 7 MLAB_grid = 10.16;
8 x_size = 61; 8 x_size = 61;
9 y_size = 85; 9 y_size = 85;
10   10  
11 x_holes = floor((x_size - 10) / MLAB_grid); 11 x_holes = floor((x_size - 10) / MLAB_grid);
12 y_holes = floor((y_size - 20) / MLAB_grid); 12 y_holes = floor((y_size - 20) / MLAB_grid);
13   13  
14   14  
15 MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2; 15 MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2;
16 MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2; 16 MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2;
17   17  
18 x_mount_dist = (55 + 49)/2; 18 x_mount_dist = (55 + 49)/2;
19 y_mount_dist = (79 + 73)/2; 19 y_mount_dist = (79 + 73)/2;
20   20  
21 difference () { 21 difference () {
22 cube([x_size, y_size ,pedestal_height]); // base plastics brick 22 cube([x_size, y_size ,pedestal_height]); // base plastics brick
23   23  
24 //mount holes for ODROID 24 //mount holes for ODROID
25   25  
26 translate ([4.5, 4.5,0]) 26 translate ([4.5, 4.5,0])
27 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 27 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
28 translate ([4.5, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 28 translate ([4.5, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
29 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); 29 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
30   30  
31 translate ([4.5 + x_mount_dist, 4.5,0]) 31 translate ([4.5 + x_mount_dist, 4.5,0])
32 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 32 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
33 translate ([4.5 + x_mount_dist, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 33 translate ([4.5 + x_mount_dist, 4.5, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
34 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); 34 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
35   35  
36 translate ([4.5, 4.5 + y_mount_dist,0]) 36 translate ([4.5, 4.5 + y_mount_dist,0])
37 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 37 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
38 translate ([4.5, 4.5 + y_mount_dist, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 38 translate ([4.5, 4.5 + y_mount_dist, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
39 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); 39 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
40   40  
41 translate ([4.5 + x_mount_dist, 4.5 + y_mount_dist,0]) 41 translate ([4.5 + x_mount_dist, 4.5 + y_mount_dist,0])
42 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 42 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
43 translate ([4.5 + x_mount_dist, 4.5 + y_mount_dist, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 43 translate ([4.5 + x_mount_dist, 4.5 + y_mount_dist, 6.2]) // one solid layer for slicer (the holes will be pierced on demand )
44 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); 44 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
45   45  
46 //////////////////////////////////// 46 ////////////////////////////////////
47   47  
48 translate ([3, 7 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components 48 translate ([3, 7 , pedestal_height - 3.5]) // HOLE for ODROD's Passive components
49 cube([53,73,5]); 49 cube([53,73,5]);
50   50  
51 translate ([0, 25 , pedestal_height - 3.5]) // eMMc Card 51 translate ([0, 24 , pedestal_height - 3.5]) // eMMc Card
52 cube([14,20,5]); 52 cube([14,17,5]);
-   53  
-   54 translate ([2, 40 , pedestal_height - 3.5]) // eMMc Card
-   55 cube([14,10.5,5]);
-   56  
53   57  
54 translate ([39.5,81, pedestal_height - 3]) // ODROID serial connector 58 translate ([39.5,81, pedestal_height - 3]) // ODROID serial connector
55 cube([10,2,5]); 59 cube([10,2,5]);
56 60
57 rotate([30,0,0]) 61 rotate([30,0,0])
58 translate ([27,5.8, -3.0]) // ODROID eMMC adapter pocket 62 translate ([27,5.8, -3.0]) // ODROID eMMC adapter pocket
59 cube([25,2,15]); 63 cube([25,2,15]);
60   64  
61 translate ([22,4, pedestal_height - 5]) // Heatsink mount holes 65 translate ([22,4, pedestal_height - 5]) // Heatsink mount holes
62 cylinder (h = 6, r= 3, $fn=10); 66 cylinder (h = 6, r= 3, $fn=10);
63   67  
64   68  
65 //////////////////////////////////////// 69 ////////////////////////////////////////
66   70  
67 // MLAB grid holes 71 // MLAB grid holes
68   72  
69 grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: x_size - MLAB_grid_xoffset], i = [MLAB_grid_yoffset :MLAB_grid: y_size - MLAB_grid_yoffset ]) 73 grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: x_size - MLAB_grid_xoffset], i = [MLAB_grid_yoffset :MLAB_grid: y_size - MLAB_grid_yoffset ])
70 //if (!(j>20 && i>10 && j<50 && i<50) && !(j>75 && i>40 && j<90 && i<50) ) // exception for board mount holes 74 //if (!(j>20 && i>10 && j<50 && i<50) && !(j>75 && i>40 && j<90 && i<50) ) // exception for board mount holes
71 [j, i] ]; 75 [j, i] ];
72 76
73 for (j = grid_list) { 77 for (j = grid_list) {
74 translate (concat(j, [0])) 78 translate (concat(j, [0]))
75 cylinder (h = 3, r= nut_size/2, $fn=6); 79 cylinder (h = 3, r= nut_size/2, $fn=6);
76 translate (concat(j, [3.2])) // one solid layer for slicer (the holes will be pierced on demand ) 80 translate (concat(j, [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=30); 81 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=30);
78 translate (concat(j, [6.0])) 82 translate (concat(j, [6.0]))
79 cylinder (h = 10, r= nut_size/2, $fn=6); 83 cylinder (h = 10, r= nut_size/2, $fn=6);
80 } 84 }
81   85  
82 86
83 87
84 88
85 //// lightening central holes 89 //// lightening central holes
86 90
87 translate ([9,9, 0]) // ODROIDs passive components hole. 91 translate ([9,9, 0]) // ODROIDs passive components hole.
88 cube([40,67,pedestal_height ]); 92 cube([43,67,pedestal_height ]);
89 93
90 // MLAB logo on the side 94 // MLAB logo on the side
91 union (){ 95 union (){
92 translate ([29,0.5, 6.5]) // ODROIDs passive components hole. 96 translate ([29,0.5, 6.5]) // ODROIDs passive components hole.
93 rotate ([90,0,0]) 97 rotate ([90,0,0])
94 scale(v = [0.4, 0.4, 0.4]) 98 scale(v = [0.4, 0.4, 0.4])
95 MLAB_logo_long(); 99 MLAB_logo_long();
96 } 100 }
97 } 101 }