DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0031900

Incorrect operation of the boolean operator 'common'.

Open CASCADEOCCT:Modeling Algorithmsclosed2 public notes

Search issues

Description

Run the script below.

pload ALL
restore Attachment 1 (BREP) sh1
checkshape sh1
restore Attachment 2 (BREP) sh2
checkshape sh2
common res sh1 sh2
checkshape res


Bug: For valid input, we get invalid output.

Steps to reproduce

pload ALL
restore Attachment 1 (BREP) sh1
checkshape sh1
restore Attachment 2 (BREP) sh2
checkshape sh2
common res sh1 sh2
checkshape res

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Why do you use 'common' command? It uses old deprecated algorithm. Use 'bcommon' instead.
02Author
Thanks for the advice. It works. The task can be closed.