skidl.tools.kicad8.gen_pcb module

Functions for generating a KiCad PCB.

skidl.tools.kicad8.gen_pcb.gen_pcb(circuit, pcb_file, fp_libs=None)[source]

Create a KiCad PCB file directly from a Circuit object.

Parameters:
  • circuit (Circuit) – Circuit object.

  • pcb_file – Either a file object that can be written to, or a string containing a file name, or None.

  • fp_libs – List of directories containing footprint libraries.

Returns:

None.