surface_stitch
Joins surface bodies or faces along shared edges into one body; returns whether the result is solid and lets you raise tolerance to close remaining gaps.
Instructions
Stitch surface bodies / faces along shared edges into one body (Stitch feature).
If the surfaces enclose a volume the result is a solid: check "is_solid" in the
result. is_solid=false means gaps remain - raise tolerance (default 0.1 mm), or
patch the openings with surface_patch first. Refs: bodies / faces from inspect_query
or earlier results.
Errors: fewer than 2 distinct surfaces, join/cut operation -> INVALID_PARAMS.
Returns {"feature", "health", "created_bodies" / "modified_bodies": [{ref, type, name, is_solid}], "removed_bodies", "is_solid": bool of the resulting body}.
Example: surface_stitch(surfaces=[, , ], tolerance=0.1)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit of plain-number lengths and points | mm |
| surfaces | Yes | At least 2 surface bodies or faces to join | |
| operation | No | new_body (default) or new_component | new_body |
| tolerance | No | Largest gap to close, in `units`; omitted = 0.1 mm in any units |