kicad2ems.core.lines.builder

The board to the line model: build(board) breaks every net a port sits on into
uniform pieces (trace runs, component pads, via barrels, lumped parts and copper
shapes as strips), classifies each against its reference copper (reference.py)
and joins them at nodes; topology.py then finds the coupled groups, the
discontinuities and the ports' paths.
kicad2ems.core.lines.builder.build(model, nets=None, refcu=None, field=False)[source]
The line model of the nets the ports sit on (and the nets reached through
series parts); `nets`: these nets instead (the KiCad plugin's impedance map
of a board before it has ports), refcu: their reference copper (RefCopper)
when it is built once for several calls (every signal net excluded, not only
these); field:
which sections the field solver solves on the board's cut across them
(--lines-field): 'auto' (those whose cut holds what the formulas leave out),
'all' or True (every one), 'off' (none: the formulas); False or None: as
lines.reference.FIELD is, 'auto' unless it was changed.