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