kicad2ems.ipc.window¶
The plugin's window: the board KiCad has open, seen from above, its traces
coloured by their impedance (Z0) and read on hover; a region to simulate (drawn,
taken from KiCad's selection, or set up around a set of nets with ports at their
components) and ports (clicked on traces and pads); a run of kicad2ems on them,
its S-parameters against the line model's, or the same set-up opened in
kicad2ems's GUI.
python plugin/kicad2ems_plugin.py # what KiCad's toolbar button runs
# (install.py)
- class kicad2ems.ipc.window.Legend[source]¶
The colour scale of the map: blue below each section's target impedance (its net class's, else the reference), grey on it, red above; `half` a fraction of the target.
- class kicad2ems.ipc.window.Loader(text, path, plan=None, nets=None, classes=None, cache=None, field=False)[source]¶
Reads the board (Plan) and maps the impedance of `nets`, a group of nets at a time, off the GUI thread. With a plan already read: only the map. nets None: none yet (the window chooses once the board is read).
- class kicad2ems.ipc.window.PluginPlan[source]¶
The plan view with the plugin's tools: hover a section to read its Z0, click it to select its track in KiCad; 'region': two clicks give the corners; 'port': a click puts a port on the trace or pad under it; 'net': a click picks the net of the trace under it.
- class kicad2ems.ipc.window.Results[source]¶
A run's S-parameters: |S| in dB of each full-wave solver (solid) and of the line model (dashed, the same colour per term), and the largest differences between them.
- class kicad2ems.ipc.window.Window(live=None)[source]¶
- event(ev)[source]¶
R-E26: brought to the front after the board was edited in KiCad, the board is read again.
- install_gpu()[source]¶
slangpy into this Python (pip), in a process of its own, the button gone once it is there.
- map_on_board()[source]¶
The chosen map's bands drawn on the board (one commit: KiCad's undo takes it back).