i'm working on a linux machine running occ50. i have written the following procedure for reading iges files:
Standard_Integer stat = reader.LoadFile((char*)filename);
cout if (reader.Check (Standard_True)) cout reader.TransferRoots(Standard_False);
this work fine for most IGES files, but for some, like the attached, it crashes in the last line with output:
Beginning of IGES data translation.
read.precision.mode : 0
read.iges.bspline.continuity : 1
read.surfacecurve.mode : 0
that's all. i have tried loading the file with the DRAW test program and everything works fine.
so i'm not sure, do i have a mistake in my function or is there a bug hidden somewhere in the TransferRoots routine ...
looking foreward to any suggestions
the iges-file can be downloaded on