Free generator · Runs in your browser

Enclosure generator A home for your hardware.

Generate a printable project box for a Raspberry Pi, Arduino or any board, with standoffs, port cutouts, vents and a screw or friction lid.

  • Free and privateNothing to install
  • Board presetsPi 4/5, Uno or custom
  • Real cutout sizesUSB-C, HDMI, jacks and more
  • Ready to sliceSTL and two-part 3MF

Drag to rotate · Scroll or pinch to zoom · Arrow keys when focused

Size
—
Filament
—
Parts
—
Fits
—

Start from

Board

Custom boards get holes 3.5 mm in from each corner.

Screws
2.0 mm
5.0 mm

Leaves room under the board for solder joints.

Box

30.0 mm
2.0 mm
5.0 mm
Vents

Ports

-25.0 mm
8.0 mm
8.0 mm
8.0 mm
0.0 mm
10.0 mm
0.0 mm
12.0 mm

Lid

Lid
0.25 mm
Lid label
9.0 mm

Download

Building the preview…

Print it well

    Everything is built on this device. Nothing you type or upload is sent anywhere.

    Advertisement

    The method

    Build a box around your board

    Choose the board, leave some space around it, add the cutouts your cables need and pick a lid. Standoffs land on the board's official mounting holes, and the lid prints flat beside the box.

    Boards

    Mounting holes used

    BoardSizeHoles
    Raspberry Pi 4 and 585 × 56 mm4 × Ø2.7 mm (M2.5), 58 × 49 mm apart, 3.5 mm from the edges
    Arduino Uno68.6 × 53.3 mm4 × Ø3.2 mm (M3), at the positions on the official drawing

    Cutouts

    Port cutout sizes

    PortCutoutNotes
    USB-C10 × 4 mmLeaves room for the plug’s overmould.
    Micro-USB7 × 2.6 mm
    DC barrel jackØ8 mmFor panel-mount jacks with a 5/16 inch bushing.
    3.5 mm audioØ6 mmPanel jack; use 7 mm for a jack on the board.
    RJ45 keystone14.9 × 19.3 mmCheck against your keystone.
    USB-A, HDMI12.5 × 5, 16 × 7 mmApproximate: measure your connector.

    Cable plugs are bigger than the sockets they fit, so measure the plug if it is chunky.

    Printing

    Printing enclosures

    • Box open side up, lid flat. Arched and rounded cutouts bridge cleanly.
    • Screws: self-tapping screws bite into the pilot holes; brass heat-set inserts last longer if you open it often.
    • Material: PETG or ASA near heat sources such as a Raspberry Pi under load; PLA softens around 60 °C.

    Questions, answered

    Will it fit my board exactly?

    The holes follow the official drawings for the Raspberry Pi 4/5 and Arduino Uno. Measure your connectors’ heights, since they vary between boards and revisions.

    Can I add more cutouts?

    Four cutouts are available. For more, drill them after printing or edit the STL in a CAD program.

    Which material should I use?

    PETG is a good all-rounder; use ASA or PC for enclosures that get hot or live outdoors.

    Sources

    Print advice is a starting point drawn from these references, checked on 2026-11-07. Community posts are one maker's experience, not a specification.

    1. Raspberry Pi 4 mechanical drawing Raspberry Pi
    2. Raspberry Pi 5 mechanical drawing Raspberry Pi
    3. Arduino Uno Rev3 datasheet Arduino
    4. USB connector design guidance OpenAT Design Guide (Makers Making Change)
    5. 3.5 mm audio jack design guidance OpenAT Design Guide (Makers Making Change)