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:
@@ -327,7 +327,8 @@ bool EURN::IsValid() const
|
||||
"footprint",
|
||||
"library",
|
||||
"package",
|
||||
"symbol"
|
||||
"symbol",
|
||||
"fs.file"
|
||||
};
|
||||
|
||||
if( validAssetTypes.count( assetType ) == 0 )
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user