skidl.tools.kicad8.lib module

Parsing of Kicad libraries.

skidl.tools.kicad8.lib.default_lib_paths()[source]

Return default list of directories to search for part libraries.

skidl.tools.kicad8.lib.get_fp_lib_tbl_dir()[source]

Get the path to where the global fp-lib-table file is found.

skidl.tools.kicad8.lib.load_sch_lib(lib, filename=None, lib_search_paths_=None, lib_section=None)[source]

Load the parts from a KiCad schematic library file.

Parameters:
  • lib (SchLib) – SKiDL library object.

  • filename (str) – The name of the KiCad schematic library file.

  • lib_search_paths (list) – List of paths with KiCad symbol libraries.

  • lib_section – Only used for SPICE simulations.

skidl.tools.kicad8.lib.parse_lib_part(part, partial_parse)[source]

Create a Part using a part definition from a KiCad V6 schematic library.

Parameters:

partial_parse – If true, scan the part definition until the name and aliases are found. The rest of the definition will be parsed if the part is actually used.