View Issue Details

IDProjectCategoryView StatusLast Update
0033482CommunityOCCT:Modeling Algorithmspublic2023-11-17 13:09
Reporterj.bourgoin Assigned Toakaftasev  
PrioritynormalSeveritymajor 
Status feedbackResolutionopen 
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

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

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) ?

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