MantisBT - Community
View Issue Details
0030768Community[OCCT] OCCT:Modeling Algorithmspublic2019-06-05 16:182019-06-07 12:34
Matthias 
bugmaster 
normalminor 
closedno change required 
WindowsVC++ 201564 bit
[OCCT] 7.3.0 
[OCCT] 7.4.0 
0030768: Boolean Operation fails in specific example (DRAW)
Example of a Boolean operation here (see reproduction steps).
Result of Boolean Operation is not correct. Result is a TopoDS_Compound with faulty shapes (there are only two faces not forming a solid).

What causes the failing?
restore mer.brep m
restore seg.brep s
common r m s
whatis r
checkshape r
No tags attached.
? mer.brep (567,680) 2019-06-05 16:18
https://tracker.dev.opencascade.org/
? seg.brep (193,737) 2019-06-05 16:19
https://tracker.dev.opencascade.org/
Issue History
2019-06-05 16:18MatthiasNew Issue
2019-06-05 16:18MatthiasAssigned To => msv
2019-06-05 16:18MatthiasFile Added: mer.brep
2019-06-05 16:19MatthiasFile Added: seg.brep
2019-06-05 16:20MatthiasDescription Updatedbug_revision_view_page.php?rev_id=21325#r21325
2019-06-05 16:20MatthiasSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21327#r21327
2019-06-05 16:25msvNote Added: 0084891
2019-06-05 16:26msvAssigned Tomsv => Matthias
2019-06-05 16:26msvStatusnew => feedback
2019-06-05 17:10MatthiasNote Added: 0084896
2019-06-05 17:10MatthiasAssigned ToMatthias => msv
2019-06-05 21:00msvNote Added: 0084901
2019-06-05 21:01msvNote Added: 0084902
2019-06-05 21:01msvAssigned Tomsv => bugmaster
2019-06-05 21:01msvResolutionopen => no change required
2019-06-07 12:34bugmasterStatusfeedback => closed

Notes
(0084891)
msv   
2019-06-05 16:25   
'common' command uses old BO. It is obsolete and not supported. Did you tried to use 'bcommon'?
(0084896)
Matthias   
2019-06-05 17:10   
Thank you, when using

bop m s
bopcommon r

the Result r is again a Compound consisting of a Solid, which seems to be correct.

In this example I expected, that r is a TopoDS_Solid.
Why is it a Compound?
(0084901)
msv   
2019-06-05 21:00   
In new BO, the conception of the result type was reconsidered.
Please refer to the documentation https://dev.opencascade.org/doc/overview/html/occt_user_guides__boolean_operations.html#occt_algorithms_9_3 [^]
There you can find answers to your questions.
(0084902)
msv   
2019-06-05 21:01   
Dear bugmaster, please close this bug.