0031189: Draw Harness, ViewerTest - send messages to Message::DefaultMessenger()
[occt.git] / tests / bugs / vis / bug173_1
CommitLineData
a87752f3 1puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
2puts "========"
3puts "OCC173"
4puts "(case 1)"
5puts "========"
6puts ""
7###########################################################
8## Impossible to change the material or the transparency of the attached BREP shape.
9###########################################################
10
11restore [locate_data_file OCC173.brep] result
352ffd73 12checkshape result
a87752f3 13
4b114473 14vinit
15tclean result
a87752f3 16vdisplay result
17vfit
18vsetdispmode result 1
19
f1aa2b62 20set x_coord 175
21set y_coord 195
22
f1aa2b62 23checkcolor $x_coord $y_coord 1 0.75 0.15
a87752f3 24
f1aa2b62 25if { $stat != 1 } {
a87752f3 26 puts "Error : Shading is missing in 3D Viewer"
27}
28
29########################################################
30vsetmaterial result COPPER
31
f1aa2b62 32checkcolor $x_coord $y_coord 0.77 0.32 0.23
33
34if { $stat != 1 } {
35 puts "Error : material of shape is not COPPER"
a87752f3 36}
37
5747059b 38checkview -screenshot -3d -path ${imagedir}/${test_image}.png