Rev Author Line No. Line
4051 kaklik 1 x_size = 23; // horizontal outer size of the aquarium pedestal.
4014 kaklik 2 y_size = 20; //
4013 kaklik 3 thickness = 10; // thickness of the pad bellow aquarium. hairs lenght is 12mm.
4014 kaklik 4 rim_height = 7; // height of upper rim for fixing the aquarium in position.
4012 kaklik 5  
4045 kaklik 6 mount_hole = 3.7;
4014 kaklik 7 clear = 0.175;
4051 kaklik 8 axis_offset = -1.5;
4014 kaklik 9  
10 // aquarium pad
11  
4012 kaklik 12 difference () {
4014 kaklik 13 intersection() {
14 union(){ // bottom part with rim/fixing pin
15 rotate([0,0,45])
4051 kaklik 16 translate ([ axis_offset, 0, 0])
17 cube([x_size, y_size ,thickness], center = true);
4014 kaklik 18 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])
19 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);
4012 kaklik 20  
4014 kaklik 21 };
22  
23 rotate([0,0,45])
4051 kaklik 24 translate ([ axis_offset, 0, 0])
4017 kaklik 25 cube([x_size, y_size ,4*thickness], center = true); // cut out half of top tip
4014 kaklik 26 }
4017 kaklik 27 cylinder (h = thickness + rim_height, r= mount_hole, $fn=20); // hole for screw head
4014 kaklik 28 translate ([0, 0, -thickness]) // hole for the screw
4045 kaklik 29 cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=20);
4014 kaklik 30  
4017 kaklik 31  
4014 kaklik 32 rotate([0,0,-45]) // hole for top part mounting nut
4051 kaklik 33 translate ([ 0, -y_size/3, thickness/3])
4017 kaklik 34 cube([6, 3, thickness], center = true);
4014 kaklik 35  
36 rotate([90,0,-45]) // hole for top part mounting screw.
4017 kaklik 37 translate ([ 0, 1.8, 0])
4045 kaklik 38 cylinder (h = thickness + rim_height, r= mount_hole/2, $fn=20);
4014 kaklik 39  
4143 kaklik 40 rotate([0,-45,-45]) // hole for top part mounting nut
41 translate ([ 0, 0, -11])
42 cube([30, 30, 1], center = true);
43  
44 rotate([0,45,-45]) // hole for top part mounting nut
45 translate ([ 0, 0, -11])
46 cube([30, 30, 1], center = true);
47  
48 rotate([0,45,45]) // hole for top part mounting nut
49 translate ([ 0, 0, -13])
50 cube([30, 30, 1], center = true);
51  
52 rotate([0,-45,45]) // hole for top part mounting nut
53 translate ([ 0, 0, -11])
54 cube([30, 30, 1], center = true);
4012 kaklik 55 }
56  
57  
4017 kaklik 58  
4045 kaklik 59 //translate ([0, 0, thickness]) // separate two parts
4014 kaklik 60  
4045 kaklik 61 /*rotate([180,0,0]) // hole for top part mounting nut
4017 kaklik 62  
4045 kaklik 63  
4014 kaklik 64 //Top part
65  
4045 kaklik 66 union () {
4014 kaklik 67  
4045 kaklik 68 wall_thickness = 3;
4014 kaklik 69  
4045 kaklik 70 rotate([0,0,45])
71 translate ([-wall_thickness, 0, 0])
72  
73 difference () {
74 translate ([wall_thickness/2, 0, thickness/2 + 1.5*wall_thickness])
75 cube([x_size - wall_thickness, y_size , wall_thickness ], center = true);
76  
77 rotate([0,0,-45])
78 translate ([sqrt(pow(x_size,2) + pow(x_size,2))/4, sqrt(pow(x_size,2) + pow(x_size,2))/4 , rim_height])
79 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);
80 };
81  
82 rotate([0,0,45])
83 translate ([-8.3, 0, 0])
84  
85 difference () {
86 translate ([8.3/2, 0, thickness/2 + wall_thickness/2])
87 cube([x_size - 8.3, y_size , wall_thickness ], center = true);
88  
89 rotate([0,0,-45])
90 translate ([sqrt(pow(x_size,2) + pow(x_size,2))/4, sqrt(pow(x_size,2) + pow(x_size,2))/4 , rim_height])
91 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);
92 };
93  
94  
95 rotate([0,0,-45])
96  
97 difference () {
98  
99 translate ([0, -y_size/2 - wall_thickness/2 , 1.25 * wall_thickness])
100 cube([y_size, wall_thickness , thickness + 1.5*wall_thickness ], center = true);
101  
102  
103 rotate([90,0,0])
104 translate ([-0.5/2, 0, rim_height/3])
105 minkowski() {
106 cube([0.5,3.1,10]);
107 cylinder(r=1.5,h=1,$fn=50);
108 }
4014 kaklik 109 }
110  
4045 kaklik 111  
4014 kaklik 112  
113 }
114  
115