File: B1

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,130 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
# plane sphere

# planar face 
plane pln_f1 24.324478110342437 508.53654735999999 -12.393940642889628 -0.89100652418836779 0 0.45399049973954686
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000

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

# planar face 
plane pln_f3 -139.11177319288961 495.97571680999999 -40.241482479657549 0.45399049973954658 -1.1228384600540191e-016 -0.89100652418836801
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000

# planar face 
plane pln_f4 197.01514607999999 -27.300000000000004 475.63663767000003 2.2204460492503131e-016 1 2.7755575615628918e-016
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000

# planar face 
plane pln_f5 497.86372504673375 3.6839557552926462e-016 147.60224008685657 -0.23344536385590542 1.349434342598039e-017 0.97236992039767656
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000

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

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

set square 1.67121e+007