build_part
Run a sandboxed build123d part script to validate geometry and report per-variant bounding boxes, volume, solid count, validity, errors, and build timing; cache built pieces for reuse.
Instructions
Run the part script (sandboxed, with a timeout) and report, per variant and part: bounding box size and min/max (mm), volume (mm^3), solid count, is_valid, the Dims values, and any error with its traceback; and under "timing" each piece's face count and build time, with a hint for a piece that is slow or dense. variant: key from VARIANTS ('standard' = ''). parts: comma-separated piece names from build(): build only those (lazy pieces: the others are never built). Built pieces are cached in out/.cache/, so render_preview, section, check and export reuse them while the script, its Dims and the settings stay the same; fresh=True builds again and replaces the cached pieces. Writes no other files. Ends with "before_printing": the review steps this version still needs, each with its call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fresh | No | ||
| parts | No | ||
| variant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |