add_thermal_vias
Add a grid of thermal vias under a chosen footprint pad to improve heat dissipation. Configure grid dimensions, via sizes, and net assignment.
Instructions
Add a grid of thermal vias under a footprint pad.
Args:
reference: Footprint reference (e.g. "U1", "R1")
pad_number: Pad number to center vias on. If empty, auto-selects largest SMD pad.
rows: Number of rows in the via grid
cols: Number of columns in the via grid
spacing: Spacing between vias in mm
via_size: Via annular ring diameter in mm
via_drill: Via drill diameter in mm
net_name: Net to assign to vias. If None, auto-detect from pad.
pcb_path: Path to .kicad_pcb file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| pad_number | No | ||
| rows | No | ||
| cols | No | ||
| spacing | No | ||
| via_size | No | ||
| via_drill | No | ||
| net_name | No | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vias_added | Yes | ||
| reference | Yes | ||
| pad | Yes | ||
| net | Yes | ||
| center | Yes |