blob: 6fad0e7320725f047776ca2eec461a1b6c409cbf (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
// size of the array
num_hdd_x = 4;
num_hdd_y = 5;
// space above hdd available for air flow
cooling_height = 10;
// thickness of the support bar
bar_thickness = 10;
// length hdd is standing out to be grabbed
hdd_standout = 25;
// dimensions of the backplane PCB
backplane_width = 70;
backplane_height = 30;
backplane_thickness = 1.6;
// offsets of the backplane relative to the hdd
backplane_hoffset = -(bar_thickness - 2);
backplane_voffset = -(bar_thickness - 2);
// display only: dimensions and offsets of the SATA connector relative
// to the backplane
backplane_con_width = 45;
backplane_con_height = 5;
backplane_con_depth = 10;
backplane_con_hoffset = 5 - backplane_hoffset;
backplane_con_voffset = 15;
// outer diameter of thread rod and nut used for support
rod_diameter = 4;
nut_diameter = 6;
nut_height = 3;
// dimensions of HDDs; not model-specific
hdd_width = 101.6;
hdd_height = 25.4;
hdd_length = 146;
// dimensions of the L-shaped rail between front and back
rail_width = 15;
rail_height = rail_width;
rail_thickness = 1;
// assumed space deviation of the resulting form; used to leave space
// in holes so that screws and rods do not stuck
pla_epsilon = 0.1;
// dimension of a single hdd tray (hdd + space around)
tray_height = hdd_height + max(cooling_height, 2 * bar_thickness + 10 * pla_epsilon);
tray_width = hdd_width + bar_thickness;
|