View Issue Details

IDProjectCategoryView StatusLast Update
0026627CommunityOCCT:Shape Healingpublic2015-10-23 20:49
ReporterRoman Lygin Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.9.0 
Target Version6.9.1Fixed in Version6.9.1 
Summary0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
DescriptionShape Healing hangs (or takes prohibitively long - at least more than a few minutes) on the shape that used to be processed in a matter of fraction of seconds.
The model is quickly processed in 6.6.0, 6.7.0, 6.7.1 and hangs in 6.8.0, 6.9.0.

Initial triaging reveals that hang happens in BRepClass3d_SClassifier::PerformInfinitePoint() invoked in ShapeFix_Solid::SolidFromShell().

No fix is currently available.
Steps To Reproducepload ALL
restore a_159.brep a
fixshape r a 1e-6
TagsNo tags attached.
Test case numberbugs modalg_6 bug26627

Attached Files

  • a_159.zip (1,952 bytes)
  • bug26627_fixed.brep (18,383 bytes)

Relationships

related to 0026647 closedbugmaster Open CASCADE BRepTools::UVBounds() computes zero range by V 

Activities

Roman Lygin

2015-09-02 09:32

developer  

a_159.zip (1,952 bytes)

abv

2015-09-06 13:50

manager   ~0045109

I confirm the problem. It has two reasons:

a) Infinite cycle in BRepClass3d_SClassifier::PerformInfinitePoint(): it takes probing lines at random points across shape faces until it can classify the situation, but in this case this never happens because

b) due to incorrect computation of bounding box of a face in BndLib_Box2dCurve::Compute(), UV range returned by BRepTool::UVBounds() is reduced to zero by V, and intersector (IntCurvesFace_Intersector) fails to find intersection of that face by line. (The same happens for the opposite face that could save the situation if it worked...)

Separate issue 0026647 is created for problem (b).

git

2015-09-07 16:22

administrator   ~0045154

Branch CR26627 has been created by abv.

SHA-1: 54426c4b47d5e5a2a7c5cee73edbbdef57a26ccc


Detailed log of new commits:

Author: abv
Date: Mon Sep 7 07:14:41 2015 +0300

    0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
    
    Check for orientation of the solid corrected to ensure that cycle always finishes.
    
    Test case added: bugs modalg_6 bug26627
    Tests boolean volumemaker A3, B5, B7 corrected (improvements)

abv

2015-09-07 16:23

manager  

bug26627_fixed.brep (18,383 bytes)

abv

2015-09-07 16:24

manager   ~0045155

Fix pushed to CR26627, please review. Note that shape bug26627_fixed.brep used in the test is attached to the issue.

msv

2015-09-08 15:50

developer   ~0045238

Reviewed.

git

2015-09-08 19:20

administrator   ~0045267

Branch CR26627 has been updated forcibly by apv.

SHA-1: 4205a321ba7e55ac9e779144e3b5f277b272c770

apv

2015-09-08 19:20

tester   ~0045268

Branch CR26627 has been rebased on the current master

apv

2015-09-09 15:54

tester   ~0045333

Dear BugMaster,

Branch CR26627 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
SHA-1: 4205a321ba7e55ac9e779144e3b5f277b272c770

Number of compiler warnings:
occt component:
   Linux: 15 (15 on master)
   Windows: 0 (0 on master)
products component :
   Linux: 39 (39 on master)
   Windows: 0 (0 on master)

Regressions/Differences:
http://occt-tests/CR26627-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26627-master-products-64/Windows-64-VC10/summary.html
sat doc_5 H6 (Windows only)
sat doc_6 G4

Testing cases:
bugs modalg_6 bug26627 - OK
http://occt-tests/CR26627-master-occt-64/Debian70-64/bugs/modalg_6/bug26627.html
http://occt-tests/CR26627-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26627.html

Testing on Linux:
Total MEMORY difference: 91131919 / 91940979 [-0.88%]
Total CPU difference: 17864.519999999033 / 17715.329999998972 [+0.84%]

Testing on Windows:
Total MEMORY difference: 57137046 / 57146326 [-0.02%]
Total CPU difference: 16324.116241099126 / 16584.49751019933 [-1.57%]

abv

2015-09-09 19:27

manager   ~0045357

Test cases sat doc_5 H6 and sat doc_6 G4 are updated in branch CR26627, please check these tests only

apv

2015-09-10 11:50

tester   ~0045389

Test-cases sat doc_5 H6 and sat doc_6 G4 have been verified.

git

2015-10-16 16:37

administrator   ~0047007

Branch CR26627 has been deleted by kgv.

SHA-1: 4205a321ba7e55ac9e779144e3b5f277b272c770

Related Changesets

occt: master 79e9ce0e

2015-09-07 04:14:41

abv


Committer: bugmaster Details Diff
0026627: [Regression] Shape Healing hangs as of OCC 6.8.0

Check for orientation of the solid corrected to ensure that cycle always finishes.

Test case added: bugs modalg_6 bug26627
Tests boolean volumemaker A3, B5, B7 corrected (improvements)
Affected Issues
0026627
mod - src/BRepClass3d/BRepClass3d_SClassifier.cxx Diff File
mod - tests/boolean/volumemaker/A3 Diff File
mod - tests/boolean/volumemaker/B5 Diff File
mod - tests/boolean/volumemaker/B7 Diff File
add - tests/bugs/modalg_6/bug26627 Diff File

Issue History

Date Modified Username Field Change
2015-09-02 09:32 Roman Lygin New Issue
2015-09-02 09:32 Roman Lygin Assigned To => gka
2015-09-02 09:32 Roman Lygin File Added: a_159.zip
2015-09-06 13:50 abv Note Added: 0045109
2015-09-06 13:51 abv Relationship added related to 0026647
2015-09-07 16:22 git Note Added: 0045154
2015-09-07 16:23 abv File Added: bug26627_fixed.brep
2015-09-07 16:24 abv Note Added: 0045155
2015-09-07 16:24 abv Assigned To gka => msv
2015-09-07 16:24 abv Status new => resolved
2015-09-08 15:50 msv Note Added: 0045238
2015-09-08 15:50 msv Assigned To msv => bugmaster
2015-09-08 15:50 msv Status resolved => reviewed
2015-09-08 16:18 apv Assigned To bugmaster => apv
2015-09-08 19:20 git Note Added: 0045267
2015-09-08 19:20 apv Note Added: 0045268
2015-09-09 15:11 apv Test case number => bugs modalg_6 bug26627
2015-09-09 15:54 apv Note Added: 0045333
2015-09-09 15:54 apv Assigned To apv => abv
2015-09-09 15:54 apv Status reviewed => assigned
2015-09-09 19:27 abv Note Added: 0045357
2015-09-09 19:27 abv Assigned To abv => apv
2015-09-09 19:27 abv Status assigned => feedback
2015-09-10 11:50 apv Note Added: 0045389
2015-09-10 11:50 apv Assigned To apv => bugmaster
2015-09-10 11:50 apv Status feedback => tested
2015-09-11 14:09 bugmaster Changeset attached => occt master 79e9ce0e
2015-09-11 14:09 bugmaster Status tested => verified
2015-09-11 14:09 bugmaster Resolution open => fixed
2015-10-16 14:55 aiv Status verified => closed
2015-10-16 16:37 git Note Added: 0047007
2015-10-23 20:49 aiv Fixed in Version => 6.9.1