kiutils
kiutils copied to clipboard
Simple and SCM-friendly KiCad file parser based on Python dataclasses for KiCad 6.0 and up.
I had an issue with Kiutils parsing locally edited symbols with names ending with _NUMBER as symbol with unitId and styleId, example: have symbol called `C_100n_0402` from some lib, modify...
It seems KiCAD 8 changed the file format enough that KiUtils opening, parsing, and saving a PCB will corrupt it and prevent it from being opened. To replicate: 1. Open...
Similar to #89. If zone is on all layers KiCad may use `(layers *.Cu)` which is serialized by `kiutils` incorrectly as `(layer *.Cu)`, and that causes KiCad to segfault when...
The error occurs when reading board layers. """ _ERROR: failed to read C:\Users\valte\PycharmProjects\pcbpr_v2\data\pcb_repos\maxlab-io_tokay-lite-pcb\ai-camera-rev3\ai-camera-rev3.kicad_pcb (v6) using PCBParserKiCadV6Plus() Error: Dimensions are not yet handled! Please report this bug along with the file...
Input ``` (footprint "JST_EH_B2B-EH-A_1x02_P2.50mm_Vertical" (version 20221018) (generator pcbnew) (pad "1" thru_hole roundrect (at 0 0) (size 1.7 2) (drill 1) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.147059) (tstamp b9960672-3af1-4d13-99fc-2f62dd24a4bc)) (pad "2" thru_hole...
After parsing small numbers, there displayed in scientific notation:  This works, but KiCad does not use scientific notation by itself. So it would be better to get rid of...
This PR address another half of the issue mentioned by issue #60. KiUtils currently parses `(module` files without question. Though, `(module` files can have the legacy syntax for `fp_arc`, which...
There seems to be a `host` token in the first line of a schematic: https://github.com/koson/kicad6-file-collection/blob/main/files/github.com/Yongxin-Lu/self_balancing_car/pcb/24rf_remote_control/24RF_Remote_Control.kicad_sch
I found exporting a footprint with a `fp_arc` from KiUtils, KiCad fails to import it due to a syntax error in the `fp_arc`. From further investigation, I found that without...
I had a need for the eeschema netlist export format, and have implemented parsing. There are two test cases and i've updated the documentation.