stitch_vias
Place vias on a grid across a net's copper pours where they clear other nets, pads, holes, keepouts, and board edges using design clearance/drill rules; one call adds all, dry-run plans.
Instructions
Via stitching for a net's pours: vias on a grid wherever they clear other nets' copper, every pad (no via-in-pad), holes, keepouts and the board edge, using the design's clearance and drill rules. keep_away_mm: {net regex: mm} keeps vias further from some nets' copper, e.g. {"^ETH|^USB_D": 0.6} to keep ground as far from impedance pairs as their pours are. under_parts: refdes regex of parts vias may go under, e.g. "J[0-9]+" for big through-hole connectors: under the body (an overhang to the board edge) but not in the pin field (the pads' box + 2 mm); other parts stay via-free. One call places them all (one undo step). dry_run=true only plans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | GND | |
| dry_run | No | ||
| drill_mm | No | ||
| max_vias | No | ||
| pitch_mm | No | ||
| under_parts | No | ||
| keep_away_mm | No |