View Issue Details

IDProjectCategoryView StatusLast Update
0026974CommunityOCCT:Modeling Algorithmspublic2015-12-11 10:36
ReporterIstvan Csanady Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Target Version7.0.0 
Summary0026974: Wrong result section of 3 cylinders
DescriptionApply BRepAlgoAPI_Common on the attached cylinders. Te result will be a set of shells, instead of a solid object.
TagsNo tags attached.
Test case number

Attached Files

Activities

Istvan Csanady

2015-12-09 19:04

developer  

cylinders.brep (63,435 bytes)

msv

2015-12-09 22:56

developer   ~0048924

Last edited: 2015-12-09 23:33

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

restore cylinders.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 cylinders.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.

Istvan Csanady

2015-12-10 10:42

developer   ~0048929

I see, I did not see it in the documentation that I can only use it on two shapes. My fault, sorry.

msv

2015-12-10 12:33

developer   ~0048937

Dear bugmaster, please close this bug.

Issue History

Date Modified Username Field Change
2015-12-09 19:04 Istvan Csanady New Issue
2015-12-09 19:04 Istvan Csanady Assigned To => msv
2015-12-09 19:04 Istvan Csanady File Added: cylinders.brep
2015-12-09 22:56 msv Note Added: 0048924
2015-12-09 22:56 msv Assigned To msv => Istvan Csanady
2015-12-09 22:56 msv Status new => feedback
2015-12-09 23:32 msv Note Edited: 0048924
2015-12-09 23:33 msv Note Edited: 0048924
2015-12-10 10:42 Istvan Csanady Note Added: 0048929
2015-12-10 12:33 msv Note Added: 0048937
2015-12-10 12:33 msv Assigned To Istvan Csanady => bugmaster
2015-12-10 12:33 msv Resolution open => no change required
2015-12-11 10:36 bugmaster Status feedback => closed