mesh_operation
Repair, split, cut, merge, union, difference, intersect, hull, simplify, or transform STL/PLY meshes offline and save results as new STL files.
Instructions
Offline mesh repair/split/cut/merge/union/difference/intersection/hull/simplify/transform.
sources: [{path,sha256}]. action convex_hull for hull. cut takes origin/normal XYZ vectors and optional cap (true); simplify takes face_count; transform takes a 4x4 column-vector affine matrix. Inputs STL/PLY, outputs new STL files in a new directory with measured result/checkpoint. Requires [geometry]. STL units assumed millimeters. Reimport output into Orca; settings and facet painting do not transfer.
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": {
"sources": "<sources>",
"destination_directory": "<destination_directory>",
"action": "<action>"
},
"name": "mesh_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| sources | Yes | ||
| parameters | No | ||
| destination_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||