3 puts "Pick filter does NOT work for TopAbs_COMPSOLID topology"
10 # selected point of first CompSolid
17 #set x3 160; set y3 257 - it's bad for lin,aki.
21 # selected point of second CompSolid
39 # There is not selection
40 puts "There is not selection"
41 catch {QAGetPixelColor $x1 $y1 $Yellow_R $Yellow_G $Yellow_B} result11
42 catch {QAGetPixelColor $x2 $y2 $Yellow_R $Yellow_G $Yellow_B} result12
43 catch {QAGetPixelColor $x3 $y3 $Yellow_R $Yellow_G $Yellow_B} result13
44 catch {QAGetPixelColor $x4 $y4 $Yellow_R $Yellow_G $Yellow_B} result14
45 catch {QAGetPixelColor $x5 $y5 $Yellow_R $Yellow_G $Yellow_B} result15
46 catch {QAGetPixelColor $x6 $y6 $Yellow_R $Yellow_G $Yellow_B} result16
52 # Second box of first CompSolid is selected
53 puts "Second box of first CompSolid is selected"
54 catch {QAGetPixelColor $x1 $y1 $Yellow_R $Yellow_G $Yellow_B} result21
55 catch {QAGetPixelColor $x3 $y3 $Yellow_R $Yellow_G $Yellow_B} result22
56 catch {QAGetPixelColor $x4 $y4 $Yellow_R $Yellow_G $Yellow_B} result23
57 catch {QAGetPixelColor $x5 $y5 $Yellow_R $Yellow_G $Yellow_B} result24
58 catch {QAGetPixelColor $x6 $y6 $Yellow_R $Yellow_G $Yellow_B} result25
60 if { [array get env os_type] != "" } {
63 if { [string compare $os "windows"] != 0 } {
64 catch {QAGetPixelColor $x2 $y2 $Cyan_R $Cyan_G $Cyan_B} result31
68 if { [regexp "Faulty" $result11] == 1 } {
71 if { [regexp "Faulty" $result12] == 1 } {
74 if { [regexp "Faulty" $result13] == 1 } {
77 if { [regexp "Faulty" $result14] == 1 } {
80 if { [regexp "Faulty" $result15] == 1 } {
83 if { [regexp "Faulty" $result16] == 1 } {
86 if { [regexp "Faulty" $result21] == 1 } {
89 if { [regexp "Faulty" $result22] == 1 } {
92 if { [regexp "Faulty" $result23] == 1 } {
95 if { [regexp "Faulty" $result24] == 1 } {
98 if { [regexp "Faulty" $result25] == 1 } {
102 if { [string compare $os "windows"] != 0 } {
103 if { [regexp "Faulty" $result31] == 1 } {
108 if {$IsFaulty != 0} {
109 puts "Error : OCC232"