1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Files
occt/tests/bugs/heal/bug26489_5
2015-08-13 11:06:58 +03:00

35 lines
751 B
Plaintext
Executable File

puts "============"
puts "OCC26489"
puts "============"
puts ""
######################################################
# The class ShapeUpgrade_UnifySameDomain provides the results that are wrong or difficult to explain.
######################################################
restore [locate_data_file bug26489_r003.brep] b1
explode b1 w
unifysamedom result b1_1
set nbshapes_expected "
Number of shapes in shape
VERTEX : 4
EDGE : 4
WIRE : 1
FACE : 0
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 0
SHAPE : 9
"
checknbshapes result -ref ${nbshapes_expected} -t -m "result provided by the class ShapeUpgrade_UnifySameDomain"
vinit
vsetdispmode 1
vclear
vdisplay result
vfit
vdump ${imagedir}/${casename}.png