MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0023378Community[OCCT] OCCT:Modeling Algorithmspublic2012-08-13 18:262017-06-02 10:45
ReporterMarkus 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 6.5.3 
Target VersionFixed in Version 
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 Filespng file icon Capture.PNG (35,235 bytes) 2012-08-13 18:26
? file icon blower1.brep (528,639 bytes) 2012-08-13 18:26
png file icon Result_OCCT652.PNG (14,249 bytes) 2012-08-13 18:28

- Relationships

-  Notes
(0066691)
abv (manager)
2017-05-28 19:24

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.
(0066962)
git (administrator)
2017-06-01 12:01

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
(0066963)
apv (tester)
2017-06-01 12:11

Dear BugMaster,

Please integrate branch CR23378 into the occt git-repository master.
(0066982)
git (administrator)
2017-06-02 10:45

Branch CR23378 has been deleted by inv.

SHA-1: 0423f088b2fe2838ab465d28eafe57282468f295

- Related Changesets
occt: master 3b337f77
Timestamp: 2017-06-01 09:00:46
Author: apv
Committer: bugmaster
Details ] Diff ]
0023378: BRepAlgoAPI_Cut returns wrong result
Adding test cases only
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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker