-# Generated python file of Graph GraphGeom2Essai
+# Generated python file of Graph aNewDataFlow_1
from SuperV import *
-# Graph creation
-GraphGeom2Essai = Graph( 'GraphGeom2Essai' )
-print GraphGeom2Essai.SetAuthor( '' )
-print GraphGeom2Essai.SetComment( '' )
-GraphGeom2Essai.Coords( 0 , 0 )
-# Creation of Nodes
-MakeSphere = GraphGeom2Essai.Node( 'GEOM' , 'GEOM' , 'MakeSphere' )
-print MakeSphere.SetAuthor( '' )
-print MakeSphere.SetContainer( 'FactoryServer' )
-print MakeSphere.SetComment( '' )
-MakeSphere.Coords( 17 , 75 )
-MakeCopy = GraphGeom2Essai.Node( 'GEOM' , 'GEOM' , 'MakeCopy' )
-print MakeCopy.SetAuthor( '' )
-print MakeCopy.SetContainer( 'FactoryServer' )
-print MakeCopy.SetComment( '' )
-MakeCopy.Coords( 219 , 12 )
-MakeTranslation = GraphGeom2Essai.Node( 'GEOM' , 'GEOM' , 'MakeTranslation' )
-print MakeTranslation.SetAuthor( '' )
-print MakeTranslation.SetContainer( 'FactoryServer' )
-print MakeTranslation.SetComment( '' )
-MakeTranslation.Coords( 221 , 209 )
-MakeFuse = GraphGeom2Essai.Node( 'GEOM' , 'GEOM' , 'MakeFuse' )
-print MakeFuse.SetAuthor( '' )
-print MakeFuse.SetContainer( 'FactoryServer' )
-print MakeFuse.SetComment( '' )
-MakeFuse.Coords( 465 , 106 )
+# Graph creation of aNewDataFlow_1
+def DefaNewDataFlow_1() :
+ aNewDataFlow_1 = Graph( 'aNewDataFlow_1' )
+ aNewDataFlow_1.SetName( 'aNewDataFlow_1' )
+ aNewDataFlow_1.SetAuthor( '' )
+ aNewDataFlow_1.SetComment( '' )
+ aNewDataFlow_1.Coords( 0 , 0 )
+
+ # Creation of Factory Nodes
+
+ SetStudyID = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
+ SetStudyID.SetName( 'SetStudyID' )
+ SetStudyID.SetAuthor( '' )
+ SetStudyID.SetContainer( 'localhost/FactoryServer' )
+ SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
+ SetStudyID.Coords( 9 , 118 )
+ ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
+ ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
+ OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
+
+ MakeSphere = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
+ MakeSphere.SetName( 'MakeSphere' )
+ MakeSphere.SetAuthor( '' )
+ MakeSphere.SetContainer( 'localhost/FactoryServer' )
+ MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
+ MakeSphere.Coords( 202 , 58 )
+ IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
+ IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
+ IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
+ IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
+ IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
+ OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
+ OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
+
+ MakeCopy = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
+ MakeCopy.SetName( 'MakeCopy' )
+ MakeCopy.SetAuthor( '' )
+ MakeCopy.SetContainer( 'localhost/FactoryServer' )
+ MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
+ MakeCopy.Coords( 425 , 11 )
+ IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
+ IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
+ OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
+ OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
+
+ TranslateDXDYDZ = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
+ TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
+ TranslateDXDYDZ.SetAuthor( '' )
+ TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
+ TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
+ TranslateDXDYDZ.Coords( 428 , 197 )
+ ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
+ ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
+ ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
+ ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
+ ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
+ OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
+ OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
+
+ MakeFuse = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
+ MakeFuse.SetName( 'MakeFuse' )
+ MakeFuse.SetAuthor( '' )
+ MakeFuse.SetContainer( 'localhost/FactoryServer' )
+ MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
+ MakeFuse.Coords( 651 , 103 )
+ IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
+ IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
+ IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
+ OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
+ OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
+
+ # Creation of Links
+ LSetStudyIDGateMakeSphereGate = aNewDataFlow_1.Link( OSetStudyIDGate , IMakeSphereGate )
+
+ LMakeSpherereturnMakeCopytheOriginal = aNewDataFlow_1.Link( OMakeSpherereturn , IMakeCopytheOriginal )
+
+ LMakeSpherereturnTranslateDXDYDZtheObject = aNewDataFlow_1.Link( OMakeSpherereturn , ITranslateDXDYDZtheObject )
+
+ LMakeCopyreturnMakeFusetheShape1 = aNewDataFlow_1.Link( OMakeCopyreturn , IMakeFusetheShape1 )
+
+ LTranslateDXDYDZreturnMakeFusetheShape2 = aNewDataFlow_1.Link( OTranslateDXDYDZreturn , IMakeFusetheShape2 )
+
+ # Input datas
+ ISetStudyIDtheStudyID.Input( 1 )
+ IMakeSpheretheX.Input( 0 )
+ IMakeSpheretheY.Input( 0 )
+ IMakeSpheretheZ.Input( 0 )
+ IMakeSpheretheRadius.Input( 50 )
+ ITranslateDXDYDZtheDX.Input( 80 )
+ ITranslateDXDYDZtheDY.Input( 0 )
+ ITranslateDXDYDZtheDZ.Input( 0 )
+
+ # Output Ports of the graph
+ #OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
+ return aNewDataFlow_1
-# Creation of intermediate Output variables and of links
-MakeSpheresphere = MakeSphere.Port( 'shape' )
-MakeCopyshape = GraphGeom2Essai.Link( MakeSpheresphere , MakeCopy.Port( 'shape1' ) )
-MakeTranslationshape = GraphGeom2Essai.Link( MakeSpheresphere , MakeTranslation.Port( 'shape1' ) )
-MakeCopycopy = MakeCopy.Port( 'shape' )
-MakeFuseshape1 = GraphGeom2Essai.Link( MakeCopycopy , MakeFuse.Port( 'shape1' ) )
-MakeTranslationtranslation = MakeTranslation.Port( 'shape' )
-MakeFuseshape2 = GraphGeom2Essai.Link( MakeTranslationtranslation , MakeFuse.Port( 'shape2' ) )
-# Creation of Input datas
-MakeSpherex1 = MakeSphere.Input( 'x1' , 0)
-MakeSpherey1 = MakeSphere.Input( 'y1' , 0)
-MakeSpherez1 = MakeSphere.Input( 'z1' , 0)
-MakeSphereradius = MakeSphere.Input( 'radius' , 50)
-MakeTranslationx1 = MakeTranslation.Input( 'x1' , 80)
-MakeTranslationy1 = MakeTranslation.Input( 'y1' , 0)
-MakeTranslationz1 = MakeTranslation.Input( 'z1' , 0)
-
-# Missing Input datas
-
-# Creation of Output variables
-MakeFuseresult = MakeFuse.Port( 'shape' )
+aNewDataFlow_1 = DefaNewDataFlow_1()