diff options
author | Jan Huwald <jh@sotun.de> | 2014-02-04 14:14:07 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2014-02-04 14:14:07 (GMT) |
commit | 7a57e259ab38d2bf92ac7b1a897637f0ccf82026 (patch) | |
tree | 7c9791a649db145fcdc4615a984661c7c92cc504 /full_model.scad | |
parent | 537dd8413ec6dd17c1753d520c067378c655c8e5 (diff) |
full model: add example hdd
Diffstat (limited to 'full_model.scad')
-rw-r--r-- | full_model.scad | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/full_model.scad b/full_model.scad index 4c848e6..dc9a523 100644 --- a/full_model.scad +++ b/full_model.scad @@ -1,6 +1,7 @@ include <parameters.scad> use <connector_front.scad> +use <hdd.scad> use <rail.scad> module rand_color(base, seed1=0, seed2=0, seed3=0) { @@ -42,3 +43,6 @@ 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); + +translate([bar_thickness + floor(num_hdd_x/2) * tray_width, -hdd_standout, bar_thickness + floor(num_hdd_y/2) * tray_height]) + color("Blue") hdd(); |