From cd9a29848e1237be14395736d186bb63239d1b01 Mon Sep 17 00:00:00 2001 From: zhao Date: Sun, 20 Aug 2023 10:19:42 -0400 Subject: [PATCH] add dimensionHelper --- README.md | 6 +++++- rack-mount/dimensionHelper.scad | 10 ++++++++++ temp.txt | 0 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 rack-mount/dimensionHelper.scad create mode 100644 temp.txt diff --git a/README.md b/README.md index 54a51f5..44dd5f1 100644 --- a/README.md +++ b/README.md @@ -91,4 +91,8 @@ For generating a specific part: `python3 rbuild.py -b yBar -c micro -t custom` `rbuild.py` also support an optional `--nightly` flag, which will run a nightly build of OpenSCAD. Please make sure the -path to the nightly build is also configured in [rbuild.py](./rbuild.py). \ No newline at end of file +path to the nightly build is also configured in [rbuild.py](./rbuild.py). + +## Designing rack-mount items + +Some useful variables for designing your own rack-mount items can be found in [rack-mount/dimensionHelper.scad](./rack-mount/dimensionHelper.scad). \ No newline at end of file diff --git a/rack-mount/dimensionHelper.scad b/rack-mount/dimensionHelper.scad new file mode 100644 index 0000000..ec08944 --- /dev/null +++ b/rack-mount/dimensionHelper.scad @@ -0,0 +1,10 @@ +include <./common.scad> + +// OpenSCAD script to output some helpful dimensions for creating new rack-mount items: + +echo("Vertical distance between 2 main rail holes: ", screwDiff); +echo("Horizontal distance between 2 opposing main rail holes: ", rackMountScrewWidth); + +echo("Max supported rack-mount width: ", maxUnitWidth); +echo("Max recommended rack-mount depth: ", maxUnitDepth); + diff --git a/temp.txt b/temp.txt new file mode 100644 index 0000000..e69de29