Back to index

salome-smesh  6.5.0
Variables
SMESH_flight_skin Namespace Reference

Variables

list filePath = os.environ["DATA_DIR"]
string filename = "flight_solid.brep"
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"])
tuple shape_mesh = salome.IDToObject( idShape )
 ---------------------------- SMESH --------------------------------------
tuple mesh = smesh.Mesh(shape_mesh, "MeshFlight")
float lengthOfSegments = 0.3
tuple regular1D = mesh.Segment()
tuple hypLength = regular1D.LocalLength(lengthOfSegments)
tuple mefisto2D = mesh.Triangle()
tuple hypLengthFromEdge = mefisto2D.LengthFromEdges()
tuple ret = mesh.Compute()
tuple log = mesh.GetLog(0)

Variable Documentation

SMESH_flight_skin.filename = "flight_solid.brep"

Definition at line 42 of file SMESH_flight_skin.py.

string SMESH_flight_skin.filePath = os.environ["DATA_DIR"]

Definition at line 39 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.hypLength = regular1D.LocalLength(lengthOfSegments)

Definition at line 74 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.hypLengthFromEdge = mefisto2D.LengthFromEdges()

Definition at line 83 of file SMESH_flight_skin.py.

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

Definition at line 46 of file SMESH_flight_skin.py.

Definition at line 71 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.log = mesh.GetLog(0)

Definition at line 96 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.mefisto2D = mesh.Triangle()

Definition at line 82 of file SMESH_flight_skin.py.

Definition at line 64 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.regular1D = mesh.Segment()

Definition at line 73 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.ret = mesh.Compute()

Definition at line 93 of file SMESH_flight_skin.py.

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

Definition at line 45 of file SMESH_flight_skin.py.

tuple SMESH_flight_skin.shape_mesh = salome.IDToObject( idShape )

---------------------------- SMESH --------------------------------------

Definition at line 62 of file SMESH_flight_skin.py.

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

Definition at line 51 of file SMESH_flight_skin.py.

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

Definition at line 50 of file SMESH_flight_skin.py.

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

Definition at line 49 of file SMESH_flight_skin.py.