KiCAD: Einzelnes Schematic-Symbol gegen KLC prüfen

English Deutsch

In unserem vorherigen Beitrag KiCAD: Symbol-Bibliothek gegen KLC (KiCAD Library Conventions) prüfen haben wir gezeigt, wie man check_symbol.py verwendet, um eine Symbol-Bibliothek gegen die KiCAD-Bibliotheksrichtlinien zu prüfen.

Man kann damit auch nur ein bestimmtes Symbol in der Bibliothek anhand des Namens prüfen, was die Ausgabe deutlich übersichtlicher macht. Verwende -c "CD4066B", um nur die Komponente namens CD4066B zu prüfen.

klc_check_single_symbol.sh
~/kicad-library-utils/klc-check/check_symbol.py MyLibrary.kicad_sym -vv -c "CD4066B"

Dies gibt beispielsweise aus:

klc_check_single_symbol_output.txt
Checking symbol 'Analog_Switch:CD4066B':
  Violating S3.1
    Origin is centered on the middle of the symbol
    Symbol unit 3 slightly off-center
     -   Center calculated @ (-25, -25)
    Symbol unit 4 slightly off-center
     -   Center calculated @ (-25, -25)
    Symbol unit 5 not centered on origin
     - Center calculated @ (-100, 0)
  Violating S4.1
    General pin requirements
    Pins not located on 100mil (=2.54mm) grid:
     - Pin C (6) @ (-400,50)
     - Pin C2 (9) @ (350,-100)
     - Pin D2 (10) @ (350,-100)
     - Pin D (12) @ (-400,50)
  Violating S5.2
    Footprint filters should match all appropriate footprints
    No footprint filters defined

Check out similar posts by category: Electronics, KiCAD