// size of the array num_hdd_x = 4; num_hdd_y = 3; // space above hdd available for air flow cooling_height = 10; // thickness of the support bar bar_thickness = 10; // outer diameter of thread rod and nut used for support rod_diameter = 4; nut_diameter = 6; nut_height = 3; // dimensions of HDDs; not model-specific; current values are fake hdd_width = 101.6; hdd_height = 25.4; hdd_length = 146; // dimensions of the L-shaped rail between front and back rail_width = 15; rail_height = rail_width; rail_thickness = 1; // assumed space deviation of the resulting form; used to leave space // in holes so that screws and rods do not stuck pla_epsilon = 0.1; // dimension of a single hdd tray (hdd + space around) tray_height = hdd_height + max(cooling_height, 2 * bar_thickness + 10 * pla_epsilon); tray_width = hdd_width + bar_thickness;