View Issue Details

IDProjectCategoryView StatusLast Update
0029504Open CASCADEOCCT:Shape Healingpublic2019-08-13 16:49
ReporteremvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version7.2.0 
Target Version7.4.0Fixed in Version7.4.0 
Summary0029504: ShapeUpgrade_UnifySameDomain produces invalid shape and ShapeFix_Shape is unable to fix it
DescriptionThe 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.
Steps To Reproducerestore [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
TagsNo tags attached.
Test case numberNot required

Attached Files

  • bug29504_cyl.brep (2,532 bytes)
  • bug29504_sph.brep (3,484 bytes)

Relationships

related to 0030099 closedbugmaster Open CASCADE Modeling Algorithms - ShapeUpgrade_UnifySameDomain produces invalid result 
has duplicate 0030158 closedbugmaster Community Shape Healing - Incorrect result produced by ShapeUpgrade_UnifySameDomain 

Activities

emv

2018-02-14 08:36

developer  

bug29504_cyl.brep (2,532 bytes)

emv

2018-02-14 08:36

developer  

bug29504_sph.brep (3,484 bytes)

denix56

2019-02-22 16:11

reporter   ~0082302

Are there any updates on this issue?

msv

2019-06-21 18:01

developer   ~0085210

No updates. You can facilitate the fix by contacting OpenCascade support (https://www.opencascade.com/contact).

msv

2019-08-12 17:09

developer   ~0086204

Last edited: 2019-08-12 17:09

This bug is fixed with #30534. Please close it.

Issue History

Date Modified Username Field Change
2018-02-14 08:33 emv New Issue
2018-02-14 08:33 emv Assigned To => gka
2018-02-14 08:36 emv File Added: bug29504_cyl.brep
2018-02-14 08:36 emv File Added: bug29504_sph.brep
2018-02-14 08:40 emv Steps to Reproduce Updated
2018-02-14 15:09 emv Description Updated
2018-08-31 10:48 emv Relationship added related to 0030099
2018-09-24 19:59 msv Relationship added has duplicate 0030158
2019-02-22 16:11 denix56 Note Added: 0082302
2019-06-21 18:01 msv Note Added: 0085210
2019-08-12 17:09 msv Note Added: 0086204
2019-08-12 17:09 msv Assigned To gka => bugmaster
2019-08-12 17:09 msv Status new => feedback
2019-08-12 17:09 msv Note Edited: 0086204
2019-08-13 16:32 bugmaster Test case number => Not required
2019-08-13 16:49 bugmaster Status feedback => verified
2019-08-13 16:49 bugmaster Resolution open => fixed