DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0025792

BRepAlgoAPI_Section fails depending on order of arguments

CommunityOCCT:Modeling Algorithmsclosed8 public notes

Search issues

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!

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Author
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?

02Commenter 2
Could you take decision concerning the issue.
03Author
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.
04Commenter 4
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.
05Commenter 5
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.
06Commenter 1
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
07Commenter 3
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
08Commenter 3
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records