Package SMESH_flight_skin


Variables

tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
tuple smeshgui = salome.ImportComponentGUI("SMESH")
list filePath = os.environ["DATA_DIR"]
string filePath = "/Shapes/Brep/"
string filename = "flight_solid.brep"
 filename = filePath+filename
tuple shape = geompy.Import(filename, "BREP")
tuple idShape = geompy.addToStudy(shape, "flight")
tuple subShellList = geompy.SubShapeAll(shape, geompy.ShapeType["SHELL"])
tuple subFaceList = geompy.SubShapeAll(shape, geompy.ShapeType["FACE"])
tuple subEdgeList = geompy.SubShapeAll(shape, geompy.ShapeType["EDGE"])
float lengthOfSegments = 0.3
tuple hypLength = smesh.CreateHypothesis("LocalLength", "libStdMeshersEngine.so")
tuple hypLengthFromEdge = smesh.CreateHypothesis("LengthFromEdges", "libStdMeshersEngine.so")
tuple regular1D = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
tuple mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so")
tuple shape_mesh = salome.IDToObject( idShape )
tuple mesh = smesh.CreateMesh(shape_mesh)
tuple ret = smesh.Compute(mesh,shape_mesh)
tuple log = mesh.GetLog(0)


Variable Documentation

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

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

list SMESH_flight_skin.filePath = os.environ["DATA_DIR"] [static]
 

string SMESH_flight_skin.filePath = "/Shapes/Brep/" [static]
 

string SMESH_flight_skin.filename = "flight_solid.brep" [static]
 

SMESH_flight_skin.filename = filePath+filename [static]
 

tuple SMESH_flight_skin.shape = geompy.Import(filename, "BREP") [static]
 

tuple SMESH_flight_skin.idShape = geompy.addToStudy(shape, "flight") [static]
 

tuple SMESH_flight_skin.subShellList = geompy.SubShapeAll(shape, geompy.ShapeType["SHELL"]) [static]
 

tuple SMESH_flight_skin.subFaceList = geompy.SubShapeAll(shape, geompy.ShapeType["FACE"]) [static]
 

tuple SMESH_flight_skin.subEdgeList = geompy.SubShapeAll(shape, geompy.ShapeType["EDGE"]) [static]
 

float SMESH_flight_skin.lengthOfSegments = 0.3 [static]
 

tuple SMESH_flight_skin.hypLength = smesh.CreateHypothesis("LocalLength", "libStdMeshersEngine.so") [static]
 

tuple SMESH_flight_skin.hypLengthFromEdge = smesh.CreateHypothesis("LengthFromEdges", "libStdMeshersEngine.so") [static]
 

tuple SMESH_flight_skin.regular1D = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_flight_skin.mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_flight_skin.shape_mesh = salome.IDToObject( idShape ) [static]
 

tuple SMESH_flight_skin.mesh = smesh.CreateMesh(shape_mesh) [static]
 

tuple SMESH_flight_skin.ret = smesh.Compute(mesh,shape_mesh) [static]
 

tuple SMESH_flight_skin.log = mesh.GetLog(0) [static]