View Issue Details

IDProjectCategoryView StatusLast Update
0033482CommunityOCCT:Modeling Algorithmspublic2026-01-13 19:20
Reporterj.bourgoin Assigned Toj.bourgoin  
PrioritynormalSeveritymajor 
Status resolvedResolutionopen 
PlatformWindowsOSVC++ 2022 
Product Version7.7.1 
Target VersionUnscheduled 
Summary0033482: Modeling Algorithms - Bad result with BRepAlgoAPI_Common
DescriptionHi !

BRepAlgoAPI_Common can give no result although there is clearly a big common part between 2 shapes (see attached picture)
Steps To ReproduceYou can use Tool and Argument joined in "NotDetected.zip"
Additional information
and documentation updates
A very slight transformation in Z of one shape give the right result. You can check with Argument and Tool in "Detected.zip".

It looks like the result is bad when the shapes are perfectly aligned in Z (see picture).

It seems that "curves" value in myDS can be wrong.

Behaviour between good case and bad case is different in getBoundPaves (hierarchy is PutBoundPaveOnCurve / MakeBlocks / ... / IntersectShapes) : vertex and point compared are sometimes too different.
TagsNo tags attached.
Test case number

Attached Files

Relationships

has duplicate 0033479 new Bad result of BRepAlgoAPI_Common: intersection not detected 
has duplicate 0033480 new Bad result with BRepAlgoAPI_Common 

Activities

j.bourgoin

2023-09-12 19:48

reporter  

Detected.zip (1,100 bytes)
NotDetected.zip (1,098 bytes)
Draw.png (92,904 bytes)   

akaftasev

2023-09-19 16:44

developer   ~0114189

Dear @j.bourgoin. current problem can be solved by decreasing the tolerance for boolean operation (to 0.00001).
If it is not your case, we can continue investigate this problem.

j.bourgoin

2023-10-02 19:31

reporter   ~0114361

Dear @akaftasev, thanks a lot for your help. Indeed, this can be fixed by setting the tolerance to 0.00001 but it doesn't work with tolerance = 0 or tolerance = 0.0000001. The common part is big and I think it shouldn't depend on the tolerance. Maybe there's a "global" fix ?

j.bourgoin

2023-11-17 13:09

reporter   ~0114608

Reminder sent to: akaftasev

Hi @akaftasev, did you have time to check this issue and why a small change in the tolerance has a so big impact (and leads to wrong result) ?

j.bourgoin

2024-12-05 16:30

reporter   ~0116894

Hi, is there any update for this issue please ?

dpasukhi

2026-01-13 19:20

administrator   ~0117113

Merged into trad-781, repository: https://github.com/Open-Cascade-SAS/OCCT-Archive/tree/trad-781
Commit: d6b282dc4b9fe429d4e03b775532736219bb80b4

Branch: https://github.com/Open-Cascade-SAS/OCCT-Archive/tree/trad-781

Issue History

Date Modified Username Field Change
2023-09-12 19:48 j.bourgoin New Issue
2023-09-12 19:48 j.bourgoin Assigned To => vglukhik
2023-09-12 19:48 j.bourgoin File Added: Detected.zip
2023-09-12 19:48 j.bourgoin File Added: NotDetected.zip
2023-09-12 19:48 j.bourgoin File Added: Draw.png
2023-09-13 17:53 dpasukhi Assigned To vglukhik => akaftasev
2023-09-13 17:53 dpasukhi Target Version => Unscheduled
2023-09-13 17:53 dpasukhi Summary Bad result with BRepAlgoAPI_Common => Modeling Algorithms - Bad result with BRepAlgoAPI_Common
2023-09-19 16:44 akaftasev Assigned To akaftasev => j.bourgoin
2023-09-19 16:44 akaftasev Status new => feedback
2023-09-19 16:44 akaftasev Note Added: 0114189
2023-10-02 19:31 j.bourgoin Note Added: 0114361
2023-10-02 19:33 j.bourgoin Assigned To j.bourgoin => akaftasev
2023-11-17 13:09 j.bourgoin Note Added: 0114608
2024-12-05 16:30 j.bourgoin Note Added: 0116894
2025-09-03 18:08 ika Relationship added has duplicate 0033479
2025-09-03 18:08 ika Relationship added has duplicate 0033480
2026-01-13 19:20 dpasukhi Assigned To akaftasev => j.bourgoin
2026-01-13 19:20 dpasukhi Status feedback => resolved
2026-01-13 19:20 dpasukhi Note Added: 0117113