mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-15 11:44:07 +03:00
- extended functionality to dump surface normals - added new option to vseldump command - added tests
23 lines
1022 B
Plaintext
23 lines
1022 B
Plaintext
puts "================================="
|
|
puts "0032182: Visualization - add Select3D_SensitiveSphere"
|
|
puts "Tests selection of Select3D_SenstiveSphere"
|
|
puts "================================="
|
|
|
|
psphere s 1
|
|
vdisplay -dispMode 1 s
|
|
vfit
|
|
vselect 300 200
|
|
if { ![string match "*Selected*" [vstate s]] } { puts "Error: sphere should be selected" }
|
|
vselect 195 110
|
|
if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
|
|
vselect 390 110
|
|
if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
|
|
vselect 390 282
|
|
if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
|
|
vselect 213 291
|
|
if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
|
|
vselect 300 200 -allowoverlap 1
|
|
if { ![string match "*Selected*" [vstate s]] } { puts "Error: sphere should be selected" }
|
|
vselect 195 110 -allowoverlap 1
|
|
if { [string match "*Selected*" [vstate s]] } { puts "Error: sphere should be unselected" }
|