summaryrefslogtreecommitdiff
path: root/parameters.scad
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2015-02-25 22:07:33 (GMT)
committerJan Huwald <jh@sotun.de>2015-02-25 22:07:33 (GMT)
commit47c0592196c8335113888931a5a82056685ce872 (patch)
tree629b321e81580fa43fa608cceb7c417cca6e4c20 /parameters.scad
parent1eb220fe33b0a119773d6fd038a7df5076f3f50b (diff)
move computed variables into parameter file
Diffstat (limited to 'parameters.scad')
-rw-r--r--parameters.scad13
1 files changed, 13 insertions, 0 deletions
diff --git a/parameters.scad b/parameters.scad
index d402243..f437c46 100644
--- a/parameters.scad
+++ b/parameters.scad
@@ -57,3 +57,16 @@ large = 1000;
// A small quantity that does not change the print results. Use to
// displace surfaces of CSG operations to prevent them from overlapping.
epsilon = 0.0001;
+
+
+/// COMPUTED DIMENSIONS
+
+tray_width = hdd_width + vrail_width/2;
+tray_height = hdd_height + hrail_height;
+
+
+/// COMMON FUNCTIONS
+// they do not belong here but are not enough to warrant a seperate
+// file. sorry
+
+module ccube(x) cube(x, center=true);
contact: Jan Huwald // Impressum