draw_arc
Creates an open arc between two sketch points using a through point or center, so you can close profiles made from line segments.
Instructions
Draw an open arc from (x1, y1) to (x2, y2) in mm — e.g. to close a profile drawn with draw_line. Either through a point on it (xm, ym), or around its center (cx, cy) running counter-clockwise in sketch coordinates. For closed shapes prefer draw_closed_profile.
Args: x1, y1, x2, y2: Start and end. xm, ym: A point on the arc between them. cx, cy: The center (start and end must be equally far from it). sketch_index: Sketch number (0 = latest sketch).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | No | ||
| cy | No | ||
| x1 | Yes | ||
| x2 | Yes | ||
| xm | No | ||
| y1 | Yes | ||
| y2 | Yes | ||
| ym | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| sketch_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |