get_pin_positions
Retrieve absolute pin positions for a placed component in a KiCad schematic, accounting for rotation/mirroring and listing every unit of multi-unit symbols.
Instructions
Get absolute pin positions for a placed component (accounts for rotation/mirror).
A multi-unit part is placed as one symbol per unit and they all share the
reference, so every placed unit is listed, each with its own pins plus the
unit-0 pins they all share.
Args:
reference: Component reference (e.g. "U1", "R1")
schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |