View Issue Details

IDProjectCategoryView StatusLast Update
0025756CommunityOCCT:Modeling Algorithmspublic2015-01-28 11:54
Reportermat127 Assigned Tomkv 
PrioritynormalSeveritymajor 
Status closedResolutionno change required 
Platform64bitOSLinux Fedora Core 
Product Version6.8.0 
Summary0025756: BRepAlgoAPI_Cut with TopoDS_Compound argument
Description- BRepAlgoAPI_Cut produces invalid result in case that TopoDS_Compound is used as the 2nd argument of the cut operation
- when cut is done incrementaly with separate compound parts the result is correct:

Draw[5]> box b1 5 5 5
Draw[6]> box b2 0 0 5 7 7 7
Draw[8]> box b 10 10 10

Draw[15]> bop b b1
Draw[16]> bopcut r
Draw[17]> bop r b2
Draw[18]> bopcut r
Draw[22]> bopcheck r
 This shape seems to be OK.
Steps To ReproduceDraw[5]> box b1 5 5 5
Draw[6]> box b2 0 0 5 7 7 7
Draw[7]> compound b1 b2 c
Draw[8]> box b 10 10 10

Draw[10]> bop b c
Draw[11]> bopcut r
Draw[12]> bopcheck r
V/V: x6 x50
V/E: x12 x29
V/E: x17 x45
E/E: x12 x49
E/E: x17 x51
V/F: x13 x27
E/F: x13 x30
E/F: x13 x46
F/F: x13 x47
Additional information
and documentation updates
- maybe related to 0023187
TagsNo tags attached.
Test case number

Activities

mat127

2015-01-27 18:03

reporter   ~0036729

not a bug, see http://www.opencascade.org/org/forum/thread_26801/?forum=3 for explanation

abv

2015-01-28 09:04

manager   ~0036740

I suggest that we can add additional note in the BOP documentation to explain the situation with compounds, like this:

"Hint: You can use compound of independent shapes as argument of Boolean Operation provided that these shapes do not interfere (i.e. do not intersect or touch, or if they do, all interferences are shared sub-shapes). This could help performance since algorithm will not search for interferences between components of the compound. If components may interfere, they must be added as separate arguments to the operation."

szy

2015-01-28 11:54

manager   ~0036745

The second argument (Compound) is a 'NOT Valid' shape (self-intersected).
Not a bug.

Issue History

Date Modified Username Field Change
2015-01-27 15:11 mat127 New Issue
2015-01-27 15:11 mat127 Assigned To => msv
2015-01-27 18:02 mat127 Assigned To msv => mat127
2015-01-27 18:03 mat127 Note Added: 0036729
2015-01-28 09:04 abv Note Added: 0036740
2015-01-28 11:54 szy Note Added: 0036745
2015-01-28 11:54 szy Status new => closed
2015-01-28 11:54 szy Assigned To mat127 => mkv
2015-01-28 11:54 szy Resolution open => no change required