0023400: Triangulation of thin ring contains gap
[occt.git] / tests / bugs / vis / bug24837_2
CommitLineData
0717ddc1 1puts "============"
2puts "CR24837_2"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - revise design and implementation of connected Interactive Objects
7#######################################################################
8
9pload MODELING VISUALIZATION
10box o1 -10 -10 -5 1 1 10
11box o2 10 10 -5 1 1 10
12box b1 0 0 0 1 2 3
13box b2 3 0 0 3 2 1
14vinit View1
15vclear
16vtop
17vsetdispmode 0
18vdisplay o1 o2
19vdisplay b1 b2
20vfit
21vdrawtext "b1" 0 -3 3 255 25 25 2 0 000 0 14 1 Arial
22vdrawtext "b2" 3 0 3 25 255 25 2 0 000 0 14 1 Arial
23vdrawtext "bc_1" 0 -9 3 255 225 225 2 0 000 0 14 1 Arial
24vdrawtext "bc_2" 3 -6 3 255 225 225 2 0 000 0 14 1 Arial
25vsetdispmode 1
26set anImage ${imagedir}/${casename}_2_1.png
27vdump ${anImage}
28
29vsetmaterial b1 b2 plastic
30vsetcolor b1 RED
31vsetcolor b2 GREEN
32set anImage ${imagedir}/${casename}_2_2.png
33vdump ${anImage}
34
35vsetlocation b1 0 -3 0
36vconnect bc 0 -6 0 b1 b2
37set anImage ${imagedir}/${casename}_2_3.png
38vdump ${anImage}