File: C6

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 (75 lines) | stat: -rw-r--r-- 2,086 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# test script for rotor01.prt.3.gdml file
compound result

# cone 
plane pln_sh47F18A0 0 0 228.60000000000002 0 0 1 1 0 0
erase pln_sh47F18A0
pcone sh47F18A0 pln_sh47F18A0 76.200000000000003 101.59999999999999 76.199999999999989 360
settolerance sh47F18A0 3.0479999999999999e-006

# cylinder 
plane pln_sh47F0E20 -0 -0 -76.200000000000003 0 0 1 1 0 0
erase pln_sh47F0E20
pcylinder sh47F0E20 pln_sh47F0E20 38.100000000000001 152.40000000000001 360
settolerance sh47F0E20 1.5239999999999999e-006

# cylinder 
plane pln_sh47F3200 -0 -0 -31.75 0 0 1 1 0 0
erase pln_sh47F3200
pcylinder sh47F3200 pln_sh47F3200 63.5 63.5 360
settolerance sh47F3200 6.3499999999999996e-007

# cylinder 
plane pln_sh47F41C0 -0 -0 -31.75 0 0 1 1 0 0
erase pln_sh47F41C0
pcylinder sh47F41C0 pln_sh47F41C0 38.100000000000001 63.5 360
settolerance sh47F41C0 6.3499999999999996e-007

# copy shape
copy sh47F41C0 sh47F41C0_copy

# shape transformation
ttranslate sh47F41C0_copy 0 -2.7494673204841999e-014 247.64999999999998

# shape transformation
trotate sh47F41C0_copy 0 0 0 1 0 0 90 
ttranslate sh47F41C0_copy 0 342.89999999999998 0

# copy shape
copy sh47F3200 sh47F3200_copy

# shape transformation
ttranslate sh47F3200_copy 0 -2.7494673204841999e-014 247.64999999999998

# shape transformation
trotate sh47F3200_copy 0 0 0 1 0 0 90 
ttranslate sh47F3200_copy 0 342.89999999999998 0

# cut operation
bcut sh4AFD1C0 sh47F3200_copy sh47F41C0_copy; copy sh4AFD1C0 sh4AFD1C0_copy 

# copy shape
copy sh47F0E20 sh47F0E20_copy

# shape transformation
ttranslate sh47F0E20_copy 0 -3.2429614549300819e-014 292.09999999999997

# shape transformation
trotate sh47F0E20_copy 0 0 0 1 0 0 90 
ttranslate sh47F0E20_copy 0 342.89999999999998 0

# fuse operation
bfuse sh4AFE030 sh47F0E20_copy sh4AFD1C0_copy; copy sh4AFE030 sh4AFE030_copy 

# copy shape
copy sh47F18A0 sh47F18A0_copy

# shape transformation
trotate sh47F18A0_copy 0 0 0 1 0 0 90 
ttranslate sh47F18A0_copy 0 342.89999999999998 0

# cut operation
bcut sh47E7D40 sh47F18A0_copy sh4AFE030_copy; copy sh47E7D40 sh47E7D40_copy 

# result
add sh47E7D40_copy result