Thu, 05/07/2020 - 21:53
Forums:
Hello everyone, I am using occt7.4.0. In the process of using,
I found that using BRepFilletAPI_MakeFillet to fillet the corners of the cube will crash. The flow of the function call when I debug is in the picture in the appendix.
The code for the corners is as follows:
try {
OCC_CATCH_SIGNALS
TopoDS_Solid Box = BRepPrimAPI_MakeBox(100,100,100);
BRepFilletAPI_MakeFillet MF(Box);
// add all the edges to fillet
TopExp_Explorer ex(Box,TopAbs_EDGE);
while (ex.More())
{
MF.Add(5,TopoDS::Edge(ex.Current()));
ex.Next();
}
Handle(AIS_Shape) aisshape=new AIS_Shape(MF.Shape());
myContext->Display(aisshape,Standard_True);
}
catch (StdFail_NotDone &sf)
{
}
catch (Standard_Failure &sf)
{
}
catch (...)
{
}
Sat, 06/18/2022 - 00:30
I am experiencing this same issue. Were you ever able to find a solution/cause?
Mon, 06/20/2022 - 14:32
Dear Jacob,
There is no such problem on the latest version of OCCT (7.6.0, I mean). So, you may check the difference in the algorithm since 7.4.0 or migrate to 7.6.0.
Regards,
Artem