include use use use use use tray_width = hdd_width + vrail_width; tray_height = hdd_height + hrail_height; //for (x = [0:num_hdd_x]) assign(x=0) translate([x * tray_width, (hdd_length - hdd_standout)/2 - 7.5, - 1]) rotate([0, 0, -90]) entry(); //for (x = [0:num_hdd_x-1]) assign(x=0) translate([(x + 0.5) * tray_width, 0, 0]) # front(); echo("MODEL INFO: total height = ", num_hdd_y * tray_height); echo("MODEL INFO: total width = ", num_hdd_x * tray_width + bar_thickness);