summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2015-03-05 11:55:41 (GMT)
committerJan Huwald <jh@sotun.de>2015-03-05 11:55:41 (GMT)
commit36a4ff3ebe9620e070bc451d51831a472db79928 (patch)
tree147157d2b1b7c599c7e0de89cdfdf90116c473a5
parent980a919a5fa3fe5f404c4659f4fc8470c4ae00a0 (diff)
move connector_width to parameters
-rw-r--r--parameters.scad2
-rw-r--r--tray.scad1
2 files changed, 2 insertions, 1 deletions
diff --git a/parameters.scad b/parameters.scad
index f437c46..d130b40 100644
--- a/parameters.scad
+++ b/parameters.scad
@@ -64,6 +64,8 @@ epsilon = 0.0001;
tray_width = hdd_width + vrail_width/2;
tray_height = hdd_height + hrail_height;
+connector_width = vrail_width - 2*(1 + rail_thickness);
+
/// COMMON FUNCTIONS
// they do not belong here but are not enough to warrant a seperate
diff --git a/tray.scad b/tray.scad
index 0f165f6..8f24133 100644
--- a/tray.scad
+++ b/tray.scad
@@ -125,7 +125,6 @@ translate([lr*(W/2 + vrail_width/4), -D/2, H*lr*gender*0.3])
connector();
module connector() {
- connector_width = vrail_width - 2*(1 + rail_thickness);
intersection() {
translate([0, 2.5, 0]) ccube([connector_width, 5, 10]);
rotate([45, 0, 0]) ccube([connector_width, 5, 5]);
contact: Jan Huwald // Impressum