Rev Author Line No. Line
4340 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 = 4.2;
7 MLAB_grid_yoffset = 4.2;
8 MLAB_grid = 10.16;
9  
10 legs_height = 5;
11  
12 $fn=20;
13  
14 module leg () {
15 difference () {
16 cylinder(r=MLAB_grid/2 + 0.3,h=legs_height);
17 cylinder(r=MLAB_grid/2 - 0.3,h=legs_height);
18 }
19 }
20  
21 difference () {
22 minkowski()
23 {
24 cube([150,150,pedestal_height]); // base plastics brick
25 cylinder(r=5,h=0.1);
26 }
27 // MLAB grid holes
28 grid_list = [for (j = [MLAB_grid_xoffset : MLAB_grid: 150], i = [MLAB_grid_yoffset :MLAB_grid: 150]) [j, i] ];
29 for (j = grid_list) {
30 translate (concat(j, [0]))
31 cylinder (h = 2*pedestal_height, r= mount_hole/2);
32 }
33 }
34 /*
35 translate ([MLAB_grid_xoffset, MLAB_grid_yoffset, 2])
36 leg();
37  
38 translate ([MLAB_grid_xoffset + 14*MLAB_grid, MLAB_grid_yoffset, 2])
39 leg();
40  
41 translate ([MLAB_grid_xoffset + 14*MLAB_grid, MLAB_grid_yoffset + 10*MLAB_grid, 2])
42 leg();
43  
44 translate ([MLAB_grid_xoffset + 7*MLAB_grid, MLAB_grid_yoffset + 5*MLAB_grid, 2])
45 leg();
46  
47 translate ([MLAB_grid_xoffset, MLAB_grid_yoffset + 10*MLAB_grid, 2])
48 leg();
49 */