cad_sketch_polyline
Create a polyline from a sequence of points with automatic coincident joins. Optionally close the loop, apply horizontal/vertical constraints, or ground the first point at origin.
Instructions
Add a chain of lines through points. Auto coincident-joins them; closed=True closes the loop; auto_hv applies horizontal/vertical to axis-aligned segments; ground_first grounds the first point to the origin if it is at (0,0). Returns the line ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| points | Yes | ||
| closed | No | ||
| auto_hv | No | ||
| ground_first | No |