0026889: Very poor mesh result from shape
[occt.git] / tests / perf / mesh / bug26889_2
... / ...
CommitLineData
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.1 1
12dchrono t stop counter incmesh
13
14checktrinfo a_1 -tri 182273 -nod 91484 -defl 0.11671770612283024
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