View Issue Details

IDProjectCategoryView StatusLast Update
0033482CommunityOCCT:Modeling Algorithmspublic2023-09-19 16:44
Reporterj.bourgoin Assigned Toj.bourgoin  
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.

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