Back to index

salome-geom  6.5.0
Variables
GEOM_example2 Namespace Reference

Variables

tuple geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
tuple myBuilder = salome.myStudy.NewBuilder()
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 cyllist = []
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)

Variable Documentation

tuple GEOM_example2.acyl = InsertOp.MakeCopy(cylz1)

Definition at line 60 of file GEOM_example2.py.

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

Definition at line 37 of file GEOM_example2.py.

Definition at line 58 of file GEOM_example2.py.

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

Definition at line 55 of file GEOM_example2.py.

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

Definition at line 44 of file GEOM_example2.py.

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

Definition at line 34 of file GEOM_example2.py.

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

Definition at line 67 of file GEOM_example2.py.

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

Definition at line 47 of file GEOM_example2.py.

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

Definition at line 53 of file GEOM_example2.py.

Definition at line 57 of file GEOM_example2.py.

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

Definition at line 39 of file GEOM_example2.py.

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

Definition at line 35 of file GEOM_example2.py.

string GEOM_example2.name = "cyl%d"

Definition at line 65 of file GEOM_example2.py.

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

Definition at line 42 of file GEOM_example2.py.

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

Definition at line 43 of file GEOM_example2.py.

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

Definition at line 38 of file GEOM_example2.py.

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

Definition at line 46 of file GEOM_example2.py.

tuple GEOM_example2.torus2 = InsertOp.MakeCopy(torus1)

Definition at line 49 of file GEOM_example2.py.

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

Definition at line 40 of file GEOM_example2.py.

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

Definition at line 51 of file GEOM_example2.py.

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

Definition at line 64 of file GEOM_example2.py.

int GEOM_example2.x = 150

Definition at line 61 of file GEOM_example2.py.

int GEOM_example2.y = 150

Definition at line 62 of file GEOM_example2.py.

int GEOM_example2.z = 0

Definition at line 63 of file GEOM_example2.py.