File: G9

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 (38 lines) | stat: -rw-r--r-- 1,149 bytes parent folder | download | duplicates (3)
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
32
33
34
35
36
37
38
# test script on make volume operation
# sphere plane

# planar face 
plane pln_f1 -109.65165515927141 528.22159206517972 -55.870308878274699 0.85649044251752993 0.27563735586738991 0.436403677718875
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000

# spherical face 
sphere sph_f2 0 0 0 0 0 1 535
erase sph_f2
mkface f2 sph_f2

# planar face 
plane pln_f3 -156.41603332072859 513.17179243482019 -79.697949681725305 0.85649044251752993 0.27563735586738991 0.436403677718875
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000

# planar face 
plane pln_f4 -120.6399035968881 520.69669224978725 -92.108607390229196 0.45399049974768874 -7.7904639963905031e-012 -0.89100652418421933
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000

# planar face 
plane pln_f5 -118.04565524587703 462.03266975772823 -60.147265544976598 -0.24559468238333207 0.96126169592386956 -0.12513674094604033
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000

# spherical face 
sphere sph_f6 0 0 0 0 0 1 520
erase sph_f6
mkface f6 sph_f6

# make volume operation 
mkvolume result f1 f2 f3 f4 f5 f6

set square 1.61207e+007