construction_plane
Create a reference plane for sketches, mirrors, or splits by offset, angle, midplane, two edges, three points, tangent, or along-path methods.
Instructions
Create a construction plane — a reference for sketches, mirrors, splits.
Give method and exactly its fields (others are refused with INVALID_PARAMS and
the list of fields the method takes):
method | fields |
offset | plane, distance |
angle | edge (axis of rotation), angle, plane |
midplane | plane, plane2 (midway between them) |
two_edges | edge, edge2 (coplanar straight edges) |
three_points | points (3 refs) |
tangent | face (cylinder/cone), plane, angle = 0 |
tangent_at_point | face (cylinder/cone), point |
along_path | path, proportion (0..1, normal to path) |
Refs: origin:XY|XZ|YZ|X|Y|Z|O or refs from inspect_query / inspect_tree. Lengths
are mm, angles degrees; a string is a Fusion expression ("height / 2") and keeps
the plane driven by it. A wrong entity kind (e.g. a cylindrical face as plane)
fails with INVALID_PARAMS and details {param, expected, got}; a definition Fusion
cannot build fails with FUSION_API_ERROR and leaves the timeline unchanged.
Returns {"ref", "type": "ConstructionPlane", "name", "origin_mm", "normal", "health", "warning"?}.
Examples:
construction_plane(method="offset", plane="origin:XY", distance=15)
construction_plane(method="midplane", plane=, plane2=)
construction_plane(method="along_path", path=, proportion=0.5)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | origin:X|Y|Z, a construction axis, an edge or sketch line | |
| face | No | Face ref (from inspect_query) | |
| name | No | Name of the new element | |
| path | No | Edge or sketch curve ref | |
| angle | No | Degrees or expression | |
| edge2 | No | origin:X|Y|Z, a construction axis, an edge or sketch line | |
| 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 plane is defined | |
| plane2 | No | origin:XY|XZ|YZ, a construction plane or a planar face | |
| points | No | three_points: 3 point refs | |
| distance | No | mm (negative = against the normal) or expression | |
| component | No | component:/occurrence: ref; default: active component | |
| proportion | No | Share of the path length, 0..1 |