Crate kicad_parse_gen [] [src]

Kicad file format parser and generator library

Reexports

pub use error::*;

Modules

checkfix

checking and fixing related to the Kicad Library Convention

error

Kicad error handling code and types

footprint

Kicad footprint format handling

fp_lib_table

Kicad fp-lib-table format handling

layout

Kicad layout format handling

project

Kicad project format handling

schematic

Kicad schematic format handling

symbol_lib

Kicad symbol library format handling

Structs

Bound

A bounding box

Enums

Expected

types of Kicad files that we expect to read

KicadFile

types of Kicad files that can be found

Sexp

a symbolic-expression structure Can be a string or a list or nothing

SexpError

errors that can happen in this library

Traits

Adjust

item location can be adjusted

BoundingBox

calculate the bounding box of a layout item

Functions

read_file

read a file

read_fp_lib_table

read a file, expecting it to be an fp-lib-table

read_kicad_file

try to read a file, trying to parse it as the different formats and matching it against the Expected type

read_layout

read a file, expecting it to be a Kicad layout file

read_module

read a file, expecting it to be a Kicad module file

read_project

read a file, expecting it to be a Kicad project file

read_schematic

read a file, expecting it to be a Kicad schematic

read_symbol_lib

read a file, expecting it to be a Kicad symbol library file

reference_ord

ordering used for ordering by component reference to e.g. avoid U1 U101 U2 and get U1 U2 U101

write_file

write a file

write_layout

write out a kicad Layout to a file

write_module

write out a kicad Module to a file