DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024161

boolean operation hanging

CommunityOCCT:Modeling Algorithmsclosed21 public notes

Search issues

Description

any boolean operation between these two solids seems never to end

Steps to reproduce

restore Attachment 1 (BREP) m
explode m
bop m_1 m_2

Additional information

Even bopargcheck gets stuck

Public activity

21 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Fix for the issue 24140 solves the problem.
02Author
Access to issue 24140 is denied to me.
May I know something about it?
Thanks.
Mauro
03Commenter 3
Hello Mauro,

The issue #24140 contains customer data and thus cannot be made publicly available. However, you can see the fix made for that issue in the Git repository (e.g. in GitWeb: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=[revision removed]), thus you can try the fix if you wish. Note that current status of the issue is 'resolved' which means is had not yet passed testing.
04Commenter 4
Dear Commenter 1,

Test case bugs/modalg_5(010)/bug24161 was pushed to CR24140 git repository (see #24140 )
bugs modalg_5(010) bug24161 is OK in CR24140.
05Commenter 5
Dear Commenter 1,
the issue CR24140_3 (#0024140) is not solves the problem CR24161

06Commenter 6
The problem is in the intersection part
restore Attachment 1 (BREP) b
explode b; copy b_1 b1; copy b_2 b2
explode b1 f; copy b1_2 b1
explode b2 f; copy b2_3 b2
don b1 b2
mksurface s1 b1
mksurface s2 b2
#intersection with default tolerance value
intersect i s1 s2
#result is ok

#intersection with the tolerance values of faces
intersect i s1 s2 1.e-4
#endless loop
07Commenter 7
Julia,
check please this bug for your fix for suppressing infinite loops in intersector
08Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: nbv
Date: Fri Apr 10 15:23:45 2015 +0300

    0024161: boolean operation hanging
    
    The reason of hanging has been eliminate.
09Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
10Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
11Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
12Commenter 12
Dear Mikhail!

Please review CR24161 branch.
13Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
14Commenter 14
Reviewed.
15Commenter 15
Dear Commenter 1,
Branch CR24161 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 4 (4 on master)
Windows: 0 (0 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR24161-master-occt-64/Debian60-64/bugs/modalg_6/bug24161.html
http://occt-tests/CR24161-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug24161.html
bugs modalg_6(011) bug24161: OK

Testing on Linux:
occt component :
Total MEMORY difference: 95257379 / 94524891 [+0.77%]
Total CPU difference: 52836.84999999945 / 51017.469999999455 [+3.57%]
products component :
Total MEMORY difference: 23794689 / 23790395 [+0.02%]
Total CPU difference: 17090.969999999987 / 17221.91999999996 [-0.76%]

Testing on Windows:
occt component :
Total MEMORY difference: 57253315 / 57266605 [-0.02%]
Total CPU difference: 15835.583509499073 / 15810.95095159897 [+0.16%]
products component :
Total MEMORY difference: 15601315 / 15605919 [-0.03%]
Total CPU difference: 6227.559919999981 / 6275.40542669997 [-0.76%]

There are no differences in images found by testdiff.
16Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: mkv
Date: Tue Apr 28 14:51:47 2015 +0300

    Test case for issue CR24161

17Commenter 17
Dear nbv,
could you please review following test case
bugs modalg_6(011) bug24161
18Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
19Commenter 19
bugs modalg_6(011) bug24161 reviewed with small correction.



Dear Mikhail,

Please amend "Test case number" field in bug description: modalg_5 -> modalg_6.
20Commenter 20
Dear Commenter 1,
Branch CR24161 is TESTED.
21Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]