How it was designed
Designed with buildcad's AI agent, checked by the buildcad team. This is the request it started from and an edited account of what it did (more on how text to CAD works).
The request
A two-part case for a Raspberry Pi 5 with openings for all ports, a vented lid, and screw bosses for the board's mounting holes.
- 1
It read the board data first
The agent loaded the Pi 5 entry of the parts library, taken from the Raspberry Pi mechanical drawing: an 85 x 56 mm board, four 2.7 mm holes in a 58 x 49 mm pattern, the connector positions on each edge, and a note that Ethernet and USB overhang the right edge by about 3 mm. The drawing gives no board thickness or connector heights, so it used Pi 4 values (1.4 mm, USB 16 mm, Ethernet 13.5 mm).
- 2
First build
The base and lid built as valid single bodies, with the eight 2.2 mm screw pilots it planned, four 2.9 mm lid holes and a base of 95.6 x 63.6 x 25.9 mm. Neither part needed supports.
- 3
A stand-in board caught a collision
The agent placed a simple board model with connector housings in the case. It overlapped the base by 1.13 mm: a plain rectangle with square corners reaches into the corner posts for the lid screws. Rebuilt with the board's 3 mm rounded corners and its mounting holes, the stand-in board cleared the base, and the lid sat 1.5 mm above it.
- 4
It checked the lid and every opening
Lifting the lid 2 mm showed a 0.2 mm gap between its lip and the walls, with no overlap when seated. Rays through each opening at mid height and at the connector top passed free for USB-C, both micro-HDMI, Ethernet, both USB stacks, the power button and the microSD slot. The slider sweep rebuilt all 16 extremes.
- 5
What it left to the maker
The agent's reply says it did not test-print the case, names the assumed heights and the uncertain microSD and power button positions, and suggests printing the front wall to check the plug fit.
- 6
Our change
We made the model an assembly: the lid sits on the walls where it is screwed down, so the viewer shows the closed case, and the print plate turns the lid upside down for the downloads. Both parts are otherwise unchanged.
One run of the agent: 5 min 5 s, about $0.68 of model time at list price (claude-sonnet-5-5). We changed the code afterwards, as described in the last step.



