0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / mesh / bug26664
CommitLineData
e71669c6 1puts "========"
2puts "OCC26664"
3puts "========"
4puts ""
5#################################
6# Triangulating a very small polygon fails
7#################################
8
9restore [locate_data_file bug26664_f.brep] a
10
11#1
12vinit
13vsetdispmode 1
14vdisplay a
15vfit
16vdump ${imagedir}/${casename}_1.png
17
18#2
19incmesh a 1e-4
20vdisplay a
21vdump ${imagedir}/${casename}_2.png
22
23#3
24set log2 [incmesh a 1e-4 -adaptive]
25vdisplay a
26vdump ${imagedir}/${casename}_3.png
27
28if { [regexp "NoError" ${log2}] == 1 } {
29 puts "OK : Triangulating a very small polygon is good"
30} else {
31 puts "Error : Triangulating a very small polygon fails"
32}