
 |
| 3D modeling & numerical simulation |
|
|
 |
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 |
 |
| | | |
|
 |
|