You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to import below attached 3MF file(having 1 mesh object has 2 triangles with all vertex indices 0), lib3mf gives an exception - NMR_ERROR_INVALIDMODELCOORDINATEINDICES from source file NMR_ModelReaderNode100_Triangles.cpp and import of 3mf fails.
However, when this 3mf file is opened in 3D builder, it gets open successfully.
Below if condition gets failed and hence exception is thrown, (code snippet form NMR_ModelReaderNode100_Triangles.cpp)
if ((nIndex1 != nIndex2) && (nIndex1 != nIndex3) && (nIndex2 != nIndex3))
{
Some code...
}
else throw CNMRException(NMR_ERROR_INVALIDMODELCOORDINATEINDICES);
Instead of throwing an Exception, can an error be displayed and aborting import of 3mf file avoided?
When the strict mode is disabled, Instead of throwing an Exception can we display error message and continue reading rest of the 3mf file? Cube_2In_Faulty.zip
The text was updated successfully, but these errors were encountered:
When trying to import below attached 3MF file(having 1 mesh object has 2 triangles with all vertex indices 0), lib3mf gives an exception - NMR_ERROR_INVALIDMODELCOORDINATEINDICES from source file NMR_ModelReaderNode100_Triangles.cpp and import of 3mf fails.
However, when this 3mf file is opened in 3D builder, it gets open successfully.
Below if condition gets failed and hence exception is thrown, (code snippet form NMR_ModelReaderNode100_Triangles.cpp)
if ((nIndex1 != nIndex2) && (nIndex1 != nIndex3) && (nIndex2 != nIndex3))
{
Some code...
}
else throw CNMRException(NMR_ERROR_INVALIDMODELCOORDINATEINDICES);
Instead of throwing an Exception, can an error be displayed and aborting import of 3mf file avoided?
When the strict mode is disabled, Instead of throwing an Exception can we display error message and continue reading rest of the 3mf file?
Cube_2In_Faulty.zip
The text was updated successfully, but these errors were encountered: