EAGLE importer: Issue with annotate when EAGLE files contain non conform designator
Description
The import of EAGLE projects with part names without a number at the end (e.g. CON) is working fine. But when perform e.g. 'Update PCB from schematic', the placed part in PCBnew will be removed (CON) and the user has to place the new part with the CON1.
From my point of view, the EAGLE importer should add the number at the end automatically during import such that the part names are according to KiCad standard.
Steps to reproduce
-
Import attached Eagle Project where a part is named 'CON' instead of 'CON1' test1.brd test1.sch
-
Everything is fine in layout and schematic
-
Perform in schematic editor 'Update PCB from schematic'
-
Annotate will rename 'CON' to 'CON1'
-
'CON' is removed and user must place 'CON1' new
KiCad Version
Application: KiCad Schematic Editor
Version: (6.0.1-0), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.41.0
Platform: macOS Big Sur Version 11.6.3 (Build 20G415), 64 bit, Little endian, wxMac
Build Info:
Date: Jan 14 2022 14:47:36
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.64.1
ngspice: 35
Compiler: Clang 12.0.0 with C++ ABI 1002
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON