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.PrintCheckLoad(false, OCIFSelect_PrintCount.IFSelect_ItemsByEntity);
var nbr = aReader.NbRootsForTransfer(); // CRASH HAPPENS HERE
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.

Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

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