Back to index

salome-smesh  6.5.0
Namespaces | Variables
SMESH_flight_skin.py File Reference

Go to the source code of this file.

Namespaces

namespace  SMESH_flight_skin

Variables

list SMESH_flight_skin.filePath = os.environ["DATA_DIR"]
string SMESH_flight_skin.filename = "flight_solid.brep"
tuple SMESH_flight_skin.shape = geompy.Import(filename, "BREP")
tuple SMESH_flight_skin.idShape = geompy.addToStudy(shape, "flight")
tuple SMESH_flight_skin.subShellList = geompy.SubShapeAll(shape, geompy.ShapeType["SHELL"])
tuple SMESH_flight_skin.subFaceList = geompy.SubShapeAll(shape, geompy.ShapeType["FACE"])
tuple SMESH_flight_skin.subEdgeList = geompy.SubShapeAll(shape, geompy.ShapeType["EDGE"])
tuple SMESH_flight_skin.shape_mesh = salome.IDToObject( idShape )
 ---------------------------- SMESH --------------------------------------
tuple SMESH_flight_skin.mesh = smesh.Mesh(shape_mesh, "MeshFlight")
float SMESH_flight_skin.lengthOfSegments = 0.3
tuple SMESH_flight_skin.regular1D = mesh.Segment()
tuple SMESH_flight_skin.hypLength = regular1D.LocalLength(lengthOfSegments)
tuple SMESH_flight_skin.mefisto2D = mesh.Triangle()
tuple SMESH_flight_skin.hypLengthFromEdge = mefisto2D.LengthFromEdges()
tuple SMESH_flight_skin.ret = mesh.Compute()
tuple SMESH_flight_skin.log = mesh.GetLog(0)