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
81 stars 27 forks source link

Added `active` member to kiutils.libraries.Library for ability to disable specific libraries #51

Closed zardini123 closed 1 year ago

zardini123 commented 1 year ago

Added 'active' boolean member to kiutils.libraries.Library. In addition, modified Library/LibTable tests to include the member.

This member reflects KiCad's own functionality. When active == False, a (disabled) token is present in the library's S-expr. When active == True, the token is absent.

Fixes #48.

mvnmgrx commented 1 year ago

Looks good. Thanks for providing the implementation + tests!