Tue, 11/29/2011 - 18:08
Forums:
Hi guys! I have a simple cube and would like to make a fillet on one of the edges. Here's the code I'm using
BRepFilletAPI_MakeFillet mkFillet(body, ChFi3d_Rational);
TopExp_Explorer aEdgeExplorer;
aEdgeExplorer.Init(body, TopAbs_EDGE, 0);
while (aEdgeExplorer.More())
{
TopoDS_Edge aEdge = TopoDS::Edge(aEdgeExplorer.Current());
mkFillet.Add(0.01, aEdge);
break;
}
mkFillet.Build();
currentShape = mkFillet.Shape();
As soon as the last line is executed, the program crashes. Any idea why? Many thanks in advance!
Tue, 11/29/2011 - 19:25
and sorry, here's the file
Wed, 11/30/2011 - 12:33
Dear Bernardo,
I would like to inform you that the posted problem has been checked and reproduced:
- Debug mode => crash
- Release mode => empty result
The corresponding issue with ID = 22821 has been registered.
Later you may check if the issue is resolved by checking references to the specified ID in OCCT Release Notes. The analysis of the issue will take some time depending on our technical capability and availability of resources.
If the problem is urgent for you, you may contact us via the Contact Form http://www.opencascade.org/about/contacts/.
Regards