AdderCAD Launching soon

Examples

Design a 3D printed enclosure for your project box

A 3D printed enclosure starts with the board's measured dimensions, not a generic box. Describe the board, ports, fasteners and vents in AdderCAD Studio, then adjust the solid model and export the box and lid for printing.

Last updated 16 November 2026.

Start a 3D printed enclosure with the real board

Measure the board and its mounting holes before sizing a 3D printed enclosure. Use the mechanical drawing for board dimensions, hole positions and connector locations, then check the physical board with calipers. The right outside dimensions will not rescue a case with a misplaced mounting hole or port.

Record the tallest component's height and the room needed for plugs and cables. An outline dimension does not include everything attached to the board.

AdderCAD Studio can search the web for published board dimensions, and its agent is instructed to cite the source. Treat the result as a starting point. Board revisions and third-party boards may not match the drawing.

ESP32 dev boards vary in size and mounting-hole pattern by maker. Check your board's maker drawing, then measure the physical board with calipers.

Describe the box, lid and fasteners

Name the board, connector openings, ventilation, fastening method and lid in your prompt. Include dimensions you have verified. Start with the basic enclosure, then add openings and hardware after checking the model.

Example prompt: "Raspberry Pi 5 case with vent slots and a separate lid. Use the published mechanical drawing for board dimensions and cite it."

After reviewing that model, refine it:

Example prompt: "Add one connector opening using my verified position, plus M3 heat-set inserts in the screw posts. Leave the other openings until I check this one."

Studio's agent writes CAD code that builds a B-rep solid. Every numeric parameter becomes a slider, so you can change wall thickness, lid clearance, vent width and post size without another AI request. You can also inspect and edit the code. For a part that must fit, see how CAD differs from an AI mesh model.

With sign-in, the agent can search the open step.parts catalog for boards and connectors and bring in their STEP files. Verify critical catalog dimensions yourself.

Choose enclosure wall thickness

Two millimetres is a common enclosure wall choice, but published minimums range from 0.8 mm to 2.4 mm. The right value depends on the nozzle, part size, loads and whether screws thread into the plastic.

Source Published guidance
Hubs and FacFox 2 mm minimum wall; both guides are about six years old
Zbotic 2.4 mm as a practical wall, equivalent to three perimeters with a 0.4 mm nozzle
PCBWay 0.8 mm, or two nozzle widths, as a minimum

Where screws thread into plastic, allow at least 3 mm (published enclosure guides). AdderCAD's default FDM minimum wall is 1.6 mm on a part about 50 mm across, based on JLC3DP's design guideline. That is a process starting point. A larger case or loaded mounting point may need more material.

Give the lid a printable fit

The Hubs, FacFox and Zbotic guides suggest about 0.2 mm clearance per side for an FDM lid and treat a 0 to 0.1 mm gap as too tight. Do not confuse per-side clearance with the total difference between mating dimensions.

AdderCAD's default is also 0.2 mm per side for a calibrated desktop FDM printer. Print services often quote about 0.5 mm, without saying whether that is per side or total. These figures do not guarantee a fit, so print a short lid-and-box section first.

Size screw holes and posts for their job

A pass-through hole, a self-tapping hole and a heat-set insert hole need different sizes. Choose the fastening method first. Published enclosure guides give the general clearance and self-tapping rules below. AdderCAD supplies the M3-specific values.

Fastener use Starting point
General clearance hole Screw diameter plus 0.25 mm
Self-tapping hole Screw diameter minus 0.25 mm (2.75 mm for M3), or about 85 percent of nominal diameter (about 2.55 mm for M3)
M3 clearance in AdderCAD's ISO 273 table 3.4 mm
M3 heat-set insert hole in AdderCAD's rules 4.0 mm

The two self-tapping rules produce different M3 holes. Test between 2.75 mm and about 2.55 mm for your screw and material. These are starting rules, not guaranteed fits. The same enclosure guides recommend a boss wall of at least one hole diameter. Keep post and hole sizes editable so you can correct them after checking the hardware.

Make room for ports, cables and vents

Size each opening for the connector and plug, then check the cable's space inside the box. Published enclosure guides suggest 0.5 mm of component room, increasing to 1 mm where needed. Measure the actual connector.

One published enclosure guide gives 1.5 mm as the narrowest FDM vent slot. Keep vent width adjustable, and review the material remaining around the openings.

Orient the parts and check the geometry

Print the box open side up and the lid top face down, following the Hubs, FacFox and Zbotic guides. Keep screw bosses vertical when practical.

Studio checks each part and the whole design against the selected machine's build volume. Its wall check uses ray casting and reports minimum and 5th-percentile thickness. It flags down-facing faces beyond the self-supporting angle, which defaults to 45 degrees for FDM, and ranks orientations by support need.

The interference check reports overlap volume and minimum gap between parts. These measurements and rules of thumb do not guarantee that the case will print or fit. Complex parts can fail or need several tries.

Export the box and lid separately

Use 3MF to keep the box and lid separate in your slicer. AdderCAD writes one object per part in 3MF. STEP keeps part names for CAD work, and STL is also available. Exports run in the browser.

AdderCAD is pre-launch. Verify the board and review the checks before printing. For the wider workflow, see text to CAD for 3D printing.

Questions

How thick should a 3D printed enclosure wall be?

A 2 mm wall is a common choice for a printed electronics enclosure. Published guidance ranges from PCBWay's 0.8 mm minimum to Zbotic's practical 2.4 mm wall. Published enclosure guides call for at least 3 mm where screws thread into plastic. Increase thickness for larger parts or loaded mounting points. Your nozzle, material and printer affect the result.

How much gap should a 3D printed enclosure lid have?

About 0.2 mm per side is a common starting clearance for an FDM enclosure lid. Published enclosure guides treat a 0 to 0.1 mm gap as too tight. Print the box open side up and the lid top face down, then test a short lid-and-box section. Printed parts have tolerance, so the clearance is a starting point rather than a guaranteed fit.

How big should screw holes be in a 3D printed enclosure?

Published enclosure guides give two different M3 self-tapping rules: 3 mm minus 0.25 mm gives 2.75 mm, while about 85 percent of 3 mm gives about 2.55 mm. Test between them. Their general clearance rule is screw diameter plus 0.25 mm. AdderCAD's ISO 273 table uses 3.4 mm for M3 clearance. Verify the specific hardware with a test print.

How do I make room for ports and cables in a project box?

Measure each connector, its plug and the space the attached cable needs. Use the board's mechanical drawing to locate the openings, then check the physical board with calipers. Published enclosure guides suggest 0.5 mm of component room, or up to 1 mm where more space is needed. Check the printed fit before making the complete enclosure.

Which way should I print a project box and its lid?

Print the box with its open side up and the lid with its top face down, following the cited enclosure guides. Keep screw bosses vertical where practical. AdderCAD Studio can rank orientations by support need and check bed fit, overhangs and wall thickness. Those checks support your review; they do not guarantee a successful print.

Where do I find the dimensions for a Raspberry Pi or ESP32 case?

Start with the board maker's datasheet or mechanical drawing. It should provide the board outline, mounting holes and connector locations. AdderCAD's agent can search for published dimensions and cite the page it uses. Board revisions and third-party boards can differ, so confirm the hole positions and critical dimensions on your own board with calipers.

Can AdderCAD make a custom electronics enclosure?

AdderCAD Studio is designed to build a solid enclosure from a plain-English description, including features such as vents, connector openings, screw posts and a separate lid. Its sliders let you revise dimensions without another AI request. AdderCAD is pre-launch, and complex designs can fail or need several tries. Always verify dimensions and print-test the fit.

Be first to describe a part.

AdderCAD is launching soon. Join the waitlist and we'll email you once, when it opens.