mvnmgrx / kiutils

Simple and SCM-friendly KiCad file parser based on Python dataclasses for KiCad 6.0 and up.
GNU General Public License v3.0
78 stars 25 forks source link

KiCad 7: Mark symbols as DNP #68

Closed mvnmgrx closed 1 year ago

mvnmgrx commented 1 year ago

Symbols can now be marked as "do not populate". This adds another token called dnp to the symbol, which does not seem to be optional in v7, but does not exist in v6.

Example:

  (symbol (lib_id "74xx:74AHC240") (at 180.34 101.6 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (uuid 587a4c9d-0749-472e-ae82-ada578716f31)
    (property "Reference" "U1" (at 182.2959 82.55 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
  )