From 0808dc43aa6a19d508e32efb4a5e07bb36a7c47f Mon Sep 17 00:00:00 2001 From: dsa-t Date: Tue, 25 Nov 2025 09:55:46 +0300 Subject: [PATCH] Support Autodesk Fusion urn format for Eagle import. Fixes https://gitlab.com/kicad/code/kicad/-/issues/22394 (cherry picked from commit 138f8af8abb855352c1b992e8003e4be7236ebe6) Co-authored-by: Alex Shvartzkop --- common/io/eagle/eagle_parser.cpp | 3 ++- common/io/eagle/eagle_parser.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/common/io/eagle/eagle_parser.cpp b/common/io/eagle/eagle_parser.cpp index 8cf1594c7d..e3abd070fb 100644 --- a/common/io/eagle/eagle_parser.cpp +++ b/common/io/eagle/eagle_parser.cpp @@ -327,7 +327,8 @@ bool EURN::IsValid() const "footprint", "library", "package", - "symbol" + "symbol", + "fs.file" }; if( validAssetTypes.count( assetType ) == 0 ) diff --git a/common/io/eagle/eagle_parser.h b/common/io/eagle/eagle_parser.h index 5db65fde45..fe2f3062dd 100644 --- a/common/io/eagle/eagle_parser.h +++ b/common/io/eagle/eagle_parser.h @@ -428,6 +428,9 @@ struct EAGLE_BASE * The "/" is omitted when referencing the asset without specifying a particular version. * For example, "urn:adsk.eagle:component:60986/2" references version 2 of component 60986 and * "urn:adsk.eagle:library:60968" references library 60986 without specifying a version. + * + * Autodesk Fusion can use a different format instead, e.g.: + * "urn:adsk.wipprod:fs.file:vf.RSKzNVZVQPeDNm7Bnfr3WQ" */ struct EURN : public EAGLE_BASE {