| 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 0.1 1 |
| 12 | dchrono t stop counter incmesh |
| 13 | |
| 14 | checktrinfo a_1 -tri 182273 -nod 91484 -defl 0.11671770612283024 |
| 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 |