View Issue Details

IDProjectCategoryView StatusLast Update
0023378CommunityOCCT:Modeling Algorithmspublic2018-06-29 21:19
ReporterMarkus Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.5.3 
Target Version7.3.0Fixed in Version7.3.0 
Summary0023378: BRepAlgoAPI_Cut returns wrong result
DescriptionThe following cut operation returns a wrong result in OCCT 6.5.3: only one face is returned.
In OCCT 6.5.2 the correct number of faces (2) are returned, but the bigger face is topologically not what is expected. It also cannot be displayed in shaded mode.

Draw script:

restore blower1.brep b
explode b
bop b_1 b_2
bopcut r
whatis r
explode r

The object is cut by a cylinder. Both have only a very small volume in common. So the biggest part of the object should be returned (see Capture.PNG).

In OCCT 6.5.2 a very small face and a big face (which seems to be invalid) are returned.
In 6.5.3 only a very small face is returned, but the bigger face is not returned at all.


The problem has been discussed on the forum: http://www.opencascade.org/org/forum/thread_23599/?forum=3 and confirmed to be reproducible.
TagsNo tags attached.
Test case numberbugs modalg_7 bug23378_1, bug23378_2

Attached Files

  • Capture.PNG (35,235 bytes)
  • blower1.brep (528,639 bytes)
  • Result_OCCT652.PNG (14,249 bytes)

Activities

Timo

2012-08-13 18:26

developer  

Capture.PNG (35,235 bytes)

Timo

2012-08-13 18:26

developer  

blower1.brep (528,639 bytes)

Timo

2012-08-13 18:28

developer  

Result_OCCT652.PNG (14,249 bytes)

abv

2017-05-28 19:24

manager   ~0066691

The problem of topologically incorrect results have been eliminated: the result is correct since at least OICCT 6.9.1. The result includes quite small face and has rather high tolerance (0.02), but this is due to near-tangent situation between the argument shapes. I suggest we add test case and close the issue.

git

2017-06-01 12:01

administrator   ~0066962

Branch CR23378 has been created by apv.

SHA-1: 0423f088b2fe2838ab465d28eafe57282468f295


Detailed log of new commits:

Author: apv
Date: Thu Jun 1 12:00:46 2017 +0300

    0023378: BRepAlgoAPI_Cut returns wrong result
    // Test cases for the issue

apv

2017-06-01 12:11

tester   ~0066963

Dear BugMaster,

Please integrate branch CR23378 into the occt git-repository master.

git

2017-06-02 10:45

administrator   ~0066982

Branch CR23378 has been deleted by inv.

SHA-1: 0423f088b2fe2838ab465d28eafe57282468f295

Related Changesets

occt: master 3b337f77

2017-06-01 09:00:46

apv


Committer: bugmaster Details Diff
0023378: BRepAlgoAPI_Cut returns wrong result
Adding test cases only
Affected Issues
0023378
mod - tests/bugs/grids.list Diff File
add - tests/bugs/modalg_7/begin Diff File
add - tests/bugs/modalg_7/bug23378_1 Diff File
add - tests/bugs/modalg_7/bug23378_2 Diff File

Issue History

Date Modified Username Field Change
2012-08-13 18:26 Timo New Issue
2012-08-13 18:26 Timo Assigned To => jgv
2012-08-13 18:26 Timo File Added: Capture.PNG
2012-08-13 18:26 Timo File Added: blower1.brep
2012-08-13 18:28 Timo File Added: Result_OCCT652.PNG
2017-05-28 19:24 abv Note Added: 0066691
2017-05-28 19:24 abv Assigned To jgv => bugmaster
2017-05-28 19:24 abv Status new => feedback
2017-05-31 14:56 Timo Reporter Timo => Markus
2017-06-01 10:22 bugmaster Assigned To bugmaster => abv
2017-06-01 10:22 bugmaster Assigned To abv => apv
2017-06-01 12:01 git Note Added: 0066962
2017-06-01 12:02 apv Test case number => bugs modalg_7 bug23378_1, bug23378_2
2017-06-01 12:11 apv Note Added: 0066963
2017-06-01 12:11 apv Assigned To apv => bugmaster
2017-06-01 12:11 apv Status feedback => tested
2017-06-02 10:28 bugmaster Changeset attached => occt master 3b337f77
2017-06-02 10:28 bugmaster Status tested => verified
2017-06-02 10:28 bugmaster Resolution open => fixed
2017-06-02 10:45 git Note Added: 0066982
2018-02-19 10:33 abv Target Version => 7.4.0
2018-02-20 12:58 aiv Target Version 7.4.0 => 7.3.0
2018-06-29 21:15 aiv Fixed in Version => 7.3.0
2018-06-29 21:19 aiv Status verified => closed