When adding a footprint to the layout that has all its manufacturing attributes all unset / set to "other", the parser will not create the corresponding footprint.attributes token.
Manufacturing attributes set:
Expected behavior:
footprint.attributes token created with its members all set accordingly.
Observed behavior:
In this case, the footprint.attributes token will be None, as the S-Expression may not be created from KiCad when selecting the manufacturing attributes as shown above.
Setting at least the footprint type to something other than "Other", the parser will parse the footprint.attributes token correctly:
Possbible fix:
Always create footprint.attributes token, but check that this does not create redundant S-Expression when creating a footprint like described above.
Problem:
When adding a footprint to the layout that has all its manufacturing attributes all unset / set to "other", the parser will not create the corresponding
footprint.attributes
token.Manufacturing attributes set:
Expected behavior:
footprint.attributes
token created with its members all set accordingly.Observed behavior:
In this case, the
footprint.attributes
token will beNone
, as the S-Expression may not be created from KiCad when selecting the manufacturing attributes as shown above.Setting at least the footprint type to something other than "Other", the parser will parse the
footprint.attributes
token correctly:Possbible fix:
Always create
footprint.attributes
token, but check that this does not create redundant S-Expression when creating a footprint like described above.