catia_sketch_line
Adds a straight line between two points in the current sketch, optionally as construction geometry or as the revolution axis.
Instructions
Add a straight line between two points in the current sketch. Set construction=true for a reference line that does not take part in the profile, and axis=true to make it the sketch's revolution axis (what catia_shaft and catia_groove revolve around).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start H coordinate, mm. | |
| x2 | Yes | End H coordinate, mm. | |
| y1 | Yes | Start V coordinate, mm. | |
| y2 | Yes | End V coordinate, mm. | |
| axis | No | Use this line as the sketch's revolution axis. | |
| sketch | No | Target sketch. | |
| construction | No | Make it a construction (reference) line. |