patch_surface
Generate a surface patch from boundary edges to close open surfaces or create complex shapes. Select edges and set continuity.
Instructions
Create a surface patch from boundary edges of an open body or selected edges. Useful for closing open surfaces or creating complex surface shapes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body_name": "<body_name>"
},
"name": "patch_surface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_name | Yes | Name of the body whose boundary edges to patch. | |
| edge_indices | No | Array of edge indices forming a closed boundary loop. If omitted, uses all boundary edges. | |
| continuity | No | Surface continuity: 'connected' (G0), 'tangent' (G1), or 'curvature' (G2). | connected |
| operation | No | Boolean operation: 'new_body', 'join'. | new_body |