e54706ed |
1 | puts "============" |
2 | puts "OCC10702" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # MeshVS_NodalColorPrsBuilder does not take into account visibility of mesh elements |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC10702 |
10 | |
11 | pload XDE |
12 | |
709e97a0 |
13 | vinit |
14 | |
e54706ed |
15 | meshfromstl m [locate_data_file OMF6391_box.stl] |
16 | |
17 | set x_coord 180 |
18 | set y_coord 260 |
19 | |
709e97a0 |
20 | vsetdispmode m 2 |
e54706ed |
21 | puts "\nMesh displayed in shading mode" |
22 | |
e54706ed |
23 | checkcolor $x_coord $y_coord 0 0 0.36 |
24 | |
709e97a0 |
25 | vselmode m 8 1 |
e54706ed |
26 | puts "\nSelection of elements is activated" |
27 | |
4754e164 |
28 | vselect $x_coord $y_coord 1 |
29 | ###vselect $x_coord $y_coord 1 |
e54706ed |
30 | |
31 | meshhidesel m |
32 | puts "\nSelected elemement is hidden" |
33 | |
e54706ed |
34 | checkcolor $x_coord $y_coord 0 0 0.36 |
35 | |
709e97a0 |
36 | meshcolors m nodal 0 |
e54706ed |
37 | puts "\nDisplay nodal color presentation" |
38 | |
fcc61cc4 |
39 | #checkcolor $x_coord $y_coord 0.46 0.12 0.37 |
40 | checkcolor $x_coord $y_coord 0.72 0.72 0.70 |
e54706ed |
41 | |
5747059b |
42 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |
e54706ed |
43 | |