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

Search the Forums
See All Topics
 

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
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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