31c0e219 |
1 | puts "===========" |
2 | puts "OCC24902" |
3 | puts "===========" |
4 | puts "" |
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 | |
10 | vinit |
11 | box b 0 0 0 10 10 10 |
12 | box b_solid 20 0 0 10 10 10 |
13 | explode b F |
14 | |
15 | # Put shell and solid into compound |
16 | compound b_1 b_2 b_3 b_4 b_6 b_shell |
17 | compound b_shell b_solid comp |
18 | vdisplay comp |
19 | vsetdispmode 1 |
20 | vfit |
21 | |
22 | # set clipping plane |
23 | vclipplane create pln1 |
24 | vclipplane change pln1 equation 0 1 0 -5 |
25 | vclipplane change pln1 capping on |
26 | vclipplane change pln1 capping color 0.9 0.9 0.9 |
27 | vclipplane set pln1 view Driver1/Viewer1/View1 |
28 | |
29 | vrotate 0 0.2 0 |
30 | |
5747059b |
31 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |