Check every footprint already on the board
validate_boardValidate all footprint placements in a KiCad board file against keep-out zones and board edge to prevent design rule violations before manufacturing.
Instructions
Validate all footprint placements against keep-out zones and board edge.
Each footprint's origin is checked as check_placement checks it: keep-outs read
as KiCad reads them, footprint keep-outs in board coordinates and layer sets
such as *.Cu included, and a footprint never flagged by its own keep-outs, which
KiCad's DRC never tests it against (pcbnew/pcbexpr_functions.cpp:697 at 9.0.8).
Args:
pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| violations | Yes | ||
| total_footprints | Yes | ||
| board_edge_checked | Yes |