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") |
| 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") |