0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / demo / bug23409
CommitLineData
2e1a4dae 1puts "============"
2puts "CR23409"
3puts "============"
4puts ""
5###################################################################################
6# Tricheck command doesn't report problem when triangulation has unexpected holes
7###################################################################################
8
9restore [locate_data_file bug23167_f397.brep] result
10vinit
11vsetdispmode 1
12vdisplay result
13axo
14fit
15isos result 0
16triangles result
17set info_bad [tricheck result]
18if { [regexp "Not connected mesh inside face 1" $info_bad] != 1 } {
19 puts "Error : Tricheck command doesn't report message"
20}
21
22tclean result
23incmesh result 0.01
24set info_good [tricheck result]
25if { [string compare $info_good "" ] != 0 } {
26 puts "Error : Tricheck command works incorrect when shape looks good"
27}
28
5747059b 29checkview -display result -3d -path ${imagedir}/${test_image}.png