diff options
-rw-r--r-- | full_model.scad | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/full_model.scad b/full_model.scad index 7f139d4..471a009 100644 --- a/full_model.scad +++ b/full_model.scad @@ -31,10 +31,14 @@ translate([bar_thickness/2 + x*tray_width, 0, y*tray_height]) { // internal elements (that have nothing right of the last hdd column) if (x != num_hdd_x) { // rails - rand_color([0.7, 0.7, 0.7], -x, y) translate([bar_thickness - rail_thickness, 0, bar_thickness - rail_thickness]) - rail(); - rand_color([0.7, 0.7, 0.7], x, -y) translate([tray_width + rail_thickness, 0, bar_thickness - rail_thickness]) - mirror() rail(); + rand_color([0.7, 0.7, 0.7], -x, y) + translate([bar_thickness/2 - rail_thickness, 0, bar_thickness - rail_thickness]) + rail(); + + rand_color([0.7, 0.7, 0.7], x, -y) + translate([tray_width + rail_thickness - bar_thickness/2, 0, bar_thickness - rail_thickness]) + mirror() + rail(); // backplane (to be inserted into the back connector) translate([bar_thickness + backplane_hoffset, hdd_length - hdd_standout, @@ -48,9 +52,10 @@ for (x = [0:num_hdd_x]) translate([bar_thickness/2 + x * tray_width, bar_thickness/2, -tray_height/2]) cylinder(h = (num_hdd_y + 1) * tray_height, r = rod_diameter/2, $fs=0.1); +// vertical front screws for (x = [0:num_hdd_x-1]) for (y = [0:num_hdd_y-1]) - translate([(x + 0.5) * tray_width - bar_thickness/2, bar_thickness * 1.5, (y+1) * tray_height - bar_thickness/2]) + translate([(x + 0.5) * tray_width - bar_thickness, bar_thickness * 1.5, (y+1) * tray_height - bar_thickness/2]) rotate([0, 90, 0]) cylinder(h = 3 * bar_thickness, r = rod_diameter/2, $fs=0.1); |