Rev 3974 Rev 3991
1   1  
2 pedestal_height = 13; // designed for use the MLAB standard 12mm screws. 2 pedestal_height = 13; // designed for use the MLAB standard 12mm screws.
3 x_size = 125; 3 x_size = 125;
4 y_size = 74; 4 y_size = 74;
5 mount_hole = 3.5; 5 mount_hole = 3.5;
6 nut_size = 6.8; 6 //nut_size = 6.8; //size suitable for PLA material
-   7 nut_size = 6.7; //size suitable for ABS material
7 clear = 0.175; 8 clear = 0.175;
8 MLAB_grid = 10.16; 9 MLAB_grid = 10.16;
9   10  
10 x_holes = floor((x_size-4) / MLAB_grid); 11 x_holes = floor((x_size-4) / MLAB_grid);
11 y_holes = floor((y_size-3) / MLAB_grid); 12 y_holes = floor((y_size-3) / MLAB_grid);
12   13  
13 MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2; 14 MLAB_grid_xoffset = (x_size - (x_holes * MLAB_grid))/2;
14 MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2; 15 MLAB_grid_yoffset = (y_size - (y_holes * MLAB_grid))/2;
15   16  
16 ODROID_holes_offset = 5.25; 17 ODROID_holes_offset = 5.25;
17 ODROID_holes_xdistance = (117.7+110.5)/2; 18 ODROID_holes_xdistance = (117.7+110.5)/2;
18 ODROID_holes_ydistance = (67.4+59.7)/2; 19 ODROID_holes_ydistance = (67.4+59.7)/2;
19   20  
20 difference () { 21 difference () {
21 cube([x_size, y_size ,pedestal_height]); // base plastics brick 22 cube([x_size, y_size ,pedestal_height]); // base plastics brick
22   23  
23 //mount holes for Galileo 24 //mount holes for Galileo
24   25  
25 translate ([ODROID_holes_offset, ODROID_holes_offset,0]) 26 translate ([ODROID_holes_offset, ODROID_holes_offset,0])
26 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 27 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
27 translate ([ODROID_holes_offset, ODROID_holes_offset, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 28 translate ([ODROID_holes_offset, 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 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
29   30  
30 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 0]) 31 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 0])
31 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 32 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
32 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 33 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset, 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 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
34   35  
35 translate ([ODROID_holes_offset, ODROID_holes_offset + ODROID_holes_ydistance,0]) 36 translate ([ODROID_holes_offset, ODROID_holes_offset + ODROID_holes_ydistance,0])
36 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 37 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
37 translate ([ODROID_holes_offset, ODROID_holes_offset + ODROID_holes_ydistance, 6.2]) // one solid layer for slicer (the holes will be pierced on demand ) 38 translate ([ODROID_holes_offset, 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 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
39   40  
40 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset + ODROID_holes_ydistance,0]) 41 translate ([ODROID_holes_offset + ODROID_holes_xdistance, ODROID_holes_offset + ODROID_holes_ydistance,0])
41 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6); 42 cylinder (h = 6, r= (nut_size+clear)/2, $fn=6);
42 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 ) 43 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 )
43 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10); 44 cylinder (h = pedestal_height, r= mount_hole/2, $fn=10);
44   45  
45 ///////////////////////////////////////// 46 /////////////////////////////////////////
46 // holes for components at the bottom side of the PCB. 47 // holes for components at the bottom side of the PCB.
47   48  
48 translate ([10, 2 , pedestal_height - 4]) 49 translate ([10, 2 , pedestal_height - 4])
49 cube([x_size-21, y_size-5, 5]); 50 cube([x_size-21, y_size-5, 5]);
50   51  
51 translate ([5, 10.5, pedestal_height - 4]) 52 translate ([5, 10.5, pedestal_height - 4])
52 cube([x_size-9, y_size-21, 5]); 53 cube([x_size-9, y_size-21, 5]);
53   54  
54 translate ([x_size - 5, 32 , pedestal_height - 4]) // Hole for ICSP connector 55 translate ([x_size - 5, 32 , pedestal_height - 4]) // Hole for ICSP connector
55 cube([4,11, 5]); 56 cube([4,11, 5]);
56   57  
57 translate ([96.5, y_size - 2.5 - 1, pedestal_height - 4]) // hole for capacitor at bottom side of the pcb 58 translate ([96.5, y_size - 2.5 - 1, pedestal_height - 4]) // hole for capacitor at bottom side of the pcb
58 cube([5, 2, 5]); 59 cube([5, 2, 5]);
59   60  
60 //////////////////////////////////////// 61 ////////////////////////////////////////
61   62  
62 // MLAB grid holes 63 // MLAB grid holes
63 grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: x_size], i = [MLAB_grid_yoffset :MLAB_grid: y_size]) 64 grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: x_size], i = [MLAB_grid_yoffset :MLAB_grid: y_size])
64 if (!(j>(x_size-10) && i>(y_size-10)) && !(j<10 && i<10) && !(j<10 && i>(y_size-10)) && !(j>(x_size-10) && i<10) ) [j, i] ]; 65 if (!(j>(x_size-10) && i>(y_size-10)) && !(j<10 && i<10) && !(j<10 && i>(y_size-10)) && !(j>(x_size-10) && i<10) ) [j, i] ];
65 for (j = grid_list) { 66 for (j = grid_list) {
66 translate (concat(j, [0])) 67 translate (concat(j, [0]))
67 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6); 68 cylinder (h = 3, r= (nut_size+clear)/2, $fn=6);
68 translate (concat(j, [3.2])) // one solid layer for slicer (the holes will be pierced on demand ) 69 translate (concat(j, [3.2])) // one solid layer for slicer (the holes will be pierced on demand )
69 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10); 70 cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
70 translate (concat(j, [6.0])) 71 translate (concat(j, [6.0]))
71 cylinder (h = 10, r= nut_size/2, $fn=6); 72 cylinder (h = 10, r= nut_size/2, $fn=6);
72 } 73 }
73 74
74 75
75 //// lightening central holes 76 //// lightening central holes
76 77
77 translate ([33,3, 0]) 78 translate ([33,3, 0])
78 cube([49,y_size -3 -3,pedestal_height ]); 79 cube([49,y_size -3 -3,pedestal_height ]);
79   80  
80 translate ([12,11, 0]) 81 translate ([12,11, 0])
81 cube([x_size-24,y_size-22,pedestal_height ]); 82 cube([x_size-24,y_size-22,pedestal_height ]);
82 } 83 }
83   84