diff options
author | Jan Huwald <jh@sotun.de> | 2014-02-11 14:59:28 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2014-02-11 14:59:28 (GMT) |
commit | a1bad625198219ea4321f7b436ece961e27ef164 (patch) | |
tree | c745de4cb1503d5beb540991b4b85910d1c6896e /full_model.scad | |
parent | ca2f77bfabd2fc53545c4f241d5747902f4c1fe8 (diff) |
full model: back connector border conditions
Diffstat (limited to 'full_model.scad')
-rw-r--r-- | full_model.scad | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/full_model.scad b/full_model.scad index 471a009..22621f6 100644 --- a/full_model.scad +++ b/full_model.scad @@ -17,16 +17,22 @@ for (y = [0:num_hdd_y-1]) translate([bar_thickness/2 + x*tray_width, 0, y*tray_height]) { // front connector rand_color([0.0, 0.8, 0.0], x, y) - front_connector( - border_left = x == 0, - border_right = x == num_hdd_x, - border_top = y == num_hdd_y - 1, - border_bottom = y == 0 - ); + front_connector( + border_left = x == 0, + border_right = x == num_hdd_x, + border_top = y == num_hdd_y - 1, + border_bottom = y == 0 + ); // TODO: back connector + rand_color([0.0, 0.8, 0.0], y, x) translate([0, hdd_length - hdd_standout - bar_thickness, 0]) - back_connector(); + back_connector( + border_left = x == 0, + border_right = x == num_hdd_x, + border_top = y == num_hdd_y - 1, + border_bottom = y == 0 + ); // internal elements (that have nothing right of the last hdd column) if (x != num_hdd_x) { |