skidl.tools.kicad5.lib module¶
Parsing of Kicad 5 libraries.
- skidl.tools.kicad5.lib.default_lib_paths()[source]¶
Return default list of directories to search for part libraries.
- skidl.tools.kicad5.lib.get_fp_lib_tbl_dir()[source]¶
Get the path to where the global fp-lib-table file is found.
- skidl.tools.kicad5.lib.load_sch_lib(lib, filename=None, lib_search_paths_=None, lib_section=None)[source]¶
Load the parts from a KiCad schematic library file.
- skidl.tools.kicad5.lib.parse_lib_part(part, partial_parse)[source]¶
Create a Part using a part definition from a KiCad schematic library.
This method was written based on the code from https://github.com/KiCad/kicad-library-utils/tree/master/schlib. It’s covered by GPL3.
- 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.