File: C2

package info (click to toggle)
opencascade 7.5.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 290,544 kB
  • sloc: cpp: 1,190,524; tcl: 15,703; cs: 5,173; java: 1,557; ansic: 1,174; sh: 901; xml: 699; perl: 54; makefile: 27
file content (34 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (9)
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
# test script for revol_rect_plain.prt.gdml file
compound result

# cylinder 
plane pln_sh4882DC0 -0 -0 -381 0 0 1 1 0 0
erase pln_sh4882DC0
pcylinder sh4882DC0 pln_sh4882DC0 635 762 360
settolerance sh4882DC0 7.6199999999999999e-006

# cylinder 
plane pln_sh4882340 -0 -0 -381 0 0 1 1 0 0
erase pln_sh4882340
pcylinder sh4882340 pln_sh4882340 127 762 360
settolerance sh4882340 7.6199999999999999e-006

# copy shape
copy sh4882340 sh4882340_copy

# shape transformation
trotate sh4882340_copy 0 0 0 -1 0 0 90 
ttranslate sh4882340_copy 63.5 0 254

# copy shape
copy sh4882DC0 sh4882DC0_copy

# shape transformation
trotate sh4882DC0_copy 0 0 0 -1 0 0 90 
ttranslate sh4882DC0_copy 63.5 0 254

# cut operation
bcut sh4AE56C0 sh4882DC0_copy sh4882340_copy; copy sh4AE56C0 sh4AE56C0_copy 

# result
add sh4AE56C0_copy result