diff options
author | Jan Huwald <jh@sotun.de> | 2015-02-19 16:21:08 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2015-02-19 16:21:08 (GMT) |
commit | 73618d4e789fa1df0f9357646a76f7451d025208 (patch) | |
tree | 20b5cb441751b5223bf022b4522323141c85554e /parameters.scad | |
parent | b6fcfb4e3b47cb197c273293340d52450245617d (diff) |
split into tray, front, side; adapt params; add side
Diffstat (limited to 'parameters.scad')
-rw-r--r-- | parameters.scad | 55 |
1 files changed, 11 insertions, 44 deletions
diff --git a/parameters.scad b/parameters.scad index c0291cd..d8b36e3 100644 --- a/parameters.scad +++ b/parameters.scad @@ -2,37 +2,26 @@ // size of the array num_hdd_x = 4; -num_hdd_y = 5; +num_hdd_y = 4; /// PRIMARY DIMENSIONS -// space above hdd available for air flow -cooling_height = 10; +// width of vertical and horizontal bars +vrail_width = 15; +hrail_height = 15; -// thickness of the support bar -bar_thickness = 10; +// depth of front and back +front_depth = 15; +back_depth = 6; // length hdd is standing out to be grabbed -hdd_standout = 25; - -// back connector pole depth and shunt space (only used when multipe -// parts are required to build one pole) -pole_depth = 20; -pole_overlap_shunt = 2; -pole_cable_funnel_width = 3; - -/// METAL PARTS: SCREWS AND RAILS - -// outer diameter of thread rod and nut used for support -rod_diameter = 4; -nut_diameter = 6; -nut_height = 3; +hdd_standout = 15; // dimensions of the L-shaped rail between front and back -rail_width = 15; +rail_width = 20; rail_height = rail_width; -rail_thickness = 1; +rail_thickness = 2; /// HDD SIZE (from spec) @@ -55,29 +44,7 @@ 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; - - -/// PCB DIMENSIONS - -// free space around backplanes -backplane_margin = 1; - -// dimensions of the backplane PCB -backplane_width = tray_width / 2 + 2 * bar_thickness; -backplane_height = tray_height - 2 * backplane_margin; -backplane_thickness = 1.6; - -// offsets of the backplane relative to the hdd -backplane_hoffset = -backplane_margin - bar_thickness/2; -backplane_voffset = backplane_margin; - -// 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; +tray_length = hdd_length - hdd_standout; /// OPENSCAD HACKS |