Creating a copper zone (ground plane) with pcbnew's Python API
Generate a copper zone connected to a net and trigger its fill by script, with pcbnew or KiCad's IPC API.
Creating a keepout (keep-out) zone with pcbnew's Python API
Create a keep out zone by script: a rule area where no track, via or copper fill can go — around a connector or an antenna — with pcbnew or the IPC API.
Setting a copper zone's thermal relief with pcbnew's Python API
Configure the thermal relief around pads connected to a copper zone, by script — with pcbnew or KiCad's IPC API.
Creating a multi-layer copper zone with pcbnew's Python API
Apply the same copper zone to several layers at once with an LSET, instead of duplicating the zone layer by layer — with pcbnew or KiCad's IPC API.
Duplicating and repositioning an existing copper zone with KiCad's Python API
Clone an already-placed copper zone, move it, and rotate it around an arbitrary center without redrawing the outline — with pcbnew or KiCad's IPC API.