get_footprint_bounds
Retrieve the bounding box coordinates of a placed footprint on a PCB board. Requires footprint reference designator and .kicad_pcb file path.
Instructions
Get the board-coordinate bounding box of a placed footprint.
Args:
reference: Footprint reference designator
pcb_path: Path to .kicad_pcb file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| position | Yes | ||
| rotation | Yes | ||
| courtyard | Yes | ||
| layer | Yes |