Bug - 'Save As Mesh' to local windows computer fails due to naming convention clash

Bug - 'Save As Mesh' to local windows computer fails due to naming convention clash

jonathanESQBD
Explorer Explorer
306 Views
0 Replies
Message 1 of 1

Bug - 'Save As Mesh' to local windows computer fails due to naming convention clash

jonathanESQBD
Explorer
Explorer

Hi. I have found a bug in the 'Save As Mesh' feature.
The 'Save As Mesh' feature uses the component and body names to generate a filename when saving to the local computer.

The component and body names in fusion are case-sensitive. 
Windows filenames are not case-sensitive (and probably also have character restrictions that component and body names do not).
This means that the generated filenames are not always compatible with windows filenames. 
E.g., You can have two components 'myComponent' and 'MyComponent' on the same level in fusion, each with a body with the same name 'Body1'.
If you use 'Save As Mesh' on the parent component and choose Structure: One File Per Body, then the generated filenames for the meshes are equivalent in windows. The tool will only generate a file for one of the components, and the other one will fail without errors or warnings.

To correct this, the filename generator function can be changed to catch when an existing file in the directory has the same file name and iterate the generated filename. The tool could also catch the case when a mesh file fails to be created and generate an error and/or warning dialog to the user.

0 Likes
307 Views
0 Replies
Replies (0)