summaryrefslogtreecommitdiff
path: root/full_model.scad
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2014-02-04 13:29:00 (GMT)
committerJan Huwald <jh@sotun.de>2014-02-04 13:29:00 (GMT)
commit9deb1884ee3ca3c03a7f31a2ff55dfb593d5388e (patch)
tree9a78cd36a265834bfa12a7ea2498711a9714fe75 /full_model.scad
parent204458e17ad84e6367e000ee7362ea34b976a4ad (diff)
full model: fix variable
Diffstat (limited to 'full_model.scad')
-rw-r--r--full_model.scad2
1 files changed, 1 insertions, 1 deletions
diff --git a/full_model.scad b/full_model.scad
index b1ef36f..4c848e6 100644
--- a/full_model.scad
+++ b/full_model.scad
@@ -10,7 +10,7 @@ module rand_color(base, seed1=0, seed2=0, seed3=0) {
}
for (x = [0:num_hdd_x])
- for (y = [0:num_hdd_x-1]) {
+ for (y = [0:num_hdd_y-1]) {
// front connector
rand_color([0.0, 0.8, 0.0], x, y) translate([bar_thickness/2 + x*tray_width, 0, y*tray_height])
front_connector(
contact: Jan Huwald // Impressum