Version: 6.3.1
Variables

Package SMESH_flight_skin

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.

Referenced by ImportMeshesFromFile(), SMESH_Gen_i.Load(), and SMESH_Gen_i.Save().

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

Definition at line 39 of file SMESH_flight_skin.py.

Referenced by SMESH.InitAvailableHypotheses(), and SMESH_File.remove().

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.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS