Line 9... |
Line 9... |
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); |
Line 24... |
Line 31... |
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 |
|