Message 1 of 2
[Bug] NMachineSpecificOptions.xml not valid (prefix IronPostProcess-builtin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
Jérôme Briot, Freelance engineer - Mechanical design and prototyping
3D Print Plus / Pro | IDF Import | GitHub To Fusion 360 | Tube Bending Data Exchanger | Slice Data Export
Memory Used | Basic Calculator | Check Computer Specifications | Import spline from any CSV file