/Designs/Measuring_instruments/RMDS02D/CAD/src/terarium_pad.scad
1,4 → 1,4
x_size = 20; // horizontal outer size of the aquarium pedestal.
x_size = 23; // horizontal outer size of the aquarium pedestal.
y_size = 20; //
thickness = 10; // thickness of the pad bellow aquarium. hairs lenght is 12mm.
rim_height = 7; // height of upper rim for fixing the aquarium in position.
5,8 → 5,8
 
mount_hole = 3.7;
clear = 0.175;
axis_offset = -1.5;
 
 
// aquarium pad
 
difference () {
13,7 → 13,8
intersection() {
union(){ // bottom part with rim/fixing pin
rotate([0,0,45])
cube([x_size, y_size ,thickness], center = true);
translate ([ axis_offset, 0, 0])
cube([x_size, y_size ,thickness], center = true);
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])
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);
 
20,6 → 21,7
};
 
rotate([0,0,45])
translate ([ axis_offset, 0, 0])
cube([x_size, y_size ,4*thickness], center = true); // cut out half of top tip
}
cylinder (h = thickness + rim_height, r= mount_hole, $fn=20); // hole for screw head
28,7 → 30,7
rotate([0,0,-45]) // hole for top part mounting nut
translate ([ 0, -x_size/3, thickness/3])
translate ([ 0, -y_size/3, thickness/3])
cube([6, 3, thickness], center = true);
 
rotate([90,0,-45]) // hole for top part mounting screw.
39,7 → 41,6
 
 
 
 
//translate ([0, 0, thickness]) // separate two parts
 
/*rotate([180,0,0]) // hole for top part mounting nut