diagnose_failure
Diagnose why a build123d part failed to build or print: rebuilds each variant part in isolation without cache, then reports the error, likely cause, and concrete fixes such as valid fillet radii or bad faces and edges.
Instructions
The deeper look after a failed or broken build (failed results already carry a short DIAGNOSIS): builds one variant piece by piece, each on its own and without the build cache, and for each piece reports the error with its likely cause and specific fixes (where in the script, the piece, the numbers: e.g. the largest fillet radius that works on those edges), or for a piece that built, what makes it unprintable (invalid solid, zero volume, a 2D shape, not on the bed) and, for an invalid one, which faces and edges are bad, tiny edges and sliver faces left by booleans, and whether part.fix() repairs it. Then the assembly. parts: only those pieces. Stops before the time limit and names the pieces it did not get to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| parts | No | ||
| variant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |