enclosure-design

Design and modify parametric OpenSCAD enclosure models for an ESP32 handheld console.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/pjcau/esp32-emu-turbo --skill enclosure-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enclosure-design
Source: https://github.com/pjcau/esp32-emu-turbo/tree/main/.claude/skills/enclosure-design
Command: npx skills add https://github.com/pjcau/esp32-emu-turbo --skill enclosure-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a focused, parametric OpenSCAD workflow to design, modify, and validate a handheld console enclosure so designers can rapidly iterate on cutouts, port placements, button fits, and print-ready shells without manual CAD rework.

Core Features & Use Cases

  • Parametric body and internals: Adjustable overall dimensions, wall thickness, corner radii, top/bottom shell split, and PCB/battery placement for quick design changes.
  • Modular component modules: Reusable button, display, port, and battery modules for precise cutouts and consistent tolerances.
  • Render and export pipeline: Scripts and render views support assembly, exploded, cross-section, and STL export for 3D printing and fit-checks.
  • Use Case: Move the dpad or adjust USB-C placement, re-render the assembly view, and export the top/bottom shells for STL printing to validate fit against the PCB model.

Quick Start

Render the assembly view, shift the dpad 5 mm right, verify the alignment lip clearance of 0.3 mm, and export the case_top STL.

Frequently Asked Questions about enclosure-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I adjust button cutouts and port placements for a custom PCB in an OpenSCAD enclosure?

To adjust button cutouts and port placements in an OpenSCAD enclosure, you modify the parametric variables for the reusable component modules. This allows you to shift features like the dpad or USB-C placement and re-render the assembly view to validate the fit against your PCB model.

Can I use parametric OpenSCAD to generate 3D printing files for an ESP32 handheld console shell?

Yes, you can use parametric OpenSCAD to generate 3D printing files for an ESP32 handheld console shell. The workflow supports exporting top and bottom shell STLs directly from the assembly or exploded render views to validate print tolerances.

What is the best way to map KiCad PCB coordinates to a 3D printed enclosure model?

Mapping KiCad PCB coordinates to a 3D printed enclosure model requires applying KiCad-to-enclosure coordinate mapping within the parametric OpenSCAD files. This ensures the cutouts, port placements, and mounting posts align precisely with the physical PCB layout.

Does this parametric enclosure design workflow support adjusting wall thickness and battery fit tolerances?

Yes, this parametric enclosure design workflow supports adjusting wall thickness, corner radii, and battery fit tolerances. You can quickly iterate on these internal dimensions and overall shell parameters without manual CAD rework to ensure a proper PCB and battery fit.

Why are my 3D printed enclosure shells misaligned with the PCB components after exporting the STL?

Misaligned 3D printed enclosure shells often result from incorrect KiCad-to-enclosure coordinate mapping or ignoring print tolerances. You must verify the alignment lip clearance and re-render the assembly view in OpenSCAD to check the PCB integration before exporting the final STL.

What do I need to start designing a parametric enclosure for a custom handheld console?

To start designing a parametric enclosure for a custom handheld console, you need parametric OpenSCAD files, render scripts, and your PCB dimensions. This setup allows you to rapidly iterate on cutouts, port placements, and print-ready shells without manual CAD rework.