We are in process of building a simple application that would read iges files and perform some geometry operations. While testing some iges files generated by solid works, we noticed some issues. I have attached a simple sample file (test_Bad.IGS) for review. This example is a tube created using revolve option in solid works. When we load this file into OCCT using the precompiled Import-export sample program on windows, we noticed improper spherical surface at bottom.
However, if we load this IGES file into the Solid works and export back in iges format, we get a file that can be loaded properly into opencascade application.
I tested the test_Bad.IGS files in other cad tools and found it to be working fine.
Is there a way to read this test_Bad.IGS file properly using opencascade libraries? Please suggest.