View Issue Details

IDProjectCategoryView StatusLast Update
0027872CommunityOCCT:Modeling Algorithmspublic2016-12-09 16:41
ReporterTimo Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.0.0 
Target Version7.1.0Fixed in Version7.1.0 
Summary0027872: BRepAlgoAPI_Common returns invalid shape
DescriptionFor the appended case (Boolean common of a solid and a shell) the result in OCCT 7.0.0 is invalid. In OCCT 6.9.1 the result was valid and as expected.

The arguments of the Boolean operation are valid.
Steps To Reproducepload ALL

restore ext.brep e

whatis e

explode e

whatis e_1

whatis e_2

vinit

vdisplay e_1

vdisplay e_2

vfit

bopcheck e_1

bopcheck e_2

bopargcheck e_1 e_2 -O #F

bop e_1 e_2

bopcommon r

whatis r

explode r

whatis r_1

vdisplay r_1

checkshape r_1
# In OCC 7.0.0:
# On Shape faulty_1 :
# BRepCheck_UnorientableShape
# Shape faulty_2 on shape faulty_1 :
# BRepCheck_NotClosed

bopcheck r_1
TagsNo tags attached.
Test case number

Attached Files

Activities

Timo

2016-09-14 13:58

developer  

ext.brep (347,634 bytes)

msv

2016-09-14 16:56

developer  

result_dev.PNG (6,614 bytes)   

msv

2016-09-14 16:57

developer  

result_691.PNG (8,023 bytes)   

msv

2016-09-14 17:02

developer   ~0057794

Looking at result shape in 7.0 (and current dev) version and in 6.9.1, we can see that in the current version the result form is right, while in 6.9.1 the result form repeats the shape e_2, and this is incorrect.
So, this is not a regression, because result in 7.0 is better.
I confirm that checkshape reports faulties, and this is a bug, but it is not a regression to 6.9.1.

Timo

2016-09-14 17:13

developer   ~0057795

Yes, you are right.

msv

2016-09-14 17:22

developer   ~0057798

The surface of the face e_2_1 has a fold, which is the cause of the fault. Please, see the attached picture that shows the fragment of v-isoline of that surface at parameter v=0.45688124426104931, u is between [0.17,0.225]. You can see this fold via this isoline. The extent of the fold is about 1e-4. Due to this fold, the intersection algorithm gives disconnected intersection line, and this leads to unclosed wire on face.

msv

2016-09-14 17:22

developer  

isoline.PNG (5,013 bytes)   

Timo

2016-09-15 12:34

developer   ~0057818

OK, thanks.
Then the issue could be closed.

msv

2016-09-15 12:46

developer   ~0057819

Dear bugmaster, please close this bug.

Issue History

Date Modified Username Field Change
2016-09-14 13:58 Timo New Issue
2016-09-14 13:58 Timo Assigned To => msv
2016-09-14 13:58 Timo File Added: ext.brep
2016-09-14 13:59 Timo Description Updated
2016-09-14 16:56 msv File Added: result_dev.PNG
2016-09-14 16:57 msv File Added: result_691.PNG
2016-09-14 17:02 msv Note Added: 0057794
2016-09-14 17:03 msv Summary [regression] BRepAlgoAPI_Common returns invalid shape => BRepAlgoAPI_Common returns invalid shape
2016-09-14 17:13 Timo Note Added: 0057795
2016-09-14 17:22 msv Note Added: 0057798
2016-09-14 17:22 msv File Added: isoline.PNG
2016-09-15 12:34 Timo Note Added: 0057818
2016-09-15 12:46 msv Note Added: 0057819
2016-09-15 12:46 msv Assigned To msv => bugmaster
2016-09-15 12:46 msv Status new => feedback
2016-09-16 09:44 bugmaster Status feedback => closed
2016-09-16 09:44 bugmaster Resolution open => no change required
2016-12-09 16:41 aiv Fixed in Version => 7.1.0