0032424: [Regression] Mesh - Slow triangulation of a simple shape.
[occt.git] / tests / perf / mesh / bug26889_1
CommitLineData
a385e6d1 1puts "========="
2puts "0026889: Very poor mesh result from shape"
3puts "========="
4puts ""
5
6pload XDE
7
8stepread [locate_data_file bug26889_export.step] a *
9
10dchrono t restart
11incmesh a_1 0.01 1
12dchrono t stop counter incmesh
13
9ee9e5ec 14checktrinfo a_1 -tri 525271 -nod 263456 -defl 0.081028355715069861
a385e6d1 15
16set log [tricheck a_1]
17if { [llength $log] != 0 } {
18 puts "Error : Invalid mesh"
19} else {
20 puts "Mesh is OK"
21}
22
23
24vinit
25vdefaults -autoTriang 0
26vsetdispmode 1
27vdisplay a_1
28vfit
29checkview -screenshot -3d -path ${imagedir}/${test_image}.png