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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Crash when reading STEP file

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.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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