Support Autodesk Fusion urn format for Eagle import.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22394


(cherry picked from commit 138f8af8ab)

Co-authored-by: Alex Shvartzkop <[email protected]>
This commit is contained in:
dsa-t
2025-11-25 09:55:46 +03:00
parent eabaacbe5b
commit 0808dc43aa
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -327,7 +327,8 @@ bool EURN::IsValid() const
"footprint",
"library",
"package",
"symbol"
"symbol",
"fs.file"
};
if( validAssetTypes.count( assetType ) == 0 )
+3
View File
@@ -428,6 +428,9 @@ struct EAGLE_BASE
* The "/<VERSION>" 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
{