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