create_construction_axis
Define a construction axis by selecting two points, an edge, or a face normal. Specify coordinates or indices to set the axis orientation and position in your model.
Instructions
Create a construction axis from two points, an edge, or a face normal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Creation mode: 'two_points', 'edge', 'face_normal'. | |
| point1 | No | First point {x, y, z} in mm (for 'two_points' mode). | |
| point2 | No | Second point {x, y, z} in mm (for 'two_points' mode). | |
| body_name | No | Body name (for 'edge' or 'face_normal' mode). | |
| edge_index | No | Edge index (for 'edge' mode). | |
| face_index | No | Face index (for 'face_normal' mode). | |
| component_name | No | Optional component name. Uses root component if not specified. |