cba287d6 |
1 | puts "TODO CR26889 ALL: Error: the mesh takes too long to be built" |
2 | |
3 | puts "=========" |
4 | puts "CR26889" |
5 | puts "=========" |
6 | puts "" |
7 | ############################################### |
8 | # Very poor mesh result from shape |
9 | ############################################### |
10 | |
11 | pload XDE |
12 | |
13 | stepread [locate_data_file bug26889_export.step] a * |
14 | |
15 | dlog reset |
16 | dlog on |
17 | |
18 | dchrono t restart |
19 | incmesh a_1 0.1 1 |
20 | dchrono t stop counter incmesh |
21 | |
22 | set info [dlog get] |
23 | dlog reset |
24 | dlog off |
25 | |
26 | regexp {COUNTER incmesh: +([-0-9.+eE]+)} ${info} full Time |
27 | |
28 | if { ${Time} > 30. } { |
29 | puts "Error: the mesh takes too long to be built" |
30 | } |
31 | |
32 | checktrinfo a_1 -tri -nod |
33 | |
34 | vinit |
35 | vsetdispmode 1 |
36 | vdisplay a_1 |
37 | vfit |
38 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |