0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug24902_2
CommitLineData
31c0e219 1puts "==========="
2puts "OCC24902"
3puts "==========="
4puts ""
5###########################################################################################
6# Visualization - advanced processing of compounds containing solids and other shape types
7# Tests the capping on compound that contains shell and solid
8###########################################################################################
9
10vinit
11box b 0 0 0 10 10 10
12box b_solid 20 0 0 10 10 10
13explode b F
14
15# Put shell and solid into compound
16compound b_1 b_2 b_3 b_4 b_6 b_shell
17compound b_shell b_solid comp
18vdisplay comp
19vsetdispmode 1
20vfit
21
22# set clipping plane
23vclipplane create pln1
24vclipplane change pln1 equation 0 1 0 -5
25vclipplane change pln1 capping on
26vclipplane change pln1 capping color 0.9 0.9 0.9
27vclipplane set pln1 view Driver1/Viewer1/View1
28
29vrotate 0 0.2 0
30
5747059b 31checkview -screenshot -3d -path ${imagedir}/${test_image}.png