0032155: Tests - remove broken command OCC280
[occt.git] / tests / bugs / vis / bug25103
CommitLineData
0717ddc1 1puts "============"
2puts "CR25103"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - Regression in interactive detection
7#######################################################################
8
9vinit
10vsetdispmode 1
11
12box wall1 1 8 8
13box wall2 1 8 8
14box wall3 16 8 1
15
16vdisplay wall1
17vdisplay wall2
18vdisplay wall3
19
20vsetlocation wall1 -10 0 0
21vsetlocation wall2 5 0 0
22vsetlocation wall3 -10 0 -1
23
24vsetmaterial wall1 stone
25vsetmaterial wall2 stone
26vsetmaterial wall3 pewter
27
28vsetcolor wall1 red
29vsetcolor wall2 green
30
27af3052 31vfront
0717ddc1 32vturnview 0 -0.3 0
33vfit
34
35set anImage ${imagedir}/${casename}_1.png
36vdump ${anImage}
37
38# The next line should highlight the green box (wall2) but it does not
39vmoveto 394 205
40
41set anImage ${imagedir}/${casename}_2.png
42vdump ${anImage}
43
44# The next line should not hit any object but it highlights the green box
45vmoveto 264 205
46
47set anImage ${imagedir}/${casename}_3.png
48vdump ${anImage}