realthunder / kicad_parser

KiCAD parser written in python
MIT License
15 stars 14 forks source link

KiCad v6 Schematic/Footprint Support #2

Open jtmullen opened 2 years ago

jtmullen commented 2 years ago

Hi @realthunder, KiCad v6 is upgrading to use s-expressions for Schematics and Footprints too. I am wondering if you have planned to or interest in adding support for that to this parser? Not sure exactly when v6 is coming, maybe early next year? But I believe the file format changers are complete and can be seen in the v5.99 builds.

realthunder commented 2 years ago

The kicad_parser is a very thin wrap of the sexp_parser, as can be see from its source code The only additional functionality it provides is to ensure some default keys and values for easy accessing. So it won't take much effort to do the same for other kicad files as long as it is in s-exp format, or simply use a generic sexp_parser.