Back to index

salome-geom  6.5.0
Variables
GEOM_example3 Namespace Reference

Variables

tuple geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
tuple myBuilder = salome.myStudy.NewBuilder()
tuple gg = salome.ImportComponentGUI("GEOM")
tuple BasicOp = geom.GetIBasicOperations(salome.myStudyId)
tuple PrimOp = geom.GetI3DPrimOperations(salome.myStudyId)
tuple InsertOp = geom.GetIInsertOperations(salome.myStudyId)
tuple TrsfOp = geom.GetITransformOperations(salome.myStudyId)
tuple point0 = BasicOp.MakePointXYZ(0.,0.,0.)
tuple pointz1 = BasicOp.MakePointXYZ(0.,0.,1.)
tuple dirz = BasicOp.MakeVectorTwoPnt(point0,pointz1)
tuple torus1 = PrimOp.MakeTorusPntVecRR(point0,dirz,150.,25.)
tuple id_torus1 = geompy.addToStudy(torus1,"torus1")
tuple torus2 = InsertOp.MakeCopy(torus1)
tuple vec1 = BasicOp.MakeVectorDXDYDZ(0.,0.,100.)
tuple id_torus2 = geompy.addToStudy(torus2,"torus2")
tuple cylz1 = PrimOp.MakeCylinderPntVecRH(point0,dirz,25.,100.)
int ind = 0
list shapeList = []
list idList = []
tuple acyl = InsertOp.MakeCopy(cylz1)
int x = 150
int y = 150
int z = 0
tuple vec_i = BasicOp.MakeVectorDXDYDZ(x,y,z)
string name = "cyl%d"
tuple id_acyl = geompy.addToStudy(acyl,name)
tuple cage = geompy.MakeCompound(shapeList)
tuple id_cage = geompy.addToStudy(cage,"cage")

Variable Documentation

tuple GEOM_example3.acyl = InsertOp.MakeCopy(cylz1)

Definition at line 68 of file GEOM_example3.py.

tuple GEOM_example3.BasicOp = geom.GetIBasicOperations(salome.myStudyId)

Definition at line 40 of file GEOM_example3.py.

tuple GEOM_example3.cage = geompy.MakeCompound(shapeList)

Definition at line 87 of file GEOM_example3.py.

tuple GEOM_example3.cylz1 = PrimOp.MakeCylinderPntVecRH(point0,dirz,25.,100.)

Definition at line 62 of file GEOM_example3.py.

tuple GEOM_example3.dirz = BasicOp.MakeVectorTwoPnt(point0,pointz1)

Definition at line 47 of file GEOM_example3.py.

tuple GEOM_example3.geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")

Definition at line 35 of file GEOM_example3.py.

tuple GEOM_example3.gg = salome.ImportComponentGUI("GEOM")

Definition at line 38 of file GEOM_example3.py.

tuple GEOM_example3.id_acyl = geompy.addToStudy(acyl,name)

Definition at line 75 of file GEOM_example3.py.

tuple GEOM_example3.id_cage = geompy.addToStudy(cage,"cage")

Definition at line 88 of file GEOM_example3.py.

tuple GEOM_example3.id_torus1 = geompy.addToStudy(torus1,"torus1")

Definition at line 50 of file GEOM_example3.py.

tuple GEOM_example3.id_torus2 = geompy.addToStudy(torus2,"torus2")

Definition at line 58 of file GEOM_example3.py.

Definition at line 66 of file GEOM_example3.py.

Definition at line 64 of file GEOM_example3.py.

tuple GEOM_example3.InsertOp = geom.GetIInsertOperations(salome.myStudyId)

Definition at line 42 of file GEOM_example3.py.

tuple GEOM_example3.myBuilder = salome.myStudy.NewBuilder()

Definition at line 36 of file GEOM_example3.py.

string GEOM_example3.name = "cyl%d"

Definition at line 73 of file GEOM_example3.py.

tuple GEOM_example3.point0 = BasicOp.MakePointXYZ(0.,0.,0.)

Definition at line 45 of file GEOM_example3.py.

tuple GEOM_example3.pointz1 = BasicOp.MakePointXYZ(0.,0.,1.)

Definition at line 46 of file GEOM_example3.py.

tuple GEOM_example3.PrimOp = geom.GetI3DPrimOperations(salome.myStudyId)

Definition at line 41 of file GEOM_example3.py.

Definition at line 65 of file GEOM_example3.py.

tuple GEOM_example3.torus1 = PrimOp.MakeTorusPntVecRR(point0,dirz,150.,25.)

Definition at line 49 of file GEOM_example3.py.

tuple GEOM_example3.torus2 = InsertOp.MakeCopy(torus1)

Definition at line 54 of file GEOM_example3.py.

tuple GEOM_example3.TrsfOp = geom.GetITransformOperations(salome.myStudyId)

Definition at line 43 of file GEOM_example3.py.

tuple GEOM_example3.vec1 = BasicOp.MakeVectorDXDYDZ(0.,0.,100.)

Definition at line 56 of file GEOM_example3.py.

tuple GEOM_example3.vec_i = BasicOp.MakeVectorDXDYDZ(x,y,z)

Definition at line 72 of file GEOM_example3.py.

int GEOM_example3.x = 150

Definition at line 69 of file GEOM_example3.py.

int GEOM_example3.y = 150

Definition at line 70 of file GEOM_example3.py.

int GEOM_example3.z = 0

Definition at line 71 of file GEOM_example3.py.