pcb_place_tracks
Place multiple PCB track segments in one IPC round-trip to route full nets, lay stitch patterns, replicate motifs, or draw keepout rectangles, returning placed and failed counts.
Instructions
Place many track segments on the active PCB in ONE IPC round-trip.
PREFER THIS over placing one segment at a time whenever you have more than one segment to place. The whole batch is wrapped in a single PreProcess/PostProcess and a single save, so 50 tracks take roughly the same wall time as 1. Typical uses: routing a full net, laying down a whole stitch pattern, replicating a motif, drawing a keepout rectangle.
Args: tracks: List of track dicts. Each dict supports: x1, y1, x2, y2 (required, mils; decimals are kept) width (default 10, mils; decimals are kept, so a 0.1 mm rule stays 3.937), layer (default "TopLayer"), net_name (optional, empty = no net)
Example:
[
{"x1": 5010, "y1": 4785, "x2": 5070, "y2": 4785,
"width": 10, "net_name": "NetC8_2"},
{"x1": 5070, "y1": 4785, "x2": 5070, "y2": 4862,
"width": 10, "net_name": "NetC8_2"},
]Returns: Dictionary with "placed" and "failed" counts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||