Archived issue #0025792
BRepAlgoAPI_Section fails depending on order of arguments
Description
When calculating the intersection of the appended two faces, BRepAlgoAPI_Section returns a right or wrong result depending on the order of the arguments.
Steps to reproduce
restore Attachment 1 (BREP) t
explode t
bop t_1 t_2
bopsection r
whatis r
explode r
whatis r_1
=> r_1 is a shape EDGE FORWARD Modified Orientable
CORRECT!
bop t_2 t_1
bopsection r
whatis r
explode r
=> r contains 2 vertices
FALSE!
explode t
bop t_1 t_2
bopsection r
whatis r
explode r
whatis r_1
=> r_1 is a shape EDGE FORWARD Modified Orientable
CORRECT!
bop t_2 t_1
bopsection r
whatis r
explode r
=> r contains 2 vertices
FALSE!
Public activity
8 archived notes
Participants are labeled by their role within this record.
The input surface contains a small self-intersection (see #0025793). Probably, therefore boolean operations do not work stable.
Should the issue be closed or still investigated why it depends on the order of arguments?
Should the issue be closed or still investigated why it depends on the order of arguments?
Could you take decision concerning the issue.
I don't know the internal working of boolean operations if the order should matter or not. I wouldn't spend support units for this. So, you can decide if you want to deal with it. If not, you can close the issue.
The Boolean operation (section in this case) is symmetric relative to the arguments. So, the result (at least its presence) must not depend on the arguments order. Therefore this bug will be further investigated, but with lower priority.
The issue is not reproduced on current master on vc12 win64 platform. Could you please check if it is reproduced on indicated platform? If not reproduced, please create test case for the issues and close.
Problem is not reproduced on current state of master on win32 vc10 and on default configuration too (win64 vc10).
Test case:
bugs modalg_6 bug25792 - OK
http://occt-tests/25792_Lin/bugs/modalg_6/bug25792.html
http://occt-tests/25792_Win/bugs/modalg_6/bug25792.html
Test case:
bugs modalg_6 bug25792 - OK
http://occt-tests/25792_Lin/bugs/modalg_6/bug25792.html
http://occt-tests/25792_Win/bugs/modalg_6/bug25792.html
Branch [archived branch] has been created by Commenter 1.
[revision removed]
Detailed log of new commits:
Author: Commenter 1
Date: Thu Oct 27 15:50:24 2016 +0300
0025792: BRepAlgoAPI_Section fails depending on order of arguments
Added test case bugs/modalg_6/bug25792
[revision removed]
Detailed log of new commits:
Author: Commenter 1
Date: Thu Oct 27 15:50:24 2016 +0300
0025792: BRepAlgoAPI_Section fails depending on order of arguments
Added test case bugs/modalg_6/bug25792
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records