Rev 4013 Rev 4014
Line 1... Line 1...
1 x_size = 30; // horizontal outer size of the aquarium pedestal. 1 x_size = 20; // horizontal outer size of the aquarium pedestal.
2 y_size = 30; // 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 = 10; // 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  
-   6 mount_hole = 3.5;
-   7 clear = 0.175;
-   8  
-   9  
-   10 // aquarium pad
5   11  
6 difference () { 12 difference () {
-   13 intersection() {
-   14 union(){ // bottom part with rim/fixing pin
-   15 rotate([0,0,45])
-   16 cube([x_size, y_size ,thickness], center = true);
-   17 translate ([sqrt(pow(x_size,2) + pow(x_size,2))/4, sqrt(pow(x_size,2) + pow(x_size,2))/4, thickness/2 + rim_height/2])
-   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  
-   20 };
-   21  
7 rotate([0,0,45]) 22 rotate([0,0,45])
8 cube([x_size, y_size ,thickness]); 23 cube([x_size, y_size ,4*thickness], center = true);
-   24 }
-   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
-   28 cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10);
-   29
-   30 rotate([0,0,-45]) // hole for top part mounting nut
-   31 translate ([ 0, -x_size/3, thickness/3])
-   32 cube([5.5, 2.5, thickness], center = true);
-   33  
-   34 rotate([90,0,-45]) // hole for top part mounting screw.
-   35 translate ([ 0, thickness/4, 0])
-   36 cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=10);
9   37  
10 // cube([x_size - 2* thickness, y_size - 2* thickness, pedestal_height - rim_height - thickness]); -  
11 } 38 }
12   39  
-   40  
-   41 translate ([0, 0, 3*thickness]) // separate two parts
-   42  
-   43  
-   44 //Top part
-   45  
-   46 difference () {
-   47  
-   48 rotate([0,0,-45])
-   49 translate ([0, -3, rim_height/3])
-   50 cube([x_size, y_size ,thickness + rim_height/4 ], center = true);
-   51  
-   52 rotate([90,0,-45])
13 translate ([0, 0, thickness]) 53 translate ([0, 0, rim_height/3])
-   54 minkowski() {
-   55 cube([0.5,3,10]);
-   56 cylinder(r=1.5,h=1,$fn=50);
-   57 }
-   58  
-   59 wall_thickness = 2;
-   60
-   61 union(){ // copy of bottom part
-   62 rotate([0,0,45])
-   63 cube([x_size, y_size ,thickness], center = true);
-   64 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])
14 cube([sqrt(pow(x_size,2) + pow(x_size,2))/2, sqrt(pow(x_size,2) + pow(x_size,2))/2, rim_height]); 65 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);
-   66  
-   67 };
-   68 }
15   69  
16   70