Adding new testing cases for chl grid
[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
12puts [checkshape result]
13
14vinit result
15tclean
16vdisplay result
17vfit
18vsetdispmode result 1
19
f1aa2b62 20set x_coord 175
21set y_coord 195
22
a87752f3 23QAUpdateLights
a87752f3 24
f1aa2b62 25checkcolor $x_coord $y_coord 1 0.75 0.15
a87752f3 26
f1aa2b62 27if { $stat != 1 } {
a87752f3 28 puts "Error : Shading is missing in 3D Viewer"
29}
30
31########################################################
32vsetmaterial result COPPER
33
34QAUpdateLights
a87752f3 35
f1aa2b62 36checkcolor $x_coord $y_coord 0.77 0.32 0.23
37
38if { $stat != 1 } {
39 puts "Error : material of shape is not COPPER"
a87752f3 40}
41
42set only_screen 1