autoroute
Route remaining PCB connections with Freerouting while locking existing tracks, skipping specified net classes, then refill zones and run DRC.
Instructions
Route the remaining connections with Freerouting.
Typical flow: set net classes (configure_netclasses), route or pour the high-current nets yourself, then autoroute the rest with those classes in skip_netclasses. Existing tracks are locked so they are not moved.
With the board open in KiCad it is saved, backed up (.pre-autoroute.kicad_pcb), routed on disk, and reloaded into the editor - that replaces the editor's undo history, so the backup is the way back. Afterwards zones are refilled and DRC runs; always read 'drc_after' (copper text and some keepouts are invisible to Freerouting).
Args: max_passes: Autorouter pass limit (honoured by Freerouting 2.2+). timeout_s: Hard limit for the Freerouting run, in seconds. lock_existing: Keep existing tracks exactly where they are. skip_netclasses: Net classes Freerouting must not route, e.g. ['HighCurrent']. board_file: Route this .kicad_pcb on disk instead of the open board.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | ||
| board_file | No | ||
| max_passes | No | ||
| lock_existing | No | ||
| skip_netclasses | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||