Eagle 9.6 to KiCad 8.03 import wrongly names footprints if Eagle design uses managed libraries
# Description
Trying out KiCad as an Eagle replacement and tested the Eagle importer. The Eagle design was made in Eagle 9.6.2 and uses parts from a managed library (Autodesks cloud managed library system). Board and schematic imported successfully but when I update PCB from Schematic most footprints are missing. On inspection all the footprints in the .pretty folder have had part of the Eagle library URN appended to their name but the footprint names in the Schematic symbols have not.
Here's a snip from the Eagle .brd file (corrected now I've looked more closely and discovered the insert code button):
`<library name="MX_LIB" urn="urn:adsk.eagle:library:38243636">
<packages>
<package name="LED-0603" urn="urn:adsk.eagle:footprint:38439753/2" library_version="211">`
or possibly
`<elements>
<element name="D1" library="MX_LIB" library_urn="urn:adsk.eagle:library:38243636" package="LED-0603" package3d_urn="urn:adsk.eagle:package:38439755/3" value="CHIP-LED-GREEN" x="41.91" y="36.83" smashed="yes">
`
is the line that is parsed incorrectly.
Which generates a footprint file called LED-0603_38243636.kicad_mod in LED.pretty and this name is used in the PCB file. The footprint in the associated symbol in the schematic is LED:LED-0603. Note - the test project name is 'LED'.
# Steps to reproduce
1. Import an Eagle 9.6.2 project with managed library components. See [Eagle_demo.zip](/uploads/876f71dcc34dc396c9e50d7026889236/Eagle_demo.zip) which contains one LED and one resistor.
# Work around
Use the Save Copy for EAGLE V7.x.. option in Eagle and import this.
# KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 8.0.3, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics 620, 4.6.0 - Build 31.0.101.2125
Build Info:
Date: Jun 3 2024 19:04:47
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.8.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1939 without C++ ABI
Build settings:
issue