Rev Author Line No. Line
3889 kaklik 1  
2 pedestal_height = 2; // designed for use the MLAB standard 12mm screws.
3 mount_hole = 3.5;
4 clear = 0.175;
5  
6 MLAB_grid_xoffset = 3.88;
7 MLAB_grid_yoffset = 4.2;
8 MLAB_grid = 10.16;
9  
10 legs_height = 5;
11  
12 $fn=20;
13  
14 difference () {
15 minkowski()
16 {
17 cube([150,110,pedestal_height]); // base plastics brick
18 cylinder(r=5,h=0.1);
19 }
20 // MLAB grid holes
21 grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 150], i = [MLAB_grid_yoffset :MLAB_grid: 110]) [j, i] ];
22 for (j = grid_list) {
23 translate (concat(j, [0]))
24 cylinder (h = 2*pedestal_height, r= mount_hole/2);
25 }
26 }
27  
28 translate ([MLAB_grid_xoffset, MLAB_grid_yoffset, 2])
29 difference () {
30 cylinder(r=MLAB_grid/2 + 0.3,h=legs_height);
31 cylinder(r=MLAB_grid/2 - 0.3,h=legs_height);
32 }
33  
34 translate ([MLAB_grid_xoffset + 14*MLAB_grid, MLAB_grid_yoffset, 2])
35 difference () {
36 cylinder(r=MLAB_grid/2 + 0.3,h=legs_height);
37 cylinder(r=MLAB_grid/2 - 0.3,h=legs_height);
38 }
39  
40  
41 translate ([MLAB_grid_xoffset + 14*MLAB_grid, MLAB_grid_yoffset + 10*MLAB_grid, 2])
42 difference () {
43 cylinder(r=MLAB_grid/2 + 0.3,h=legs_height);
44 cylinder(r=MLAB_grid/2 - 0.3,h=legs_height);
45 }
46  
47 translate ([MLAB_grid_xoffset, MLAB_grid_yoffset + 10*MLAB_grid, 2])
48 difference () {
49 cylinder(r=MLAB_grid/2 + 0.3,h=legs_height);
50 cylinder(r=MLAB_grid/2 - 0.3,h=legs_height);
51 }