View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0033905 | Community | OCCT:Modeling Algorithms | public | 2025-08-21 17:11 | 2026-01-13 19:21 |
| Reporter | j.bourgoin | Assigned To | j.bourgoin | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | open | ||
| Platform | Windows | OS | VC++ 2022 | ||
| Product Version | 7.7.1 | ||||
| Summary | 0033905: BRepAlgoAPI_Common gives bad result | ||||
| Description | Hello, The whole arg1.brep (see attached files) is considered as common part between arg1.brep and tool1.brep but that's clearly wrong (see attached picture) | ||||
| Steps To Reproduce | BRepAlgoAPI_Common lBuilder ; lBuilder.SetRunParallel(false) ; TopTools_ListOfShape lArgs ; TopTools_ListOfShape lTools ; TopoDS_Shape arg, tool ; BRep_Builder builder ; BRepTools::Read(arg, "arg1.brep", builder) ; lArgs.Append(arg) ; lBuilder.SetArguments(lArgs) ; BRepTools::Read(tool, "tool1.brep", builder) ; lTools.Append(tool) ; lBuilder.SetTools(lTools) ; pFuzzyValue = 1.0e-6 ; lBuilder.SetFuzzyValue(pFuzzyValue) ; // Proceed ! lBuilder.Build() ; if (lBuilder.IsDone()) { // No errors ? if (!lBuilder.HasErrors()) { // Extract shape lShape = lBuilder.Shape() ; BRepTools::Write(lShape, "common.brep") ; } } | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
|
See attached files for example tool1.brep (4,850 bytes) arg1.brep (4,153 bytes) common.brep (7,317 bytes) inputShapes.png (60,325 bytes) |
|
|
Merged into trad-781, repository: https://github.com/Open-Cascade-SAS/OCCT-Archive/tree/trad-781 Commit: a31ac47e3a25bef70583b1af6713948951ff5f56 Branch: https://github.com/Open-Cascade-SAS/OCCT-Archive/tree/trad-781 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-08-21 17:11 | j.bourgoin | New Issue | |
| 2025-08-21 17:11 | j.bourgoin | Assigned To | => akaftasev |
| 2025-08-21 17:12 | j.bourgoin | Note Added: 0117074 | |
| 2025-08-21 17:12 | j.bourgoin | File Added: tool1.brep | |
| 2025-08-21 17:12 | j.bourgoin | File Added: arg1.brep | |
| 2025-08-21 17:12 | j.bourgoin | File Added: common.brep | |
| 2025-08-21 17:12 | j.bourgoin | File Added: inputShapes.png | |
| 2026-01-13 19:21 | dpasukhi | Assigned To | akaftasev => j.bourgoin |
| 2026-01-13 19:21 | dpasukhi | Status | new => resolved |
| 2026-01-13 19:21 | dpasukhi | Note Added: 0117114 |