Routing a trace with pcbnew's Python API
Create a copper trace between two points, with a defined width, by script — with pcbnew or KiCad's IPC API.
Routing a right-angle bent trace with pcbnew's Python API
Create a trace with a right-angle bend between two unaligned points, by script — with pcbnew or KiCad's IPC API.
Adding a layer-change via in the middle of a route with pcbnew's Python API
Move a trace from the front to the back layer through a via placed mid-route, by script — with pcbnew or KiCad's IPC API.