Browse Source

Support Autodesk Fusion urn format for Eagle import.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22394
9.0
Alex Shvartzkop 4 days ago
parent
commit
138f8af8ab
  1. 3
      common/io/eagle/eagle_parser.cpp
  2. 3
      common/io/eagle/eagle_parser.h

3
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 )

3
common/io/eagle/eagle_parser.h

@ -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
{

Loading…
Cancel
Save