2 # Generated python file of Graph aNewDataFlow_1
6 # Graph creation of aNewDataFlow_1
7 def DefaNewDataFlow_1() :
8 aNewDataFlow_1 = Graph( 'aNewDataFlow_1' )
9 aNewDataFlow_1.SetName( 'aNewDataFlow_1' )
10 aNewDataFlow_1.SetAuthor( '' )
11 aNewDataFlow_1.SetComment( '' )
12 aNewDataFlow_1.Coords( 0 , 0 )
14 # Creation of Factory Nodes
16 SetStudyID = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
17 SetStudyID.SetName( 'SetStudyID' )
18 SetStudyID.SetAuthor( '' )
19 SetStudyID.SetContainer( 'localhost/FactoryServer' )
20 SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
21 SetStudyID.Coords( 9 , 118 )
22 ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
23 ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
24 OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
26 MakeSphere = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
27 MakeSphere.SetName( 'MakeSphere' )
28 MakeSphere.SetAuthor( '' )
29 MakeSphere.SetContainer( 'localhost/FactoryServer' )
30 MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
31 MakeSphere.Coords( 202 , 58 )
32 IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
33 IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
34 IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
35 IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
36 IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
37 OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
38 OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
40 MakeCopy = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
41 MakeCopy.SetName( 'MakeCopy' )
42 MakeCopy.SetAuthor( '' )
43 MakeCopy.SetContainer( 'localhost/FactoryServer' )
44 MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
45 MakeCopy.Coords( 425 , 11 )
46 IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
47 IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
48 OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
49 OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
51 TranslateDXDYDZ = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
52 TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
53 TranslateDXDYDZ.SetAuthor( '' )
54 TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
55 TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
56 TranslateDXDYDZ.Coords( 428 , 197 )
57 ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
58 ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
59 ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
60 ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
61 ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
62 OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
63 OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
65 MakeFuse = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
66 MakeFuse.SetName( 'MakeFuse' )
67 MakeFuse.SetAuthor( '' )
68 MakeFuse.SetContainer( 'localhost/FactoryServer' )
69 MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
70 MakeFuse.Coords( 651 , 103 )
71 IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
72 IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
73 IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
74 OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
75 OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
78 LSetStudyIDGateMakeSphereGate = aNewDataFlow_1.Link( OSetStudyIDGate , IMakeSphereGate )
80 LMakeSpherereturnMakeCopytheOriginal = aNewDataFlow_1.Link( OMakeSpherereturn , IMakeCopytheOriginal )
82 LMakeSpherereturnTranslateDXDYDZtheObject = aNewDataFlow_1.Link( OMakeSpherereturn , ITranslateDXDYDZtheObject )
84 LMakeCopyreturnMakeFusetheShape1 = aNewDataFlow_1.Link( OMakeCopyreturn , IMakeFusetheShape1 )
86 LTranslateDXDYDZreturnMakeFusetheShape2 = aNewDataFlow_1.Link( OTranslateDXDYDZreturn , IMakeFusetheShape2 )
89 ISetStudyIDtheStudyID.Input( 1 )
90 IMakeSpheretheX.Input( 0 )
91 IMakeSpheretheY.Input( 0 )
92 IMakeSpheretheZ.Input( 0 )
93 IMakeSpheretheRadius.Input( 50 )
94 ITranslateDXDYDZtheDX.Input( 80 )
95 ITranslateDXDYDZtheDY.Input( 0 )
96 ITranslateDXDYDZtheDZ.Input( 0 )
98 # Output Ports of the graph
99 #OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
100 return aNewDataFlow_1
103 aNewDataFlow_1 = DefaNewDataFlow_1()