DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0026974

Wrong result section of 3 cylinders

CommunityOCCT:Modeling Algorithmsclosed3 public notes

Search issues

Description

Apply BRepAlgoAPI_Common on the attached cylinders. Te result will be a set of shells, instead of a solid object.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Istvan,
I cannot reproduce the bug.
How do you use Common operation?
In Draw I use the following commands:

restore Attachment 1 (BREP) a
explode a
bcommon r1 a_1 a_2
bcommon r r1 a_3

The result is a solid. It is essential that Common is defined only for two objects.

Another way (available in the currect master) is to use the new algorithm BopAlgo_CellsBuilder:

restore Attachment 1 (BREP) a
explode a
bclearobjects
bcleartools
baddobjects a_1 a_2 a_3
bfillds
bcbuild r
bcadd r a_1 1 a_2 1 a_3 1

The result is the same as in the first case, but intersection phase performed only once. This way allows to define any Boolean expression on any number of objects.

02Author
I see, I did not see it in the documentation that I can only use it on two shapes. My fault, sorry.
03Commenter 3
Dear Commenter 1, please close this bug.