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)
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 |