[Bug] NMachineSpecificOptions.xml not valid (prefix IronPostProcess-builtin)

[Bug] NMachineSpecificOptions.xml not valid (prefix IronPostProcess-builtin)

JeromeBriot
Mentor Mentor
752 Views
1 Reply
Message 1 of 2

[Bug] NMachineSpecificOptions.xml not valid (prefix IronPostProcess-builtin)

JeromeBriot
Mentor
Mentor

Hello,

 

A user reported an issue with my add-in GitHub2Fusion360

 

The Python code tries to parse the file NMachineSpecificOptions.xml but it fails.

 

An XML validator returns this error in the XML file:

The prefix "IronPostProcess-builtin" for element "IronPostProcess-builtin:maximumCircularRadius" is not bound.

 

This concerns these tags:

  • <IronPostProcess-builtin:maximumCircularRadius Value=" / 1000.00"/>
  • <IronPostProcess-builtin:minimumChordLength Value=" / 0.01"/>
  • <IronPostProcess-builtin:minimumCircularRadius Value=" / 0.01"/>
  • <IronPostProcess-builtin:tolerance Value=" / 0.002"/>
  • <IronPostProcess-builtin:highFeedrate Value=" / 0.00"/>

Because it's not possible to modify the XML file, the only workaround is to encapsulate the code into a try-except block.

0 Likes
753 Views
1 Reply
Reply (1)
Message 2 of 2

JeromeBriot
Mentor
Mentor

I don't know who decided to move this discussion from the Support forum to the API forum but it's a mistake.

 

The issue is not related to the code. This is the XML file created by Fusion 360 that is not valid.

 

 

0 Likes