skidl.tools.kicad5.gen_xml module

Generate KiCad 5 XML.

skidl.tools.kicad5.gen_xml.gen_xml(circuit)[source]

Generate the XML describing a circuit.

Parameters:

circuit (Circuit) – Circuit object.

Returns:

String containing the XML for the circuit.

Return type:

str