diff options
author | Jan Huwald <jh@sotun.de> | 2015-02-25 22:07:33 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2015-02-25 22:07:33 (GMT) |
commit | 47c0592196c8335113888931a5a82056685ce872 (patch) | |
tree | 629b321e81580fa43fa608cceb7c417cca6e4c20 /parameters.scad | |
parent | 1eb220fe33b0a119773d6fd038a7df5076f3f50b (diff) |
move computed variables into parameter file
Diffstat (limited to 'parameters.scad')
-rw-r--r-- | parameters.scad | 13 |
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); |