{"id":23696010,"url":"https://github.com/pmuller/led-matrix-enclosure","last_synced_at":"2026-06-29T21:02:05.853Z","repository":{"id":270290726,"uuid":"909903778","full_name":"pmuller/led-matrix-enclosure","owner":"pmuller","description":"Parametric LED matrix enclosure generator","archived":false,"fork":false,"pushed_at":"2024-12-30T03:57:06.000Z","size":102,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T15:49:23.932Z","etag":null,"topics":["3d-printing","cad","led"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmuller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-30T02:52:14.000Z","updated_at":"2025-05-12T19:20:45.000Z","dependencies_parsed_at":"2024-12-30T04:30:00.098Z","dependency_job_id":null,"html_url":"https://github.com/pmuller/led-matrix-enclosure","commit_stats":null,"previous_names":["pmuller/led-matrix-enclosure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmuller/led-matrix-enclosure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fled-matrix-enclosure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fled-matrix-enclosure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fled-matrix-enclosure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fled-matrix-enclosure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmuller","download_url":"https://codeload.github.com/pmuller/led-matrix-enclosure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fled-matrix-enclosure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34942665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-printing","cad","led"],"created_at":"2024-12-30T05:58:33.468Z","updated_at":"2026-06-29T21:02:05.831Z","avatar_url":"https://github.com/pmuller.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LED Matrix Enclosure Generator\n\nA Python tool to generate 3D printable enclosures for LED matrix panels.\nBuilt with [build123d](https://github.com/gumyr/build123d).\n\n## Disclaimer\n\nThis project is a work in progress.\nWhile it satisfies my own requirements,\nit might not be suitable for your specific needs.\nFeel free to fork and modify it to your needs.\n\n## Features\n\n- Supports multiple [LED matrix panel](https://www.aliexpress.com/item/4001296811800.html)\n  sizes (8x8, 16x16, 32x8)\n- Modular design allowing multiple panels to be connected together\n- Customizable grid and diffuser for even light distribution\n- Wire management slots for clean cable routing\n- Robust mounting system with support pillars and borders\n- Configurable parameters for fine-tuning the design\n\n## Requirements\n\n- Python 3.12+\n- [uv](https://docs.astral.sh/uv/)\n- VSCode and the\n  [OCP CAD Viewer](https://github.com/bernhard-42/vscode-ocp-cad-viewer/tree/main)\n  extension\n\n## Installation\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/pmuller/led-matrix-enclosure.git\n# 2. First cd into the cloned directory\ncd led-matrix-enclosure\n# 3. Then sync dependencies\nuv pip sync\n# 4. Source the virtual environment\n. .venv/bin/activate\n```\n\n## Usage\n\nThe tool provides a CLI to generate enclosure models:\n\n```bash\nled-matrix-enclosure 16x16,16x16 32x8 --enclosure-layout 2x1\n```\n\nThis will generate an enclosure for two 16x16 LED matrices arranged horizontally on the 1st row,\nand a 32x8 LED matrix on the 2nd row.\n\n### Key Parameters\n\n- LED Matrix Layout: Specify panel sizes and arrangement (e.g. \"16x16,16x16\" for two 16x16 panels)\n- Enclosure Layout: Define how to split the enclosure into modules (e.g. \"2x1\" for 2 horizontal modules)\n- Border Options: Customize border thickness, radius, and support ledge size\n- Grid Options: Configure grid line heights and spacing\n- Diffuser Options: Set diffuser thickness and margins\n- Pillar Options: Adjust support pillar dimensions and spacing\n\nRun with `--help` to see all available options.\n\n## Output\n\nThe tool generates assets in the `build/` directory:\n\n- STL files for the chassis components\n- STEP files for the lid components (grid + diffuser)\n\nThe output files can be directly used with a 3D printer slicer.\n\n## Splitting the enclosure as separate parts\n\nIn case you want to print an enclosure that is bigger than your printer bed,\nyou can split the enclosure into multiple parts using the `--enclosure-layout` option.\n\nFor example, to split the enclosure into 2 horizontal parts, you can run:\n\n```bash\nled-matrix-enclosure 16x16,16x16 32x8 --enclosure-layout 2x1\n```\n\nThis will generate 1 STL and 1 STEP file for each module in the `build/` directory:\n\n- `module:x=0,y=0.chassis.stl`\n- `module:x=0,y=0.lid.step`\n- `module:x=160,y=0.chassis.stl`\n- `module:x=160,y=0.lid.step`\n\nYou can then print each part separately and assemble them together using M3 screws and nuts.\n\n## Development\n\n1. Follow the [Installation](#installation) section to set up the development environment.\n2. Run tests:\n\n    ```bash\n    pytest -vvv\n    ```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\nBuilt with [build123d](https://github.com/gumyr/build123d) - An awesome Python CAD library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuller%2Fled-matrix-enclosure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmuller%2Fled-matrix-enclosure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuller%2Fled-matrix-enclosure/lists"}