KiCAD: Symbol-Bibliothek gegen KLC (KiCAD Library Conventions) prüfen

English Deutsch

Klone zuerst kicad-library-utils mit

klc_check_instructions.txt
git clone https://gitlab.com/kicad/libraries/kicad-library-utils.git

Führe dann das Prüfskript gegen deine Bibliothek aus mit

run_klc_check.sh
~/kicad-library-utils/klc-check/check_symbol.py MyLibrary.kicad_sym -vv

Möglicherweise musst du den Pfad zu kicad-library-utils entsprechend anpassen.

Dies erzeugt eine farbige Ausgabe auf der Kommandozeile wie beispielsweise

klc_check_output.txt
Checking symbol 'Analog_Switch:FSA3157L6X':
Checking symbol 'Analog_Switch:NC7SB3157P6X':
  Violating S3.1
    Origin is centered on the middle of the symbol
    Symbol unit 1 not centered on origin
     - Center calculated @ (0, -112)
  Violating S3.6
    Pin name position offset
    Pin offset outside allowed range
     - Pin offset (5) should not be below 20mils

Check out similar posts by category: Electronics, KiCAD