blob: d2f18e05e20094cd3163e0521ddd461205416209 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
include <parameters.scad>
use <entry.scad>
use <tray.scad>
use <side.scad>
use <hdd.scad>
use <rail.scad>
tray_width = hdd_width + vrail_width;
tray_height = hdd_height + hrail_height;
//for (x = [0:num_hdd_x])
assign(x=0)
translate([x * tray_width, (hdd_length - hdd_standout)/2 - 7.5, - 1])
rotate([0, 0, -90])
entry();
//for (x = [0:num_hdd_x-1])
assign(x=0)
translate([(x + 0.5) * tray_width, 0, 0])
# front();
echo("MODEL INFO: total height = ", num_hdd_y * tray_height);
echo("MODEL INFO: total width = ", num_hdd_x * tray_width + bar_thickness);
|