lib_add_symbol_arc
Add an arc to the current library symbol by specifying center coordinates, radius, and start/end angles to create custom symbol graphics.
Instructions
Add an arc to the current library symbol.
Args: x_center: Center X coordinate in mils y_center: Center Y coordinate in mils radius: Arc radius in mils start_angle: Start angle in degrees (0 = right, 90 = up) end_angle: End angle in degrees width: Line width (0=zero, 1=small, 2=medium, 3=large) grid: snap grid (mils); arcs are glyph detail and don't need the 100-mil pin grid (rule 15), so the default is a finer 25 (e.g. inductor coils). Pass 100 for coarse, 0/1 for none.
Returns: Dictionary confirming arc addition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | ||
| width | No | ||
| radius | Yes | ||
| x_center | Yes | ||
| y_center | Yes | ||
| end_angle | No | ||
| start_angle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||