Validate document
validate_documentValidates all document objects as solids with positive volume, returning per-object results and an overall all_valid flag for use after parameter changes or before STEP export.
Instructions
Validate the geometry of all objects in a document. Returns per-object results indicating whether each object is a valid Solid with positive volume, plus an overall all_valid flag. Use after modifying parameters or before exporting STEP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | Yes | Per-object validity results. | |
| all_valid | Yes | True if every object passes geometry checks. | |
| document_id | Yes | Validated document identifier. |