feature_fillet
Rounds selected body edges using constant, variable, or chord fillets. Specify radius, start/end radii, or chord length to set the fillet shape.
Instructions
Round edges of a body with a fillet.
Modes: constant needs radius; variable needs start_radius and end_radius, plus
optional mid radii at positions 0 (edge start) .. 1 (edge end); chord needs
chord_length. Fields of another mode are refused. Units: radii and lengths in
units (default mm), strings are Fusion expressions ("wall / 2"). Edge refs come from
inspect_query on the latest body (refs go stale after later features). The parent
bodies of the edges are listed in modified_bodies.
Errors: a missing mode field, a non-edge ref -> INVALID_PARAMS (nothing changed); variable/chord fillets on an old Fusion API -> FUSION_API_ERROR "not available"; a fillet Fusion computes with an error (radius too big) -> FUSION_API_ERROR and the timeline is rolled back.
Returns {"feature": {ref, type, name}, "health": {"state", "message"}, "created_bodies": [], "modified_bodies": [{ref, type, name}], "removed_bodies": []}.
Examples:
feature_fillet(edges=[e1, e2, e3, e4], radius=5)
feature_fillet(edges=[e], mode="variable", start_radius=2, end_radius=5, mid=[{"position": 0.5, "radius": 3}])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g2 | No | Curvature-continuous (G2) fillet | |
| mid | No | variable: [{"position": 0..1, "radius"}] intermediate radii | |
| mode | No | constant (default), variable or chord | constant |
| edges | Yes | Edge refs (inspect_query); re-query after later features | |
| units | No | Unit of plain-number lengths | mm |
| corner | No | Corner type where three fillets meet | rolling_ball |
| radius | No | constant: radius | |
| end_radius | No | variable: radius at the edge end | |
| chord_length | No | chord: chord length | |
| start_radius | No | variable: radius at the edge start | |
| tangent_chain | No | Also take tangent-connected edges/faces |