Electronic Stand (CadQuery)
Cadquery 3D Stand
Inspired by the adafruit pi zero stand: https://learn.adafruit.com/raspberry-pi-zero-stand
I created a stand for my orange-pi zero. (config: [44.5, 49])
I generalized the CadQuery code for any projects that want to use this stand design.
Website Generator
The following webpage can be used to generate and download the custom STL model.
A STL viewer is also embedded in the webpage.
Drag the download pop-up into the viewer window to see the mode.
http://172.233.238.31/stand
Deployed with: Linode server, uvicorn, fastapi, cadquery, and docker.
Local Docker Usage Instructions
Requirements:
-Docker installed
-main.py downloaded
-config.json downloaded
The following command uses the official cadquery docker container to run the script.
docker run -it --rm \ -v $(pwd):/mount \ cadquery/cadquery \ python /mount/main.py \ --config /mount/config.json \ --output /mount/mount.stlConfig File
Each [w, h] dimension defines the rectangular mounting dimensions in mm.
The config below would create two rectangular mounting brackets.
{ "mounts": [ [50, 50], [10, 10], ], "angle": 60.0, "screw_size": 2.4, "edge_padding": 5.0, "padding": 10.0, "thickness": 3.0}