summaryrefslogtreecommitdiff
path: root/full_model.scad
diff options
context:
space:
mode:
Diffstat (limited to 'full_model.scad')
-rw-r--r--full_model.scad20
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) {
contact: Jan Huwald // Impressum