0023062: Incorrect display of edge in draw axo viewer
[occt.git] / tests / bugs / vis / bug197_2
CommitLineData
a87752f3 1puts "========"
2puts "OCC197"
3puts "(case 2)"
4puts "========"
5puts ""
6puts "====================="
7puts "Multiple Selection: Choosing of viewer MODA for selection of ELEMENT"
8puts "(visual checking for this case is desirable)"
9puts "====================="
10# Selection Modes Activation:
11# 0 - OBJECT, 1 - PRIMITIVE, 2 - ELEMENT, 3 - VERTEX, 4 - NONE
12
13v2dinit
14box b_b 10 15 20
15v2ddisplay b_b 0 0 0 1 1 1 1 0 0
16v2dfit
17QAv2dSetHighlightMode 2
f1aa2b62 18set color2d 1
a87752f3 19
f1aa2b62 20QASelect2d 296 160
21QAMoveTo2d 0 0
22QAShiftSelect2d 76 290
a87752f3 23
f1aa2b62 24set x_coord 296
25set y_coord 161
a87752f3 26
f1aa2b62 27checkcolor $x_coord $y_coord 0.8 0.8 0.8
28
29if { ${stat} != 1 } {
30 puts "Error : (ELEMENT number 1) Multiple Selection: Choosing of viewer MOD for selection of ELEMENT was NOT MADE properly"
31}
a87752f3 32
f1aa2b62 33set x_coord 76
34set y_coord 290
a87752f3 35
f1aa2b62 36checkcolor $x_coord $y_coord 0.8 0.8 0.8
a87752f3 37
f1aa2b62 38if { ${stat} != 1 } {
39 puts "Error : (ELEMENT number 2) Multiple Selection: Choosing of viewer MOD for selection of ELEMENT was NOT MADE properly"
a87752f3 40}
41
42set only_screen2d 1
43