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 print-in-place hinge, two leaves 40 mm long with countersunk screw holes, that prints flat in one piece and swings 180 degrees from flat to folded, with a physical stop at each end. Clearance adjustable.
- 1
It wrote the checks first
The agent listed a 40 mm length, a 0.4 mm gap between the leaves, no overlap and two 3.4 mm countersunk M3 holes per leaf. For the stops it relied on the motion check, which swings the hinge from 0 to 180 degrees and reports what stops it at each end.
- 2
First build: the tongue hit the knuckles
After a quick fix to how the folded pose was named, the hinge built, but the new flat-stop tongue on the middle knuckle overlapped the other leaf's knuckles by 8.4 mm3. The leaves collided in all 73 poses of the swing.
- 3
It sized the tongue to the gap
The agent printed where each knuckle starts and ends (the other leaf's knuckles begin 4.24 mm either side of the centre) and made the tongue narrower than that gap, with clearance on both sides. The swing then came out clean, and the leaves met within 3 degrees of flat and of folded: a physical stop at each end.
- 4
One slider end lost the flat stop
The slider sweep found that at 0.6 mm clearance nothing touched at the flat end any more. The agent set the gap above the tongue to 0.6 x the clearance, never under 0.3 mm, and all 8 slider extremes then kept both stops with no collisions.
- 5
What it left to the maker
Its reply says the hinge was not printed: clearance is the setting most likely to need a change on your printer, and the slot roof over the tongue needs a clean first layer and a fine layer height.
One run of the agent: 5 min 5 s, about $0.64 of model time at list price (claude-sonnet-5-5). The model code behind this page is the code it wrote, unchanged.



