Line 1... |
Line 1... |
1 |
x_size = 20; // horizontal outer size of the aquarium pedestal. |
1 |
x_size = 20; // horizontal outer size of the aquarium pedestal. |
2 |
y_size = 20; // |
2 |
y_size = 20; // |
3 |
thickness = 10; // thickness of the pad bellow aquarium. hairs lenght is 12mm. |
3 |
thickness = 10; // thickness of the pad bellow aquarium. hairs lenght is 12mm. |
4 |
rim_height = 7; // height of upper rim for fixing the aquarium in position. |
4 |
rim_height = 7; // height of upper rim for fixing the aquarium in position. |
5 |
|
5 |
|
6 |
mount_hole = 3.5; |
6 |
mount_hole = 3.6; |
7 |
clear = 0.175; |
7 |
clear = 0.175; |
8 |
|
8 |
|
9 |
|
9 |
|
10 |
// aquarium pad |
10 |
// aquarium pad |
11 |
|
11 |
|
Line 18... |
Line 18... |
18 |
cube([sqrt(pow(x_size,2) + pow(x_size,2))/2, sqrt(pow(x_size,2) + pow(x_size,2))/2, rim_height], center = true); |
18 |
cube([sqrt(pow(x_size,2) + pow(x_size,2))/2, sqrt(pow(x_size,2) + pow(x_size,2))/2, rim_height], center = true); |
19 |
|
19 |
|
20 |
}; |
20 |
}; |
21 |
|
21 |
|
22 |
rotate([0,0,45]) |
22 |
rotate([0,0,45]) |
23 |
cube([x_size, y_size ,4*thickness], center = true); |
23 |
cube([x_size, y_size ,4*thickness], center = true); // cut out half of top tip |
24 |
} |
24 |
} |
25 |
cylinder (h = thickness + rim_height, r= mount_hole, $fn=20); // hole for screw head |
25 |
cylinder (h = thickness + rim_height, r= mount_hole, $fn=20); // hole for screw head |
26 |
|
- |
|
27 |
translate ([0, 0, -thickness]) // hole for the screw |
26 |
translate ([0, 0, -thickness]) // hole for the screw |
28 |
cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10); |
27 |
cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10); |
29 |
|
28 |
|
- |
|
29 |
|
30 |
rotate([0,0,-45]) // hole for top part mounting nut |
30 |
rotate([0,0,-45]) // hole for top part mounting nut |
31 |
translate ([ 0, -x_size/3, thickness/3]) |
31 |
translate ([ 0, -x_size/3, thickness/3]) |
32 |
cube([5.5, 2.5, thickness], center = true); |
32 |
cube([6, 3, thickness], center = true); |
33 |
|
33 |
|
34 |
rotate([90,0,-45]) // hole for top part mounting screw. |
34 |
rotate([90,0,-45]) // hole for top part mounting screw. |
35 |
translate ([ 0, thickness/4, 0]) |
35 |
translate ([ 0, 1.8, 0]) |
36 |
cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10); |
36 |
cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10); |
37 |
|
37 |
|
38 |
} |
38 |
} |
39 |
|
39 |
|
40 |
|
40 |
|
- |
|
41 |
/* |
- |
|
42 |
|
41 |
translate ([0, 0, 3*thickness]) // separate two parts |
43 |
translate ([0, 0, 3*thickness]) // separate two parts |
42 |
|
44 |
|
- |
|
45 |
rotate([180,0,0]) // hole for top part mounting nut |
- |
|
46 |
|
43 |
|
47 |
|
44 |
//Top part |
48 |
//Top part |
45 |
|
49 |
|
46 |
difference () { |
50 |
difference () { |
47 |
|
51 |
|