freecad_mesh_to_shape
Converts a mesh into a Part shape, reconstructing a solid from triangles so you can edit imported STL files in FreeCAD.
Instructions
Convert a mesh to a Part shape (reconstruct solid from triangles). Useful for editing imported STL files.
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": {
"meshName": "<meshName>"
},
"name": "freecad_mesh_to_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the resulting Part shape | |
| sewing | No | Try to sew the shape into a solid (default true) | |
| meshName | Yes | Name of the Mesh object to convert |