mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
Correct the algorithm in the function MergeEdges in ShapeUpgrade_UnifySameDomain.cxx so as to take into account the orientation of the next edge added to the chain. Test cases for issue CR27521
18 lines
450 B
Plaintext
18 lines
450 B
Plaintext
puts "============"
|
|
puts "OCC27521"
|
|
puts "============"
|
|
puts ""
|
|
###############################
|
|
## Standard_ConstructionError when trying to use unifySameDom into a shape
|
|
###############################
|
|
|
|
restore [locate_data_file bug27521_dom8443-wrong.brep] a
|
|
unifysamedom result a
|
|
|
|
don result
|
|
smallview; fit
|
|
checkshape result
|
|
checknbshapes result -m UnifySameDomain -face 31 -edge 286
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|