MantisBT - Open CASCADE
View Issue Details
0029504Open CASCADE[OCCT] OCCT:Shape Healingpublic2018-02-14 08:332019-08-13 16:49
emv 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 7.2.0 
[OCCT] 7.4.0* 
Not required
0029504: ShapeUpgrade_UnifySameDomain produces invalid shape and ShapeFix_Shape is unable to fix it
The ShapeUpgrade_UnifySameDomain algorithm is unable to produce the correct result on the shapes in which faces based on the same closed surface are connected through the split seam edge. After the unification of the seam edge, the algorithm performs healing of the faces one by one (creates 2d curves for the new edges). During the first run the ShapeFix creates 2d curve for the unified edge on the first face, and on the second run this 2d curve is shifted on the period for the second face making the first face invalid (ShapeFix_Wire::FixShifted()).
Applying the ShapeFix_Shape algorithm to such invalid result does not make any difference, as the ShapeFix_Shape performs the same actions.

The problem has been detected while working on the issue #0029481.
restore [locate_data_file bug29504_cyl.brep] s
unifysamedom r s
checkshape r
# BRepCheck_UnorientableShape
# BRepCheck_NotClosed

fixshape rf r
checkshape rf
# BRepCheck_UnorientableShape
# BRepCheck_NotClosed



restore [locate_data_file bug29504_sph.brep] s
unifysamedom r s
checkshape r
# BRepCheck_UnorientableShape
# BRepCheck_NotClosed

fixshape rf r
checkshape rf
# BRepCheck_UnorientableShape
# BRepCheck_NotClosed
No tags attached.
related to 0030099verified bugmaster Open CASCADE Modeling Algorithms - ShapeUpgrade_UnifySameDomain produces invalid result 
has duplicate 0030158verified bugmaster Community Shape Healing - Incorrect result produced by ShapeUpgrade_UnifySameDomain 
? bug29504_cyl.brep (2,532) 2018-02-14 08:36
https://tracker.dev.opencascade.org/
? bug29504_sph.brep (3,484) 2018-02-14 08:36
https://tracker.dev.opencascade.org/
Issue History
2018-02-14 08:33emvNew Issue
2018-02-14 08:33emvAssigned To => gka
2018-02-14 08:36emvFile Added: bug29504_cyl.brep
2018-02-14 08:36emvFile Added: bug29504_sph.brep
2018-02-14 08:40emvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18612#r18612
2018-02-14 15:09emvDescription Updatedbug_revision_view_page.php?rev_id=18624#r18624
2018-02-14 15:10emvRelationship addedrelated to 0029481
2018-08-31 10:48emvRelationship addedrelated to 0030099
2018-09-24 19:59msvRelationship addedhas duplicate 0030158
2019-02-22 16:11denix56Note Added: 0082302
2019-06-21 18:01msvNote Added: 0085210
2019-07-17 11:31msvRelationship addedrelated to 0030534
2019-08-12 17:09msvNote Added: 0086204
2019-08-12 17:09msvAssigned Togka => bugmaster
2019-08-12 17:09msvStatusnew => feedback
2019-08-12 17:09msvNote Edited: 0086204bug_revision_view_page.php?bugnote_id=86204#r21635
2019-08-13 16:32bugmasterTest case number => Not required
2019-08-13 16:49bugmasterStatusfeedback => verified
2019-08-13 16:49bugmasterResolutionopen => fixed

Notes
(0082302)
denix56   
2019-02-22 16:11   
Are there any updates on this issue?
(0085210)
msv   
2019-06-21 18:01   
No updates. You can facilitate the fix by contacting OpenCascade support (https://www.opencascade.com/contact [^]).
(0086204)
msv   
2019-08-12 17:09   
This bug is fixed with #30534. Please close it.