Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Crash when reading STEP file

Crash when reading STEP file
Bernardo Carneiro 2012/10/24 23:33
Good evening. I'm having crashes on reading some .step files. Here is my code to read a step file

var aReader = new OCSTEPControl_Reader();
aReader.ReadFile(filename);
aReader.PrintCheckLoad(false, OCIFSelect_PrintCount.IFSelect_ItemsByEntity);
var nbr = aReader.NbRootsForTransfer(); // CRASH HAPPENS HERE
aReader.TransferRoots();
return aReader.OneShape(); //Transform it into an opencascade shape

I've attached the file that crashes my open cascade when I try to read it. Is anyone having this problem? Thanks in advance for the help!
You have to be logged in to download the attached file
Hans 2012/10/25 02:43
      No problem with reading your STEP-File.
Pawel 2012/10/25 12:26
Hi Bernardo,

I was also able to import the file successfully.

However, I spotted some invalid faces within the model.

Pawel
 
 
Latest news
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map