Positioning a footprint with pcbnew's Python API
Learn how to position and rotate a footprint on a PCB by scripting pcbnew's Python API directly, without going through the GUI.
Placing a grid of footprints with pcbnew's Python API
Position several identical footprints in a grid by script — useful for an LED panel or a row of connectors — with pcbnew or KiCad's IPC API.
Flipping a footprint to the back layer with pcbnew's Python API
Move a footprint from the front to the back layer of the PCB by script, for a component mounted on B.Cu — with pcbnew or KiCad's IPC API.
Duplicating an existing footprint with pcbnew's Python API
Clone an already-placed footprint instead of recreating one from scratch, to quickly reproduce a component with its properties — with pcbnew or KiCad's IPC API.