lay_bus
Route multiple nets as a parallel bus along a chosen path, offsetting lanes and checking conflicts before writing copper.
Instructions
Lay a bus: one lane per net, side by side along a path you choose ([[x, y], ...], 45-degree
corners), lane 0 on the path and lane i offset i * pitch to the LEFT of travel, each lane
trimmed to the stretch its own pins span. Order nets so the taps at the ends cross as little
as possible. Then join each pin to its lane with route_net (taps; vias where a tap must cross
other lanes). Checked against other nets' copper, holes, keepouts and the lanes' own pitch;
nothing is written if a lane conflicts. dry_run=true (default) returns the plan and a picture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nets | Yes | ||
| layer | No | bottom | |
| dry_run | No | ||
| path_mm | Yes | ||
| pitch_mm | No | ||
| width_mm | No |