surface_extend
Extend a surface body past its free boundary edges by a set distance, choosing natural, tangent, or perpendicular extension and returning the modified bodies.
Instructions
Extend a surface body beyond its free edges by a distance (Extend feature).
Units: a plain-number distance is in units (default mm), a string is a Fusion
expression. Refs: free edges of surface bodies from inspect_query (edges of a solid
have no free side). The extended body keeps its identity but may get a new ref - use
modified_bodies.
Errors: distance 0, a face ref -> INVALID_PARAMS; alignment="align" on a Fusion API without extendAlignment -> FUSION_API_ERROR "not available" (nothing changed).
Returns {"feature", "health", "created_bodies" / "modified_bodies": [{ref, type, name, is_solid}], "removed_bodies"}.
Example: surface_extend(edges=[], distance=5)
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": {
"edges": "<edges>",
"distance": "<distance>"
},
"name": "surface_extend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Add tangent-connected free edges | |
| edges | Yes | Free (boundary) edges of surface bodies | |
| units | No | Unit of plain-number lengths and points | mm |
| distance | Yes | Extension length (not 0) | |
| alignment | No | free (default) or align the extended edges (newer Fusion API) | free |
| extend_type | No | natural (default, follows the curvature), tangent or perpendicular | natural |