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 / BRepOffsetAPI_ThruSections crashes when calling build()

BRepOffsetAPI_ThruSections crashes when calling build()

BRepOffsetAPI_ThruSections crashes when calling build()
Alexander Luger 2012/08/29 18:39
Dear community,

I want to close a cylindrical surface (generate solid). Therefore I pass the outer wire of a cylindrical surface to BRepOffsetAPI_ThruSections.

TopoDS_Wire outerWire = BRepTools::OuterWire(TopoDS::Face(myCylinderShape));
BRepOffsetAPI_ThruSections aSolidGenerator(Standard_True,Standard_False);
aSolidGenerator.AddWire(outerWire);
aSolidGenerator.CheckCompatibility(Standard_True);
aSolidGenerator.Build();

My code always crashes when I call aSolidGenerator.Build(). "access violation when reading at position ..."

What's the problem with my code?

Thanks in advance.

Best regards, alex
 
 
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