Enclosure Designer
Use this skill to design practical enclosures without loading a full mechanical guide up front.
Resources
assets/basic-template.scad- starting OpenSCAD templatescripts/generate_enclosure.py- enclosure generator scriptreferences/design-workflow.md- measurement, parameter, and generator workflowreferences/dimensions.md- common board and module dimensionsreferences/print-and-protection.md- wall thickness, print settings, ventilation, and waterproofing
When to Use
Use this skill when the user asks for:
- an enclosure, case, box, or housing
- mounting holes or cutout placement
- OpenSCAD-based enclosure generation
- board fit checks for Arduino, ESP32, or Pico-class boards
- print-material or weather-resistance guidance
Workflow
- Gather the minimum physical inputs:
- board dimensions
- tallest component
- connector locations
- mounting method
- environmental constraints
- Open
references/design-workflow.mdfor the parameterization flow. - Open
references/dimensions.mdif the user does not already have exact measurements. - Open
references/print-and-protection.mdfor material, wall, ventilation, or moisture guidance. - Use
assets/basic-template.scadorscripts/generate_enclosure.pywhen the user needs a concrete starting model.
Core Rules
- Treat user measurements as authoritative over reference dimensions.
- Add clearance deliberately for connectors, wiring, and print tolerance.
- Separate fit problems from printability problems.
- Do not promise waterproofing from geometry alone.
Verification
- The board and connectors fit with explicit clearance.
- Mounting points and cable exits are reachable.
- The selected material and wall thickness match the use environment.
- Print orientation and support strategy are named before finalizing the design.
Integration
- Pair with
battery-selectororpower-budget-calculatorif battery size drives the enclosure volume. - Pair with
readme-generatorwhen the enclosure should be documented for a project repo.