mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0026635: UnifySameDomain loses internal edges
Treat internal edges in proper way to save them in the result. The test "bugs heal bug26489_4" has been modified to reflect the actual behavior. Test-case for issue #26635
This commit is contained in:
25
tests/bugs/heal/bug26635
Normal file
25
tests/bugs/heal/bug26635
Normal file
@@ -0,0 +1,25 @@
|
||||
puts "========"
|
||||
puts "OCC26635"
|
||||
puts "========"
|
||||
puts ""
|
||||
########################################
|
||||
# UnifySameDomain loses internal edges
|
||||
########################################
|
||||
|
||||
restore [locate_data_file OCC26635_t0.brep] t0
|
||||
restore [locate_data_file OCC26635_t1.brep] t1
|
||||
restore [locate_data_file OCC26635_t2.brep] t2
|
||||
|
||||
bclear
|
||||
baddobjects t0 t1
|
||||
baddtools t2
|
||||
bfillds
|
||||
bbop r 1
|
||||
|
||||
unifysamedom ru r
|
||||
set bug_info [bopargcheck ru #F]
|
||||
|
||||
if {$bug_info != "Shape(s) seem(s) to be valid for BOP.\n"} {
|
||||
puts "ERROR: OCC26635 is reproduced."
|
||||
}
|
||||
|
Reference in New Issue
Block a user