Rev 4017 Rev 4045
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 union () {
-   51  
-   52 wall_thickness = 3;
-   53  
-   54 rotate([0,0,45])
-   55 translate ([-wall_thickness, 0, 0])
-   56  
50 difference () { 57 difference () {
-   58 translate ([wall_thickness/2, 0, thickness/2 + 1.5*wall_thickness])
-   59 cube([x_size - wall_thickness, y_size , wall_thickness ], center = true);
-   60  
-   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])
-   67 translate ([-8.3, 0, 0])
-   68  
-   69 difference () {
-   70 translate ([8.3/2, 0, thickness/2 + wall_thickness/2])
-   71 cube([x_size - 8.3, y_size , wall_thickness ], center = true);
-   72  
-   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);
-   76 };
-   77  
51   78
52 rotate([0,0,-45]) 79 rotate([0,0,-45])
53 translate ([0, -3, rim_height/3]) -  
54 cube([x_size, y_size ,thickness + rim_height/4 ], center = true); -  
55   80  
-   81 difference () {
-   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
56 rotate([90,0,-45]) 87 rotate([90,0,0])
57 translate ([0, 0, rim_height/3]) 88 translate ([-0.5/2, 0, rim_height/3])
58 minkowski() { 89 minkowski() {
59 cube([0.5,3,10]); 90 cube([0.5,3.1,10]);
60 cylinder(r=1.5,h=1,$fn=50); 91 cylinder(r=1.5,h=1,$fn=50);
61 } 92 }
-   93 }
62   94  
63 wall_thickness = 2; -  
64 95  
65 union(){ // copy of bottom part -  
66 rotate([0,0,45]) -  
67 cube([x_size, y_size ,thickness], center = true); -  
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   96
71 }; -  
72 } 97 }
73   98  
74   99