crash in iges reader TransferRoots()

I attached a small iges file. Loading this leads to a crash after calling reader.TransferRoots()
The crash occures in the healing stage.
Any idea what's wrong?

Attachments: 
Forum supervisor's picture

Dear Andreas,
I would like to inform you that the posted problem has been checked and reproduced in Windows 7 & VC10 environment only. On Windows XP (32 6 64 bit) the exception is not reproduced.
You can try it in Debug mode on Windows 7. During translation you will get messages like next:
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored
Warning: IGESToBRep_IGESBoundary: Deviation = 2.39834287266854
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored
Warning: IGESToBRep_IGESBoundary: Deviation = 2.39834287266856
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored
Warning: IGESToBRep_IGESBoundary: Deviation = 2.39834287266853
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored
Warning: IGESToBRep_IGESBoundary: Deviation = 2.10782645054958
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored
Warning: IGESToBRep_IGESBoundary: Deviation = 1.43371702794149
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored
Warning: IGESToBRep_IGESBoundary: Deviation = 1.43371070262863
Warning: IGESToBRep_IGESBoundary: 3D and 2D curves are inconsistent; 3D is ignored

** Exception in IGESToBRep_BasicCurve::TransferBasicCurve : 000007FEF1761BE8 : Standard_ConstructionError: Geom_TrimmedCurve::U1

It explains the reason.
As you probably know the website dedicated to contributors is available now: http://dev.opencascade.org.
You are welcome to make a contribution via the Collaborative portal.
For bugs registration Mantis Bugtracker is available now.
Regards

Andreas Zieringer's picture

Hi,

thanks for the fast feedback. I created a new issue in the bugtracker. I could also reproduce the crash with a 64 bit linux system.

Regards,

Andreas

Gilles Paiva's picture

Hi,

I need create some splines, to form a surface. I have to write this surface on a .IGES file.

I do not have any idea how to do it. How do I save a spline/surface on a .IGES file?????