MantisBT - Open CASCADE
View Issue Details
0023127Open CASCADE[OCCT] OCCT:Shape Healingpublic2012-04-28 11:502017-06-28 13:11
[OCCT] 6.5.2 
0023127: Fix tests produce incorrect results.
Some tests on grid "csh" (fix tests) produce incorrect results.

Bug was registered in order to put TODO note in testcase
No tags attached.
related to 0027531assigned ifv Open CASCADE Modeling Algorithms - Make the algorithm Approx_SameParameter more clear and robust 
related to 0027015closed bugmaster Community Sewing returns invalid shape if some faces are nearly plane cones 
png heal surface_to_bspline F2 (pcurve of Invalid face).PNG (11,741) 2017-04-24 10:41
png badface A1.PNG (9,645) 2017-06-28 12:26
Issue History
2012-04-28 11:50skiNew Issue
2012-04-28 11:50skiAssigned To => jgv
2012-06-20 16:11skiDescription Updatedbug_revision_view_page.php?rev_id=4010#r4010
2015-03-12 18:27apnNote Added: 0038304
2016-05-30 13:02amlRelationship addedrelated to 0027015
2016-06-29 07:42amlNote Added: 0055564
2016-06-29 09:53amlRelationship addedrelated to 0027531
2017-04-24 10:41nbvFile Added: heal surface_to_bspline F2 (pcurve of Invalid face).PNG
2017-04-24 10:43nbvNote Added: 0065456
2017-06-28 12:15nbvCategoryOCCT:Modeling Algorithms => OCCT:Shape Healing
2017-06-28 12:25nbvNote Added: 0067767
2017-06-28 12:26nbvFile Added: badface A1.PNG
2017-06-28 12:57nbvNote Edited: 0067767bug_revision_view_page.php?bugnote_id=67767#r16986
2017-06-28 13:00nbvRelationship addedrelated to 0028863
2017-06-28 13:11nbvNote Edited: 0067767bug_revision_view_page.php?bugnote_id=67767#r16988

2015-03-12 18:27   
Problem test cases:
heal fix_face_size C1
heal split_angle_advanced V3 Y6
2016-06-29 07:42   
Fix for the CR27531 will change bad cases:
heal data advanced K2 - fixed
heal data advanced E4 - TODO is added.
2017-04-24 10:43   
Test case "heal surface_to_bspline F2" produces the face shown in the picture " heal surface_to_bspline F2 (pcurve of Invalid face).PNG" on the current MASTER. I.e. some edge is adjusted incorrectly.
2017-06-28 12:25   
(edited on: 2017-06-28 13:11)
Test heal fix_shape A1

     Draw[]> restore [locate_data_file aaa.rle] a
     Draw[]> explode a f
     Draw[]> don a_1
     Draw[]> v2d
     Draw[]> pcu a_1

See "badface A1.PNG" attached picture. Simple cylindrical face. P-curve of the "top"-edge is geometrically attached to the "bottom" one.

ShapeFix does not translate incorrect p-curve. It increases the tolerance only in order to make the face be closed.

Test heal fix_shape F7

has the same problem.