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