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 small hinged box with a print-in-place hinge and a snap latch, about 100 x 60 x 40 mm outside, 2 mm walls. Size adjustable.
- 1
Size and print layout first
The agent wrote checks for the 100 x 60 x 40 mm outside size and two printed parts, a base and a lid joined by a hinge with no separate pin. It split the height at 20 mm so the box could print with the lid open and both halves flat on the bed.
- 2
First build: three problems
The first model had the latch arms inside the box. The motion check found the base and lid touching at rest, so they would fuse, the arms hitting the base wall from 3 to 10 degrees as the lid opened, and nothing stopping the lid at 180 degrees.
- 3
Arms outside, a rim gap and stop ribs
The agent moved the two latch arms outside the front wall, opened a gap between the rims and added a rib on each back corner of the base and lid that meet when the lid lies flat. The swing then came out clean with a stop at each end. It also fixed the thumb tab and looked at the latch hooks in a cut view.
- 4
A short box overstrained the latch
The slider sweep found the arms too stiff at the 30 mm minimum height: 1.12% strain against a 1% limit, because the arms get shorter. The agent thinned them from 1.5 to 1.2 mm, which brought the default to 0.42%, and the sweep then found no collision or problem at any of the 10 extremes.
- 5
What it left to the maker
The box was not printed. Its reply says the latch click is not simulated, only the arm strain, and that the hook depth is not a slider: ask the designer to change it if the latch is too loose or too stiff.
One run of the agent: 5 min 0 s, about $0.56 of model time at list price (claude-sonnet-5-5). The model code behind this page is the code it wrote, unchanged.



