Outline bounds of a footprint placed on the board
get_footprint_boundsRetrieve the board-coordinate bounding box for a placed footprint by providing its reference designator and optional PCB file path, enabling precise spatial analysis and layout verification.
Instructions
Get the board-coordinate bounding box of a placed footprint.
Args:
reference: Footprint reference designator
pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | No | ||
| reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| position | Yes | ||
| rotation | Yes | ||
| courtyard | Yes | ||
| reference | Yes |