0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
[occt.git] / tests / bugs / vis / bug26028
CommitLineData
c3715b74 1puts "============="
2puts ""
3puts "============="
4puts ""
5
6##############################################################################
7## Drawing mesh as closed object.
8##############################################################################
9
10pload XDE
11
12set anImage1 $imagedir/${casename}_Opened.png
13set anImage2 $imagedir/${casename}_Closed.png
14
15vinit
16meshfromstl aMesh [locate_data_file sh1.stl]
17vsetdispmode aMesh 2
18vright
19vfit
20
21vclipplane create aClipPlane
22vclipplane change aClipPlane equation 0 1 0 0
23vclipplane change aClipPlane capping on
24vclipplane change aClipPlane capping color 0.9 0.9 0.9
25vclipplane set aClipPlane object aMesh
26
27meshclosed aMesh 0
28vdump ${anImage1}
29
30meshclosed aMesh 1
31vdump ${anImage2}