Package PAL_MESH_041_mesh


Variables

tuple p1 = geompy.MakeVertex(20.0,30.0,40.0)
tuple p2 = geompy.MakeVertex(90.0,80.0,0.0)
tuple p3 = geompy.MakeVertex(30.0,80.0,200.0)
tuple e1 = geompy.MakeEdge(p1,p2)
tuple e2 = geompy.MakeEdge(p2,p3)
tuple e3 = geompy.MakeEdge(p3,p1)
list ListOfEdges = []
tuple wire1 = geompy.MakeWire(ListOfEdges)
int WantPlanarFace = 1
tuple face1 = geompy.MakeFace(wire1,WantPlanarFace)
tuple Id_face1 = geompy.addToStudy(face1,"Face1")
tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
tuple plane_mesh = salome.IDToObject( Id_face1)
tuple mesh = smesh.CreateMesh(plane_mesh)
tuple smeshgui = salome.ImportComponentGUI("SMESH")
tuple id_mesh = salome.ObjectToID(mesh)
int numberOfSegment = 9
tuple hypNbSeg = smesh.CreateHypothesis( "NumberOfSegments", "libStdMeshersEngine.so" )
int maxElementArea = 200
tuple hypArea200 = smesh.CreateHypothesis("MaxElementArea","libStdMeshersEngine.so")
tuple algoWireDes = smesh.CreateHypothesis( "Regular_1D", "libStdMeshersEngine.so" )
tuple listHyp = algoWireDes.GetCompatibleHypothesis()
tuple algoMef = smesh.CreateHypothesis( "MEFISTO_2D", "libStdMeshersEngine.so" )
tuple listHyp = algoMef.GetCompatibleHypothesis()


Variable Documentation

tuple PAL_MESH_041_mesh.p1 = geompy.MakeVertex(20.0,30.0,40.0) [static]
 

tuple PAL_MESH_041_mesh.p2 = geompy.MakeVertex(90.0,80.0,0.0) [static]
 

tuple PAL_MESH_041_mesh.p3 = geompy.MakeVertex(30.0,80.0,200.0) [static]
 

tuple PAL_MESH_041_mesh.e1 = geompy.MakeEdge(p1,p2) [static]
 

tuple PAL_MESH_041_mesh.e2 = geompy.MakeEdge(p2,p3) [static]
 

tuple PAL_MESH_041_mesh.e3 = geompy.MakeEdge(p3,p1) [static]
 

list PAL_MESH_041_mesh.ListOfEdges = [] [static]
 

tuple PAL_MESH_041_mesh.wire1 = geompy.MakeWire(ListOfEdges) [static]
 

int PAL_MESH_041_mesh.WantPlanarFace = 1 [static]
 

tuple PAL_MESH_041_mesh.face1 = geompy.MakeFace(wire1,WantPlanarFace) [static]
 

tuple PAL_MESH_041_mesh.Id_face1 = geompy.addToStudy(face1,"Face1") [static]
 

tuple PAL_MESH_041_mesh.smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH") [static]
 

tuple PAL_MESH_041_mesh.plane_mesh = salome.IDToObject( Id_face1) [static]
 

tuple PAL_MESH_041_mesh.mesh = smesh.CreateMesh(plane_mesh) [static]
 

tuple PAL_MESH_041_mesh.smeshgui = salome.ImportComponentGUI("SMESH") [static]
 

tuple PAL_MESH_041_mesh.id_mesh = salome.ObjectToID(mesh) [static]
 

int PAL_MESH_041_mesh.numberOfSegment = 9 [static]
 

tuple PAL_MESH_041_mesh.hypNbSeg = smesh.CreateHypothesis( "NumberOfSegments", "libStdMeshersEngine.so" ) [static]
 

int PAL_MESH_041_mesh.maxElementArea = 200 [static]
 

tuple PAL_MESH_041_mesh.hypArea200 = smesh.CreateHypothesis("MaxElementArea","libStdMeshersEngine.so") [static]
 

tuple PAL_MESH_041_mesh.algoWireDes = smesh.CreateHypothesis( "Regular_1D", "libStdMeshersEngine.so" ) [static]
 

tuple PAL_MESH_041_mesh.listHyp = algoWireDes.GetCompatibleHypothesis() [static]
 

tuple PAL_MESH_041_mesh.algoMef = smesh.CreateHypothesis( "MEFISTO_2D", "libStdMeshersEngine.so" ) [static]
 

tuple PAL_MESH_041_mesh.listHyp = algoMef.GetCompatibleHypothesis() [static]