Back to index

salome-geom  6.5.0
Namespaces | Variables
GEOM_example3.py File Reference

Go to the source code of this file.

Namespaces

namespace  GEOM_example3

Variables

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