pcb_highlight_net
Highlight a specific net in a KiCad PCB layout by rendering its tracks, vias, pads, and zones bright over a dimmed board, then output as a 2D PNG image.
Instructions
Render a 2D PNG with one net's tracks, vias, pads, and zones drawn bright over a dimmed board. Defaults to the whole board and all copper layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | Net name or number to highlight | |
| x_mm | No | Optional bbox origin X in board millimetres | |
| y_mm | No | Optional bbox origin Y in board millimetres | |
| layers | No | Layer names, e.g. ['F.Cu','B.Cu','Edge.Cuts'] | |
| source | Yes | Board name, .kicad_pcb path, or sibling .kicad_sch | |
| width_mm | No | Optional bbox width in millimetres | |
| width_px | No | Long-edge pixel target capped at 1600 | |
| height_mm | No | Optional bbox height in millimetres | |
| output_dir | No | PNG output directory; defaults to a temp dir |