File: B8

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 (51 lines) | stat: -rw-r--r-- 1,667 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# test script for protrusion01.prt.3.gdml file
compound result

# cylinder 
plane pln_sh4846FB0 -0 -0 -442.71730065000003 0 0 1 1.1102230246251565e-016 -1 0
erase pln_sh4846FB0
pcylinder sh4846FB0 pln_sh4846FB0 702.71927595 885.43460130000005 300.00000000000006
settolerance sh4846FB0 8.8543460130000009e-006

# cylinder 
plane pln_sh4849710 -0 -0 -442.71730065000003 0 0 1 1.1102230246251565e-016 -1 0
erase pln_sh4849710
pcylinder sh4849710 pln_sh4849710 153.59337693000001 885.43460130000005 300.00000000000006
settolerance sh4849710 8.8543460130000009e-006

# copy shape
copy sh4849710 sh4849710_copy

# shape transformation
trotate sh4849710_copy 0 0 0 1 0 0 -161.93649349000003 
ttranslate sh4849710_copy 127 -258.32178088000001 -177.99555741

# box 
box sh484BA10 -150.79893332500001 -150.79893332500001 -508 301.59786665000001 301.59786665000001 1016

# copy shape
copy sh484BA10 sh484BA10_copy

# shape transformation
trotate sh484BA10_copy 0 0 0 -0.70710678118654735 0.70710678118654768 8.7731777483398112e-017 180 
ttranslate sh484BA10_copy 399.74468245000003 178.4271923835945 -950.71730065346742

# shape transformation
trotate sh484BA10_copy 0 0 0 1 0 0 -161.93649349000003 
ttranslate sh484BA10_copy 127 -258.32178088000001 -177.99555741

# copy shape
copy sh4846FB0 sh4846FB0_copy

# shape transformation
trotate sh4846FB0_copy 0 0 0 1 0 0 -161.93649349000003 
ttranslate sh4846FB0_copy 127 -258.32178088000001 -177.99555741

# cut operation
bcut sh480D0A0 sh4846FB0_copy sh4849710_copy; copy sh480D0A0 sh480D0A0_copy 

# fuse operation
bfuse sh4811390 sh480D0A0_copy sh484BA10_copy; copy sh4811390 sh4811390_copy 

# result
add sh4811390_copy result