FSC-BT1058 had ended up with two footprint/symbol libraries on disk (FSC-BT1058 and MIKILAB_FSC-BT1058) after a re-import baked the "MIKILAB_" nickname prefix into the component name itself. Since that prefix is normally added automatically when sym-lib-table/fp-lib-table are generated, the double-prefixed copy (MIKILAB_MIKILAB_FSC_BT1058) was invisible to collision checks and left the original as a stale, outdated duplicate. Consolidated onto the single correct library (symbols/other and footprints/other without the redundant prefix, matching the rest of the library's naming convention), fixed the symbol's Footprint property and the footprint's 3D model reference, and regenerated both lib-tables from disk. To stop this class of bug from recurring: - lib_common.check_component_name() rejects any --name that already starts with "MIKILAB", used by import_component.py's import_symbol/ import_footprint (and therefore also by add_component.py and the SnapEDA/UltraLibrarian importers, which call into the same core). - check_library.py now flags any on-disk symbol/footprint whose name already carries that prefix as an ERROR, independent of how it got there. - import_component.py gains --remove to cleanly delete a component (symbol, footprint library, 3D model) and regenerate the lib-tables in one step, for exactly this kind of cleanup. Errors: 0 on check_library.py after the fix. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
82 lines
3.2 KiB
Plaintext
82 lines
3.2 KiB
Plaintext
|
|
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
|
|
(symbol "TPD2E007DCKR" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
|
(property "Reference" "U" (id 0) (at -5.36061 7.64713 0.0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom left))
|
|
)
|
|
(property "Value" "TPD2E007DCKR" (id 1) (at -4.14357 -13.8797 0.0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom left))
|
|
)
|
|
(property "Footprint" "MIKILAB_TPD2E007DCKR:SOT65P210X110-3N" (id 2) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MF" "Texas Instruments" (id 4) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Description" "\n \n Dual 10-pF, ±13-V, ±8-kV ESD protection diode for AC Signal Data Interfaces\n \n" (id 5) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "PACKAGE" "S070-3" (id 6) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MPN" "TPD2E007DCKR" (id 7) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Price" "None" (id 8) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Package" "SC70-3 Texas Instruments" (id 9) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "OC_FARNELL" "-" (id 10) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "SnapEDA_Link" "https://www.snapeda.com/parts/TPD2E007DCKR/Texas+Instruments/view-part/?ref=snap" (id 11) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MP" "TPD2E007DCKR" (id 12) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "SUPPLIER" "Texas Instruments" (id 13) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "OC_NEWARK" "55R7554" (id 14) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Availability" "In Stock" (id 15) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Check_prices" "https://www.snapeda.com/parts/TPD2E007DCKR/Texas+Instruments/view-part/?ref=eda" (id 16) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(symbol "TPD2E007DCKR_0_0"
|
|
(rectangle (start -12.7 -10.16) (end 12.7 5.08)
|
|
(stroke (width 0.4064)) (fill (type background))
|
|
)
|
|
(pin bidirectional line (at -17.78 0.0 0) (length 5.08)
|
|
(name "IO1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin passive line (at -17.78 -5.08 0) (length 5.08)
|
|
(name "GND"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "3"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin bidirectional line (at 17.78 -2.54 180.0) (length 5.08)
|
|
(name "IO2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
) |