Problem with comparison.
/Designs/Measuring_instruments/RMDS02D/CAD/src/terarium_pad.scad
0,0 → 1,16
x_size = 30; // horizontal outer size of the aquarium pedestal.
y_size = 30; //
thickness = 10; // thickness of the pad bellow aquarium. hairs lenght is 12mm.
rim_height = 10; // height of upper rim for fixing the aquarium in position.
 
difference () {
rotate([0,0,45])
cube([x_size, y_size ,thickness]);
 
// cube([x_size - 2* thickness, y_size - 2* thickness, pedestal_height - rim_height - thickness]);
}
 
translate ([0, 0, thickness])
cube([sqrt(pow(x_size,2) + pow(x_size,2))/2, sqrt(pow(x_size,2) + pow(x_size,2))/2, rim_height]);
 
 
/Designs/Measuring_instruments/RMDS02D/CAD/src/Enclosure_pedestal.scad
0,0 → 1,15
pedestal_height = 130; // height of pedestal
x_size = 250; // horizontal outer size of the aquarium pedestal.
y_size = 300; //
thickness = 10; // thickness of walls
rim_height = 10; // height of upper rim for fixing the aquarium in position.
 
difference () {
cube([x_size, y_size ,pedestal_height]);
translate ([thickness, thickness, pedestal_height - rim_height)
cube([x_size - 2* thickness, y_size - 2* thickness, thickness]);
 
cube([x_size - 2* thickness, y_size - 2* thickness, pedestal_height - rim_height - thickness]);
}