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