0024130: Implementing ray tracing visualization core
[occt.git] / tests / bugs / vis / bug597_1
1 if { [array get env os_type] != "" } {
2     set os $env(os_type)
3 }
4 if { [string compare $os "windows"] != 0 } {
5    puts "TODO ?OCC12345 ALL: An exception was caught"
6    puts "TODO ?OCC12345 ALL: \\*\\* Exception \\*\\*.*"
7    puts "TODO ?OCC12345 ALL: TEST INCOMPLETE"
8 }
9
10 puts "=================================="
11 puts "BUC60569" 
12 puts "OCC597"
13 puts "=================================="
14 puts "It takes visual check for this BUG"
15 puts "=================================="
16
17 restore [locate_data_file buc60569a.rle] result
18 tclean result
19 vinit
20
21 checkshape result
22
23 BUC60569 result
24 vfit
25 vselect 250 190
26
27 set x_coord 335
28 set y_coord 331
29
30 checkcolor $x_coord $y_coord 0.8 0.8 0.8
31
32 if {$stat != 1} {
33    puts "Error : The right face is NOT Selected by Select command."
34 }
35
36 vselect 180 350 1
37
38 set x_coord 101
39 set y_coord 347
40
41 checkcolor $x_coord $y_coord 0.8 0.8 0.8
42
43 if {$stat != 1} {
44    puts "Error : The left face is NOT Selected by Shift Select command."
45 }
46
47 set only_screen 1
48
49