From 9deb1884ee3ca3c03a7f31a2ff55dfb593d5388e Mon Sep 17 00:00:00 2001 From: Jan Huwald Date: Tue, 4 Feb 2014 14:29:00 +0100 Subject: full model: fix variable 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( -- cgit v0.10.1