Crate kicad_parse_gen

Source
Expand description

Kicad file format parser and generator library

Re-exports§

Modules§

  • checking and fixing related to the Kicad Library Convention
  • Kicad error handling code and types
  • Kicad footprint format handling
  • Kicad fp-lib-table format handling
  • Kicad layout format handling
  • Kicad project format handling
  • Kicad schematic format handling
  • Kicad symbol library format handling

Structs§

Enums§

  • types of Kicad files that we expect to read
  • types of Kicad files that can be found
  • a symbolic-expression structure Can be a string or a list or nothing
  • errors that can happen in this library

Traits§

  • item location can be adjusted
  • calculate the bounding box of a layout item

Functions§

  • read file utility wrapper function read a file
  • read a file, expecting it to be an fp-lib-table
  • try to read a file, trying to parse it as the different formats and matching it against the Expected type
  • read a file, expecting it to be a Kicad layout file
  • read a file, expecting it to be a Kicad module file
  • read a file, expecting it to be a Kicad project file
  • read a file, expecting it to be a Kicad schematic
  • read a file, expecting it to be a Kicad symbol library file
  • ordering used for ordering by component reference to e.g. avoid U1 U101 U2 and get U1 U2 U101
  • write file utility wrapper function write a file
  • write out a kicad Layout to a file
  • write out a kicad Module to a file