From 2b1d694d4cfc90b8b353f779931f2489076da87d Mon Sep 17 00:00:00 2001 From: zhao Date: Sun, 25 Aug 2024 22:48:44 -0400 Subject: [PATCH] Add new catalog directory to store various rack-mount part configs. Also add some old beelink and mele mini pc tray configs. --- README.md | 25 +++++++----- rack-mount/catalog/README.md | 6 +++ rack-mount/catalog/beelink-mini-s-tray.scad | 40 +++++++++++++++++++ rack-mount/catalog/mele-quieter-tray.scad | 23 +++++++++++ .../{one-offs => catalog/parts}/sfxPSU.scad | 0 .../rpi-sbc-simple-box}/case.scad | 0 .../rpi-sbc-simple-box}/frontPlate.scad | 0 .../rpi-sbc-simple-box}/top.scad | 0 rack-mount/tray/entry.scad | 2 +- rack-mount/tray/tray.scad | 3 +- 10 files changed, 87 insertions(+), 12 deletions(-) create mode 100644 rack-mount/catalog/README.md create mode 100644 rack-mount/catalog/beelink-mini-s-tray.scad create mode 100644 rack-mount/catalog/mele-quieter-tray.scad rename rack-mount/{one-offs => catalog/parts}/sfxPSU.scad (100%) rename rack-mount/{one-offs/rpi => catalog/rpi-sbc-simple-box}/case.scad (100%) rename rack-mount/{one-offs/rpi => catalog/rpi-sbc-simple-box}/frontPlate.scad (100%) rename rack-mount/{one-offs/rpi => catalog/rpi-sbc-simple-box}/top.scad (100%) diff --git a/README.md b/README.md index fead1ab..efd3bf6 100644 --- a/README.md +++ b/README.md @@ -61,15 +61,6 @@ but beware of PLA's thermal limits. Higher infill is recommended for all parts. - Side rails are mounted using M3 hex nuts and screws. -## Trays, Boxes, etc - -Some parametric rack mount systems can be found in [rack-mount](./rack-mount). The following rack-mount systems -are currently supported: -- [Enclosed Box](./rack-mount/enclosed-box): For mounting box-shaped objects, without the need for any mounting holes on the box. -- [Tray](./rack-mount/tray): Simple tray mounted using only the front rails. Can be configured to have screw mounts at the bottom of the tray. -- [Patch Panel](./rack-mount/patch-panel): Linear patch panel array. Number of keystone slots can be configured. - - ## Configuring + Generating STLs A python script: [rbuild.py](./rbuild.py) is provided to generate different project stls. **Before running the script**, please configure the path to the OpenSCAD binary in [rbuild.py](./rbuild.py). @@ -99,6 +90,20 @@ path to the nightly build is also configured in [rbuild.py](./rbuild.py). Before committing to a full print, please try printing an evaluation print: [eval_P.scad](./rack/print/eval_P.scad) to test tolerances. It is very likely you will need to edit the default tolerances in [print.scad](./config/print.scad) for a nice fit. + +## Trays, Boxes, etc + +Some parametric rack mount systems can be found in [rack-mount](./rack-mount). The following rack-mount systems +are currently supported: +- [Enclosed Box](./rack-mount/enclosed-box): For mounting box-shaped objects, without the need for any mounting holes on the box. +- [Tray](./rack-mount/tray): Simple tray mounted using only the front rails. Can be configured to have screw mounts at the bottom of the tray. +- [Patch Panel](./rack-mount/patch-panel): Linear patch panel array. Number of keystone slots can be configured. + +## Rack Mount Catalog + +There is a small catalog of various pre-configured rack-mountable parts in the [catalog](./rack-mount/catalog) directory. Please feel free to add anything even remotely +useful! + ## 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 +Some useful variables for designing your own rack-mount items can be found in [rack-mount/dimensionHelper.scad](./rack-mount/dimensionHelper.scad). diff --git a/rack-mount/catalog/README.md b/rack-mount/catalog/README.md new file mode 100644 index 0000000..11b2d49 --- /dev/null +++ b/rack-mount/catalog/README.md @@ -0,0 +1,6 @@ +# Rack Mount Catalog + +A hodgepodge of various pre-configured rack mount parts. + +Please feel free to submit a pull request for any new parts you end up creating! Code quality is no object here. + diff --git a/rack-mount/catalog/beelink-mini-s-tray.scad b/rack-mount/catalog/beelink-mini-s-tray.scad new file mode 100644 index 0000000..3cb140b --- /dev/null +++ b/rack-mount/catalog/beelink-mini-s-tray.scad @@ -0,0 +1,40 @@ +use <../tray/tray.scad> + +/* + Simple tray for a beelink mini-s series mini pc. + + Please make sure to configure the correct rack frame dimensions in rackFrame.scad. +*/ + +difference () { + bottomScrewTray ( + u = 4, + trayWidth = 130, + trayDepth = 110, + trayThickness = 3, + frontLipHeight = 3, + backLipHeight = 5, + mountPoints = [[44, 8], [44+35, 8]], + frontThickness = 3, + sideThickness = 3, + mountPointElevation = 1, + mountPointType = "m3", + sideSupport = true, + trayLeftPadding = 15 + ); + + + // perforations for airflow translate(v=[-4, 5, 18]) { + rotate(a=[0,90,0]) + rotate(a=[0,0,45]) + cube(size=[18, 18, 135]); + + + translate(v=[0, 28, -4]) + rotate(a=[0,90,0]) + rotate(a=[0,0,45]) + cube(size=[12,12,135]); + + } + +} diff --git a/rack-mount/catalog/mele-quieter-tray.scad b/rack-mount/catalog/mele-quieter-tray.scad new file mode 100644 index 0000000..66ceda2 --- /dev/null +++ b/rack-mount/catalog/mele-quieter-tray.scad @@ -0,0 +1,23 @@ +use <../tray/tray.scad> + +/* + Simple tray for a mele quieter series mini pc. + + Please make sure to configure the correct rack frame dimensions in rackFrame.scad. +*/ + +bottomScrewTray ( + u = 2, + trayWidth = 145, + trayDepth = 88, + trayThickness = 3, + frontLipHeight = 3, + backLipHeight = 2, + mountPoints = [[27.5, 34], [107, 34]], + frontThickness = 3, + sideThickness = 3, + mountPointElevation = 1, + mountPointType = "m3", + sideSupport = true, + trayLeftPadding = 10 +); diff --git a/rack-mount/one-offs/sfxPSU.scad b/rack-mount/catalog/parts/sfxPSU.scad similarity index 100% rename from rack-mount/one-offs/sfxPSU.scad rename to rack-mount/catalog/parts/sfxPSU.scad diff --git a/rack-mount/one-offs/rpi/case.scad b/rack-mount/catalog/rpi-sbc-simple-box/case.scad similarity index 100% rename from rack-mount/one-offs/rpi/case.scad rename to rack-mount/catalog/rpi-sbc-simple-box/case.scad diff --git a/rack-mount/one-offs/rpi/frontPlate.scad b/rack-mount/catalog/rpi-sbc-simple-box/frontPlate.scad similarity index 100% rename from rack-mount/one-offs/rpi/frontPlate.scad rename to rack-mount/catalog/rpi-sbc-simple-box/frontPlate.scad diff --git a/rack-mount/one-offs/rpi/top.scad b/rack-mount/catalog/rpi-sbc-simple-box/top.scad similarity index 100% rename from rack-mount/one-offs/rpi/top.scad rename to rack-mount/catalog/rpi-sbc-simple-box/top.scad diff --git a/rack-mount/tray/entry.scad b/rack-mount/tray/entry.scad index 969318c..e3fbfce 100644 --- a/rack-mount/tray/entry.scad +++ b/rack-mount/tray/entry.scad @@ -59,4 +59,4 @@ mountPoints = [ ); } -traySystem(); \ No newline at end of file +traySystem(); diff --git a/rack-mount/tray/tray.scad b/rack-mount/tray/tray.scad index a7f7146..58cf398 100644 --- a/rack-mount/tray/tray.scad +++ b/rack-mount/tray/tray.scad @@ -89,4 +89,5 @@ module bottomScrewTray(u, trayWidth, trayDepth, trayThickness, mountPoints, moun } -} \ No newline at end of file + +}