fillet
Round selected edges of a solid in FreeCAD by setting a radius. Rejects sketch bases to prevent invalid geometry errors.
Instructions
Round edges of a solid feature (PartDesign::Fillet).
base_feature MUST be a solid feature (e.g. a Pad or Pocket), never a
sketch — filleting a sketch makes that broken feature the Body's Tip,
and the NEXT pad/pocket then fails with an unrelated "shape is invalid"
error that points nowhere near the real mistake. This tool rejects a
sketch base outright with that explanation instead of letting it happen.
Args:
doc_name: The name of the document.
body_name: The name of the PartDesign::Body.
name: The name to give the new Fillet feature.
base_feature: The solid feature whose edges to round.
edges: Edge names on base_feature's shape (e.g. ["Edge3", "Edge7"]).
radius: Fillet radius in mm.
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": {
"doc_name": "<doc_name>",
"body_name": "<body_name>",
"name": "<name>",
"base_feature": "<base_feature>",
"edges": "<edges>",
"radius": "<radius>"
},
"name": "fillet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| edges | Yes | ||
| radius | Yes | ||
| doc_name | Yes | ||
| body_name | Yes | ||
| base_feature | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |