summaryrefslogtreecommitdiff
path: root/connector_front.scad
diff options
context:
space:
mode:
Diffstat (limited to 'connector_front.scad')
-rw-r--r--connector_front.scad42
1 files changed, 5 insertions, 37 deletions
diff --git a/connector_front.scad b/connector_front.scad
index e15089d..413f90b 100644
--- a/connector_front.scad
+++ b/connector_front.scad
@@ -1,37 +1,7 @@
-// PARAMETERS
+include <parameters.scad>
-// space above hdd available for air flow
-cooling_height = 10;
-
-// thickness of the support bar
-bar_thickness = 10;
-
-// diameter of thread rod used for support
-rod_diameter = 4;
-
-// dimensions of HDDs; not model-specific; current values are fake
-hdd_width = 80;
-hdd_height = 30;
-hdd_length = 100;
-
-// dimensions of the L-shaped rail between front and back
-rail_width = 15;
-rail_height = rail_width;
-rail_thickness = 1;
-
-// dimension of a single hdd tray (hdd + space around)
-tray_height = hdd_height + cooling_height + rail_thickness;
-tray_width = hdd_width + bar_thickness;
-
-pla_epsilon = 0.1;
-
-
-// CONSTRUCTION
-
-module nipple(e = 0) {
- rotate([0, 180, 0])
- cylinder(h = bar_thickness / 4 + e, r1 = bar_thickness / 4 + e, r2 = 0, $fs=0.1);
-}
+use <nipple.scad>
+use <rail.scad>
module half() difference() {
union() {
@@ -54,10 +24,8 @@ module half() difference() {
}
// receiver for rail
- translate([bar_thickness/2 - rail_thickness, 0, bar_thickness - rail_thickness]) {
- cube([rail_thickness, bar_thickness, rail_height]);
- cube([rail_width, bar_thickness, rail_thickness]);
- }
+ translate([bar_thickness/2 - rail_thickness, 0, bar_thickness - rail_thickness])
+ rail();
// holes for thread rods (horizontal, vertical)
translate([0, bar_thickness / 2, 0])
contact: Jan Huwald // Impressum