cba287d6 |
1 | puts "=========" |
a385e6d1 |
2 | puts "0026889: Very poor mesh result from shape" |
cba287d6 |
3 | puts "=========" |
4 | puts "" |
cba287d6 |
5 | |
6 | pload XDE |
7 | |
8 | stepread [locate_data_file bug26889_export.step] a * |
9 | |
cba287d6 |
10 | dchrono t restart |
a385e6d1 |
11 | incmesh a_1 1.0 1 |
cba287d6 |
12 | dchrono t stop counter incmesh |
13 | |
9ee9e5ec |
14 | checktrinfo a_1 -tri 12469 -nod 6503 -defl 1.0 |
a385e6d1 |
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 | |
cba287d6 |
23 | |
24 | vinit |
a385e6d1 |
25 | vdefaults -autoTriang 0 |
cba287d6 |
26 | vsetdispmode 1 |
27 | vdisplay a_1 |
28 | vfit |
29 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |