convert_surfaces_to_solid
Converts open surfaces from imported vendor models into closed solids by stitching gaps and patching holes; reports volumes and any open edges.
Instructions
Turn surfaces into solids — imported vendor models (x_t, IGES, STEP) that came in as faces with no volume, so no mass and no booleans. Stitches the part's visible surfaces, patches the holes left in the shell, and closes it into a solid; a shell that is already closed becomes a solid directly. Reports each step, the solids' volumes, and the open edges it couldn't close (coordinates in mm). Run it in the part that holds the surfaces.
Args: work_surfaces: "all", or WorkSurface numbers "1,2,5" to convert one group at a time (e.g. one component of a multi-part import). tolerance: Largest gap to stitch over, mm. patch_holes: Fill loops of open edges with a boundary patch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_surfaces_to_solid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| tolerance | No | ||
| patch_holes | No | ||
| work_surfaces | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |