1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +03:00
occt/tests/bugs/demo/bug23409
2012-12-05 17:17:05 +04:00

35 lines
813 B
Plaintext

puts "============"
puts "CR23409"
puts "============"
puts ""
###################################################################################
# Tricheck command doesn't report problem when triangulation has unexpected holes
###################################################################################
restore [locate_data_file bug23167_f397.brep] result
vinit
vsetdispmode 1
vdisplay result
axo
fit
isos result 0
triangles result
set info_bad [tricheck result]
if { [regexp "Not connected mesh inside face 1" $info_bad] != 1 } {
puts "Error : Tricheck command doesn't report message"
}
tclean result
incmesh result 0.01
set info_good [tricheck result]
if { [string compare $info_good "" ] != 0 } {
puts "Error : Tricheck command works incorrect when shape looks good"
}
set 3dviewer 1