construction_axis
Define critical construction geometry for Fusion 360 parametric modeling. Specify an axis using two points, an edge, two planes, or a cylinder face to enable revolving, circular patterns, and joints.
Instructions
Create a construction axis — for revolve, circular patterns, joints.
Give method and exactly its fields:
method | fields |
two_points | points (2 refs) |
edge | edge (straight) |
cylinder | face (cylinder, cone or torus): its axis |
perpendicular_at_point | face, point (on that face): normal through it |
two_planes | plane, plane2: their intersection line |
Refs: origin:XY|XZ|YZ|X|Y|Z|O or refs from inspect_query (e.g. a hole face:
inspect_query(kind="face", surface_type="cylinder")). A wrong entity kind fails
with INVALID_PARAMS and details {param, expected, got}; a definition Fusion
cannot build (parallel planes, a point off the face) fails with FUSION_API_ERROR
and leaves the timeline unchanged.
Returns {"ref", "type": "ConstructionAxis", "name", "origin_mm", "direction", "health", "warning"?}.
Examples:
construction_axis(method="cylinder", face=)
construction_axis(method="two_planes", plane="origin:XZ", plane2="origin:YZ")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | Straight edge, sketch line or axis ref | |
| face | No | cylinder: round face; perpendicular_at_point: face | |
| name | No | Name of the new element | |
| plane | No | origin:XY|XZ|YZ, a construction plane or a planar face | |
| point | No | origin:O, a vertex, sketch point or construction point | |
| method | Yes | How the axis is defined | |
| plane2 | No | origin:XY|XZ|YZ, a construction plane or a planar face | |
| points | No | two_points: 2 point refs | |
| component | No | component:/occurrence: ref; default: active component |