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.6; |
6 |
mount_hole = 3.7; |
7 |
clear = 0.175; |
7 |
clear = 0.175; |
8 |
|
8 |
|
9 |
|
9 |
|
10 |
// aquarium pad |
10 |
// aquarium pad |
11 |
|
11 |
|
Line 22... |
Line 22... |
22 |
rotate([0,0,45]) |
22 |
rotate([0,0,45]) |
23 |
cube([x_size, y_size ,4*thickness], center = true); // cut out half of top tip |
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 |
translate ([0, 0, -thickness]) // hole for the screw |
26 |
translate ([0, 0, -thickness]) // hole for the screw |
27 |
cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10); |
27 |
cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=20); |
28 |
|
28 |
|
29 |
|
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([6, 3, 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, 1.8, 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=20); |
37 |
|
37 |
|
38 |
} |
38 |
} |
39 |
|
39 |
|
40 |
|
40 |
|
41 |
/* |
- |
|
42 |
|
41 |
|
43 |
translate ([0, 0, 3*thickness]) // separate two parts |
- |
|
44 |
|
42 |
|
- |
|
43 |
//translate ([0, 0, thickness]) // separate two parts |
- |
|
44 |
|
45 |
rotate([180,0,0]) // hole for top part mounting nut |
45 |
/*rotate([180,0,0]) // hole for top part mounting nut |
46 |
|
46 |
|
47 |
|
47 |
|
48 |
//Top part |
48 |
//Top part |
49 |
|
49 |
|
50 |
difference () { |
50 |
union () { |
51 |
|
51 |
|
- |
|
52 |
wall_thickness = 3; |
- |
|
53 |
|
52 |
rotate([0,0,-45]) |
54 |
rotate([0,0,45]) |
53 |
translate ([0, -3, rim_height/3]) |
55 |
translate ([-wall_thickness, 0, 0]) |
- |
|
56 |
|
- |
|
57 |
difference () { |
- |
|
58 |
translate ([wall_thickness/2, 0, thickness/2 + 1.5*wall_thickness]) |
54 |
cube([x_size, y_size ,thickness + rim_height/4 ], center = true); |
59 |
cube([x_size - wall_thickness, y_size , wall_thickness ], center = true); |
55 |
|
60 |
|
56 |
rotate([90,0,-45]) |
61 |
rotate([0,0,-45]) |
- |
|
62 |
translate ([sqrt(pow(x_size,2) + pow(x_size,2))/4, sqrt(pow(x_size,2) + pow(x_size,2))/4 , rim_height]) |
- |
|
63 |
cube([sqrt(pow(x_size,2) + pow(x_size,2))/2, sqrt(pow(x_size,2) + pow(x_size,2))/2, 2*rim_height], center = true); |
- |
|
64 |
}; |
- |
|
65 |
|
- |
|
66 |
rotate([0,0,45]) |
57 |
translate ([0, 0, rim_height/3]) |
67 |
translate ([-8.3, 0, 0]) |
- |
|
68 |
|
58 |
minkowski() { |
69 |
difference () { |
- |
|
70 |
translate ([8.3/2, 0, thickness/2 + wall_thickness/2]) |
59 |
cube([0.5,3,10]); |
71 |
cube([x_size - 8.3, y_size , wall_thickness ], center = true); |
- |
|
72 |
|
60 |
cylinder(r=1.5,h=1,$fn=50); |
73 |
rotate([0,0,-45]) |
- |
|
74 |
translate ([sqrt(pow(x_size,2) + pow(x_size,2))/4, sqrt(pow(x_size,2) + pow(x_size,2))/4 , rim_height]) |
- |
|
75 |
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); |
61 |
} |
76 |
}; |
62 |
|
77 |
|
63 |
wall_thickness = 2; |
- |
|
64 |
|
78 |
|
65 |
union(){ // copy of bottom part |
- |
|
66 |
rotate([0,0,45]) |
79 |
rotate([0,0,-45]) |
- |
|
80 |
|
67 |
cube([x_size, y_size ,thickness], center = true); |
81 |
difference () { |
68 |
translate ([sqrt(pow(x_size,2) + pow(x_size,2))/4 -wall_thickness, sqrt(pow(x_size,2) + pow(x_size,2))/4 -wall_thickness, thickness/2 + rim_height/2]) |
- |
|
69 |
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); |
- |
|
70 |
|
82 |
|
- |
|
83 |
translate ([0, -y_size/2 - wall_thickness/2 , 1.25 * wall_thickness]) |
- |
|
84 |
cube([y_size, wall_thickness , thickness + 1.5*wall_thickness ], center = true); |
- |
|
85 |
|
- |
|
86 |
|
- |
|
87 |
rotate([90,0,0]) |
- |
|
88 |
translate ([-0.5/2, 0, rim_height/3]) |
- |
|
89 |
minkowski() { |
- |
|
90 |
cube([0.5,3.1,10]); |
- |
|
91 |
cylinder(r=1.5,h=1,$fn=50); |
71 |
}; |
92 |
} |
- |
|
93 |
} |
- |
|
94 |
|
- |
|
95 |
|
- |
|
96 |
|
72 |
} |
97 |
} |
73 |
|
98 |
|
74 |
|
99 |
|