1 |
height = 50; |
1 |
height = 50; |
2 |
mount_hole = 3.5; |
2 |
mount_hole = 3.5; |
3 |
clear = 0.175; |
3 |
clear = 0.175; |
4 |
thickness = 1.2; |
4 |
thickness = 1.2; |
5 |
|
5 |
|
6 |
$fn=20; |
6 |
$fn=20; |
7 |
|
7 |
|
8 |
module leg () { |
8 |
module leg () { |
9 |
difference () { |
9 |
difference () { |
10 |
cylinder(r=MLAB_grid/2 + 0.3,h=legs_height); |
10 |
cylinder(r=MLAB_grid/2 + 0.3,h=legs_height); |
11 |
cylinder(r=MLAB_grid/2 - 0.3,h=legs_height); |
11 |
cylinder(r=MLAB_grid/2 - 0.3,h=legs_height); |
12 |
} |
12 |
} |
13 |
} |
13 |
} |
14 |
|
14 |
|
15 |
difference () { |
15 |
difference () { |
16 |
minkowski() { |
16 |
minkowski() { |
17 |
cube([150+thickness/2,110+thickness/2,height+thickness/2]); // base plastics brick |
17 |
cube([150+thickness/2,110+thickness/2,height+thickness/2]); // base plastics brick |
18 |
cylinder(r=5,h=0.1); |
18 |
cylinder(r=5,h=0.1); |
19 |
} |
19 |
} |
20 |
|
- |
|
21 |
minkowski() { |
- |
|
22 |
cube([150-thickness/2, 110-thickness/2, height]); // hollow |
20 |
translate ([thickness, thickness, 0]) |
23 |
cylinder(r=5,h=0.1); |
- |
|
24 |
} |
- |
|
25 |
|
- |
|
26 |
difference () { |
- |
|
27 |
minkowski() { |
21 |
minkowski() { |
28 |
cube([150+clear, 110+clear, 5]); // hollow for BASE1115 |
22 |
cube([150-thickness, 110-thickness, height]); // hollow |
29 |
cylinder(r=5,h=0.1); |
23 |
cylinder(r=5,h=0.1); |
30 |
} |
24 |
} |
- |
|
25 |
|
- |
|
26 |
translate ([thickness/2, thickness/2, 0]) |
- |
|
27 |
difference () { |
- |
|
28 |
minkowski() { |
- |
|
29 |
cube([150+clear, 110+clear, 5]); // hollow for BASE1115 |
- |
|
30 |
cylinder(r=5,h=0.1); |
- |
|
31 |
} |
31 |
/// TODO Fixing cilinders teeths |
32 |
/// TODO Fixing cilinders teeths |
32 |
} |
33 |
} |
33 |
} |
34 |
} |
34 |
|
35 |
|