3D Printable Enclosure Generator — Custom Project Boxes from a Description

SliceFoundry's enclosure generator builds custom project boxes and electronics cases sized to your PCB, module, or device. Describe the inside dimensions, the ports you need cut, and the mounting style — the AI produces a printable STL you can preview and refine.

Useful when generic Hammond-style boxes don't fit, when you want exact port cutouts (USB-C, HDMI, barrel jack, DB-9), or when you need lid clips, screw posts, or PCB standoffs in specific positions.

What the Generator Can Produce

What to Specify in the Prompt

  1. Internal dimensions — length × width × height, plus extra clearance for cables.
  2. Wall thickness — 2–3mm is typical for FDM enclosures.
  3. PCB mounting — corner standoffs with M2 or M2.5 holes, snap clips, or adhesive pads.
  4. Port cutouts — for each port, give the position (which wall, distance from corner) and dimensions.
  5. Lid attachment — friction fit, snap clips, four M3 screws into recessed posts, or sliding lid.
  6. Branding / labels — embossed or recessed text on the top face.

Example Prompt

"Generate an enclosure for a Raspberry Pi 4. Internal dimensions 92 × 65 × 30mm, 2.5mm walls. Bottom shell has four corner standoffs with M2.5 holes spaced at the Pi's mounting points (58 × 49mm). Cutouts: USB-C power on one short side, micro-HDMI × 2 and 3.5mm jack on the other short side, full Ethernet + 4× USB on one long side, microSD slot on the opposite long side. Lid is a friction-fit top with a 20 × 5mm vent slot above the SoC. Recessed text 'PI 4' on the lid."

Printing Tips for Enclosures

Generate Your Enclosure

Open SliceFoundry and generate a custom enclosure →