lib_add_footprint_arc
Add an arc to a footprint by specifying center, radius, start/end angles, width, and layer. Use it to draw silkscreen or assembly markers in EasyEDA Pro.
Instructions
Add an arc to the current footprint.
Args: x_center: Center X in mils y_center: Center Y in mils radius: Arc radius in mils start_angle: Start angle in degrees end_angle: End angle in degrees width: Line width in mils layer: Layer name. Default "TopOverlay" (silkscreen). Any Altium layer accepted, e.g. "Mechanical1".."Mechanical16" for pin-1 / assembly markers. footprint_name: footprint to write into. Empty uses the editor's current footprint; a name makes that footprint current first and refuses if it cannot. units: "mil" (default) or "mm", for every length and coordinate here, kept exact rather than rounded to whole mils.
Returns: Dictionary confirming arc addition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | TopOverlay | |
| units | No | mil | |
| width | No | ||
| radius | Yes | ||
| x_center | Yes | ||
| y_center | Yes | ||
| end_angle | No | ||
| start_angle | No | ||
| footprint_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||