a87752f3 |
1 | puts "========================" |
2 | puts " OCC397 " |
3 | puts "========================" |
4 | |
9c1519c4 |
5 | puts "TODO OCC27226 ALL: Colors are not equal in default" |
6 | puts "TODO OCC27226 ALL: Shading is missing in 3D Viewer" |
7 | |
a87752f3 |
8 | pload QAcommands |
9 | |
a87752f3 |
10 | restore [locate_data_file OCC397.brep] a |
352ffd73 |
11 | checkshape a |
a87752f3 |
12 | |
13 | tclean a |
14 | explode a f |
15 | renamevar a_55 result |
16 | |
17 | vinit |
18 | vdisplay result |
19 | vfit |
20 | vsetdispmode result 1 |
21 | |
f1aa2b62 |
22 | set x_coord 235 |
23 | set y_coord 180 |
a87752f3 |
24 | |
f1aa2b62 |
25 | checkcolor $x_coord $y_coord 0.5 0.35 0.05 |
a87752f3 |
26 | |
f1aa2b62 |
27 | if { ${stat} != 1 } { |
a87752f3 |
28 | puts "Error : Shading is missing in 3D Viewer" |
29 | } |
30 | |
4754e164 |
31 | vselect 220 170 |
a87752f3 |
32 | |
58cf74e0 |
33 | checkprops result -s 92.9029 |
34 | checkshape result |
5747059b |
35 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |
a87752f3 |
36 | |
37 | |