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