File: bug24902_2

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (31 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
puts "==========="
puts "OCC24902"
puts "==========="
puts ""
###########################################################################################
# Visualization - advanced processing of compounds containing solids and other shape types
# Tests the capping on compound that contains shell and solid
###########################################################################################

vinit
box b 0 0 0 10 10 10
box b_solid 20 0 0 10 10 10
explode b F

# Put shell and solid into compound
compound b_1 b_2 b_3 b_4 b_6 b_shell
compound b_shell b_solid comp
vdisplay comp
vsetdispmode 1
vfit

# set clipping plane
vclipplane create pln1
vclipplane change pln1 equation 0 1 0 -5
vclipplane change pln1 capping on
vclipplane change pln1 capping color 0.9 0.9 0.9
vclipplane set pln1 view Driver1/Viewer1/View1

vrotate 0 0.2 0

set only_screen 1