Archived issue #0029040
Incorrect treatment of the seam edges in ShapeUpgrade_UnifySameDomain algorithm
Description
In current implementation of the ShapeUpgrade_UnifySameDomain algorithm seam edges are always removed during unification of the faces and then restored by ShapeFix. It leads to incorrect history information because no edges are modified into the new one created by ShapeFix.
Also, due to such behavior the invalid shapes are created in some cases.
Also, due to such behavior the invalid shapes are created in some cases.
Steps to reproduce
1. incorrect history
brestore [locate_data_file bug28913_26219_faces.brep] a
unifysamedom result a
explode a e
# input shape and seam edges
don a a_1 a_4
unifysamedomisdel a_1
# The shape has been deleted
unifysamedomisdel a_4
# The shape has been deleted
# both seams are deleted
2. invalid shape
explode a e
unifysamedom r a a_1 +i
checkshape r
brestore [locate_data_file bug28913_26219_faces.brep] a
unifysamedom result a
explode a e
# input shape and seam edges
don a a_1 a_4
unifysamedomisdel a_1
# The shape has been deleted
unifysamedomisdel a_4
# The shape has been deleted
# both seams are deleted
2. invalid shape
explode a e
unifysamedom r a a_1 +i
checkshape r
Public activity
No public notes
Participants are labeled by their role within this record.