diff options
author | Jan Huwald <jh@sotun.de> | 2014-02-11 12:27:30 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2014-02-11 12:27:30 (GMT) |
commit | 072efd5ee95e95e3f5b47a876236649805172092 (patch) | |
tree | 2dcb32eff46c6ae204d81e3f4e22d599ce03c8d8 /full_model.scad | |
parent | 93083e1262ce68048a5ed5006493ec3fe1fb69ba (diff) |
replace vertical thread bar width screws
Diffstat (limited to 'full_model.scad')
-rw-r--r-- | full_model.scad | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/full_model.scad b/full_model.scad index b0c0a2f..aec1780 100644 --- a/full_model.scad +++ b/full_model.scad @@ -45,10 +45,11 @@ 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); -for (y = [0:num_hdd_y-1]) - translate([-tray_width/4, bar_thickness * 1.5, (y+1) * tray_height - bar_thickness/2]) - rotate([0, 90, 0]) - cylinder(h = (num_hdd_x + 0.5) * tray_width, r = rod_diameter/2, $fs=0.1); +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]) + rotate([0, 90, 0]) + cylinder(h = 3 * bar_thickness, r = rod_diameter/2, $fs=0.1); translate([bar_thickness + floor(num_hdd_x/2) * tray_width, -hdd_standout, bar_thickness + floor(num_hdd_y/2) * tray_height]) color("Blue") hdd(); |