View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033561 | Community | OCCT:Modeling Algorithms | public | 2023-12-26 04:20 | 2024-05-16 13:28 |
Reporter | nerooren_158894 | Assigned To | |||
Priority | normal | Severity | block | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | VC++ 2022 | ||
Product Version | 7.8.0 | ||||
Summary | 0033561: BRepAlgoAPI_Defeaturing never finishes | ||||
Description | When use BRepAlgoAPI_Defeaturing to remove a small face (created by BRepFilletAPI_MakeFillet) (the brep file is attahced), the BRepAlgoAPI_Defeaturing never finishes, it loops in IntTools_BeanFaceIntersector::ComputeLocalized with huge amount of surface ranges (20355, 40000+, ...), tested with 7.6.1, 7.7.0, 7.8.0 | ||||
Steps To Reproduce | Run below test code with attached brep file: void test() { BRep_Builder bb; TopoDS_Shape targetEntityShape; const char* brepFile = "D:/tmp/anc101_def.brep"; if (!BRepTools::Read(targetEntityShape, brepFile, bb)) { return; } bool isValid = BRepCheck_Analyzer(targetEntityShape).IsValid(); if (!isValid) { return; } TopoDS_Face face; int i = 0; for (TopExp_Explorer faceExplorer(targetEntityShape, TopAbs_FACE); faceExplorer.More(); faceExplorer.Next()) { if (i == 1) { face = TopoDS::Face(faceExplorer.Current()); break; } i++; } TopTools_ListOfShape faceShapes; faceShapes.Append(face); BRepAlgoAPI_Defeaturing aDefeaturing; aDefeaturing.SetShape(targetEntityShape); aDefeaturing.AddFacesToRemove(faceShapes); aDefeaturing.SetRunParallel(false); aDefeaturing.SetToFillHistory(true); // Perform. aDefeaturing.Build(); if (!aDefeaturing.IsDone() || aDefeaturing.HasWarnings()) { return; } TopoDS_Shape result = aDefeaturing.Shape(); return; } | ||||
Additional information and documentation updates | the test file is attached along with a screen shot to indicate the small face to be removed | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-12-26 04:20 | nerooren_158894 | New Issue | |
2023-12-26 04:20 | nerooren_158894 | Assigned To | => oan |
2023-12-26 04:22 | nerooren_158894 | Note Added: 0114841 | |
2023-12-26 04:22 | nerooren_158894 | File Added: anc101_def.brep | |
2023-12-26 04:22 | nerooren_158894 | File Added: Snipaste_2023-12-08_13-50-10.jpg | |
2024-05-16 13:28 | oan | Assigned To | oan => |