From: jfa Date: Mon, 16 Apr 2007 11:35:49 +0000 (+0000) Subject: Update smesh python module documentation. X-Git-Tag: V3_2_6~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a23af39b8bf8a15eb1bdf028cb5ee2294b647e42;p=modules%2Fsmesh.git Update smesh python module documentation. --- diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh.html index 4206a80ba..51edc45d3 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh.html @@ -1,11792 +1,7910 @@ - + - - - Main Page - - + + + Main Page + + -
-

smesh.Mesh Class Reference -

-
-
-Class to define a mesh. More... -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
-

Public Member Functions

-
def __init__
 Constructor.
-
def SetMesh
 Method that inits the Mesh object from SMESH_Mesh -interface.
-
def GetMesh
 Method that returns the mesh.
-
def GetName
 Get mesh name.
-
def SetName
 Set name to mesh.
-
def GetSubMesh
 Get the subMesh object associated to a -subShape.
-
def GetShape
 Method that returns the shape associated -to the mesh.
-
def SetShape
 Method that associates given shape to the -mesh(entails the mesh recreation).
-
def IsReadyToCompute
 Return true if hypotheses are defined -well.
-
def GetAlgoState
 Return errors of hypotheses definintion -error list is empty if everything is OK.
-
def GetGeometryByMeshElement
 Return geometrical object the given -element is built on.
-
def MeshDimension
 Returns mesh dimension depending on shape -one.
-
def Segment
 Creates a segment discretization 1D -algorithm.
-
def Triangle
 Creates a triangle 2D algorithm for faces. -
-
def Quadrangle
 Creates a quadrangle 2D algorithm for -faces.
-
def Tetrahedron
 Creates a tetrahedron 3D algorithm for -solids.
-
def Hexahedron
 Creates a hexahedron 3D algorithm for -solids.
-
def Netgen
 Deprecated, only for compatibility!
-
def Compute
 Compute the mesh and return the status of -the computation.
-
def AutomaticTetrahedralization
 Compute tetrahedral mesh using -AutomaticLength + MEFISTO + NETGEN The parameter fineness -[0,-1] defines mesh fineness.
-
def AutomaticHexahedralization
 Compute hexahedral mesh using -AutomaticLength + Quadrangle + Hexahedron The parameter fineness -[0,-1] defines mesh fineness.
-
def GetHypothesisList
 Get the list of hypothesis added on a -geom.
-
def RemoveGlobalHypotheses
 Removes all global hypotheses.
-
def Group
 Create a mesh group based on geometric -object grp and give a name,
-if this parameter is not defined the name is the same as the geometric -group name
-Note: Works like GroupOnGeom(). -
-
def ExportToMED
 Deprecated, only for compatibility! -Please, use ExportMED() -method instead.
-
def ExportMED
 Export the mesh in a file with the MED -format.
-
def ExportDAT
 Export the mesh in a file with the DAT -format.
-
def ExportUNV
 Export the mesh in a file with the UNV -format.
-
def ExportSTL
 Export the mesh in a file with the STL -format.
-
def CreateEmptyGroup
 Creates an empty mesh group.
-
def GroupOnGeom
 Creates a mesh group based on geometric -object grp and give a name,
-if this parameter is not defined the name is the same as the geometric -group name.
-
def MakeGroupByIds
 Create a mesh group by the given ids of -elements.
-
def MakeGroup
 Create a mesh group by the given -conditions.
-
def MakeGroupByCriterion
 Create a mesh group by the given -criterion.
-
def MakeGroupByCriteria
 Create a mesh group by the given -criteria(list of criterions).
-
def MakeGroupByFilter
 Create a mesh group by the given filter.
-
def GetIdsFromFilter
 Pass mesh elements through the given -filter and return ids.
-
def GetFreeBorders
 Verify whether 2D mesh element has free -edges(edges connected to one face only)
-Returns list of special structures(borders).
-
def RemoveGroup
 Remove a group.
-
def RemoveGroupWithContents
 Remove group with its contents.
-
def GetGroups
 Get the list of groups existing in the -mesh.
-
def GetGroupNames
 Get the list of names of groups existing -in the mesh.
-
def UnionGroups
 Union of two groups New group is created.
-
def IntersectGroups
 Intersection of two groups New group is -created.
-
def CutGroups
 Cut of two groups New group is created.
-
def GetLog
 Get the log of nodes and elements added or -removed since previous clear of the log.
-
def ClearLog
 Clear the log of nodes and elements added -or removed since previous clear.
-
def GetId
 Get the internal Id.
-
def GetStudyId
 Get the study Id.
-
def HasDuplicatedGroupNamesMED
 Check group names for duplications.
-
def GetMeshEditor
 Obtain instance of SMESH_MeshEditor.
-
def GetMEDMesh
 Get MED Mesh.
-
def NbNodes
 Returns number of nodes in mesh.
-
def NbElements
 Returns number of elements in mesh.
-
def NbEdges
 Returns number of edges in mesh.
-
def NbEdgesOfOrder
 Returns number of edges with given order -in mesh.
-
def NbFaces
 Returns number of faces in mesh.
-
def NbFacesOfOrder
 Returns number of faces with given order -in mesh.
-
def NbTriangles
 Returns number of triangles in mesh.
-
def NbTrianglesOfOrder
 Returns number of triangles with given -order in mesh.
-
def NbQuadrangles
 Returns number of quadrangles in mesh.
-
def NbQuadranglesOfOrder
 Returns number of quadrangles with given -order in mesh.
-
def NbPolygons
 Returns number of polygons in mesh.
-
def NbVolumes
 Returns number of volumes in mesh.
-
def NbVolumesOfOrder
 Returns number of volumes with given order -in mesh.
-
def NbTetras
 Returns number of tetrahedrons in mesh.
-
def NbTetrasOfOrder
 Returns number of tetrahedrons with given -order in mesh.
-
def NbHexas
 Returns number of hexahedrons in mesh.
-
def NbHexasOfOrder
 Returns number of hexahedrons with given -order in mesh.
-
def NbPyramids
 Returns number of pyramids in mesh.
-
def NbPyramidsOfOrder
 Returns number of pyramids with given -order in mesh.
-
def NbPrisms
 Returns number of prisms in mesh.
-
def NbPrismsOfOrder
 Returns number of prisms with given order -in mesh.
-
def NbPolyhedrons
 Returns number of polyhedrons in mesh.
-
def NbSubMesh
 Returns number of submeshes in mesh.
-
def GetElementsId
 Returns list of mesh elements ids.
-
def GetElementsByType
 Returns list of ids of mesh elements with -given type.
-
def GetNodesId
 Returns list of mesh nodes ids.
-
def GetElementType
 Returns type of mesh element.
-
def GetSubMeshElementsId
 Returns list of submesh elements ids.
-
def GetSubMeshNodesId
 Returns list of submesh nodes ids.
-
def GetSubMeshElementType
 Returns list of ids of submesh elements -with given type.
-
def Dump
 Get mesh description.
-
def GetNodeXYZ
 Get XYZ coordinates of node as list of -double
-If there is not node for given ID - returns empty list.
-
def GetNodeInverseElements
 For given node returns list of IDs of -inverse elements
-If there is not node for given ID - returns empty list.
-
def GetShapeID
 If given element is node returns IDs of -shape from position
-If there is not node for given ID - returns -1.
-
def GetShapeIDForElem
 For given element returns ID of result -shape after FindShape() from SMESH_MeshEditor
-If there is not element for given ID - returns -1.
-
def GetElemNbNodes
 Returns number of nodes for given element
-If there is not element for given ID - returns -1.
-
def GetElemNode
 Returns ID of node by given index for -given element
-If there is not element for given ID - returns -1
-If there is not node for given index - returns -2.
-
def IsMediumNode
 Returns true if given node is medium node -in given quadratic element.
-
def IsMediumNodeOfAnyElem
 Returns true if given node is medium node -in one of quadratic elements.
-
def ElemNbEdges
 Returns number of edges for given element. -
-
def ElemNbFaces
 Returns number of faces for given element. -
-
def IsPoly
 Returns true if given element is polygon.
-
def IsQuadratic
 Returns true if given element is -quadratic.
-
def BaryCenter
 Returns XYZ coordinates of bary center for -given element as list of double
-If there is not element for given ID - returns empty list.
-
def RemoveElements
 Removes elements from mesh by ids.
-
def RemoveNodes
 Removes nodes from mesh by ids.
-
def AddNode
 Add node to mesh by coordinates.
-
def AddEdge
 Create edge both similar and quadratic -(this is determed by number of given nodes).
-
def AddFace
 Create face both similar and quadratic -(this is determed by number of given nodes).
-
def AddPolygonalFace
 Add polygonal face to mesh by list of -nodes ids.
-
def AddVolume
 Create volume both similar and quadratic -(this is determed by number of given nodes).
-
def AddPolyhedralVolume
 Create volume of many faces, giving nodes -for each face.
-
def AddPolyhedralVolumeByFaces
 Create volume of many faces, giving IDs of -existing faces.
-
def MoveNode
 Move node with given id.
-
def InverseDiag
 Replace two neighbour triangles sharing -Node1-Node2 link with ones built on the same 4 nodes but having other -common link.
-
def DeleteDiag
 Replace two neighbour triangles sharing -Node1-Node2 link with a quadrangle built on the same 4 nodes.
-
def Reorient
 Reorient elements by ids.
-
def ReorientObject
 Reorient all elements of the object.
-
def TriToQuad
 Fuse neighbour triangles into quadrangles. -
-
def TriToQuadObject
 Fuse neighbour triangles of the object -into quadrangles.
-
def QuadToTri
 Split quadrangles into triangles.
-
def QuadToTriObject
 Split quadrangles into triangles.
-
def SplitQuad
 Split quadrangles into triangles.
-
def SplitQuadObject
 Split quadrangles into triangles.
-
def BestSplit
 Find better splitting of the given -quadrangle.
-
def Smooth
 Smooth elements.
-
def SmoothObject
 Smooth elements belong to given object.
-
def SmoothParametric
 Parametric smooth the given elements.
-
def SmoothParametricObject
 Parametric smooth elements belong to given -object.
-
def ConvertToQuadratic
 Converts all mesh to quadratic one, -deletes old elements, replacing them with quadratic ones with the same -id.
-
def ConvertFromQuadratic
 Converts all mesh from quadratic to -ordinary ones, deletes old quadratic elements,
-replacing them with ordinary mesh elements with the same id.
-
def RenumberNodes
 Renumber mesh nodes.
-
def RenumberElements
 Renumber mesh elements.
-
def RotationSweep
 Generate new elements by rotation of the -elements around the axis.
-
def RotationSweepObject
 Generate new elements by rotation of the -elements of object around the axis.
-
def ExtrusionSweep
 Generate new elements by extrusion of the -elements with given ids.
-
def AdvancedExtrusion
 Generate new elements by extrusion of the -elements with given ids.
-
def ExtrusionSweepObject
 Generate new elements by extrusion of the -elements belong to object.
-
def ExtrusionSweepObject1D
 Generate new elements by extrusion of the -elements belong to object.
-
def ExtrusionSweepObject2D
 Generate new elements by extrusion of the -elements belong to object.
-
def ExtrusionAlongPath
 Generate new elements by extrusion of the -given elements A path of extrusion must be a meshed edge.
-
def ExtrusionAlongPathObject
 Generate new elements by extrusion of the -elements belong to object A path of extrusion must be a meshed edge.
-
def Mirror
 Symmetrical copy of mesh elements.
-
def MirrorObject
 Symmetrical copy of object.
-
def Translate
 Translates the elements.
-
def TranslateObject
 Translates the object.
-
def Rotate
 Rotates the elements.
-
def RotateObject
 Rotates the object.
-
def FindCoincidentNodes
 Find group of nodes close to each other -within Tolerance.
-
def MergeNodes
 Merge nodes.
-
def MergeEqualElements
 Remove all but one of elements built on -the same nodes.
-
def SewFreeBorders
 Sew free borders.
-
def SewConformFreeBorders
 Sew conform free borders.
-
def SewBorderToSide
 Sew border to side.
-
def SewSideElements
 Sew two sides of a mesh.
-
def ChangeElemNodes
 Set new nodes for given element.
-
def GetLastCreatedNodes
 If during last operation of MeshEditor -some nodes were created this method returns list of it's IDs,
-if new nodes not created - returns empty list.
-
def GetLastCreatedElems
 If during last operation of MeshEditor -some elements were created this method returns list of it's IDs,
-if new elements not creared - returns empty list.
-

-

Data Fields

-
 geom
 mesh
 editor

-

Static Public Attributes

-
int geom -= 0
int mesh -= 0
int editor -= 0
-

-
-

Detailed Description

-The class contains mesh shape, SMESH_Mesh, SMESH_MeshEditor More -details. -

-
-

Member Function Documentation

- -

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.__init__   self,

-

-
  obj = 0, -

-

-
  name = 0

-

-
-
- - - - - - - -
  -

Creates mesh on the shape geom(or the empty mesh if geom -equal to 0), sets GUI name of this mesh to name.

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
obj Shape to be meshed or SMESH_Mesh object

-
name Study name of the mesh
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SetMesh   self,

-

-
  theMesh

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
theMesh is SMESH_Mesh object
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetMesh   self -  ) 
-
-
- - - - - - - -
  -

-
-
Returns:
-
SMESH_Mesh object
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetName   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SetName   self,

-

-
  name

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetSubMesh   self,

-

-
  theSubObject, -

-

-
  name

-

-
-
- - - - - - - -
  -

The subMesh object gives access to nodes and elements IDs.
-SubMesh will be used instead of SubShape in a next idl version to -adress a specific subMesh...

-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetShape   self -  ) 
-
-
- - - - - - - -
  -

-
-
Returns:
-
GEOM_Object
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SetShape   self,

-

-
  geom

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
geom shape to be meshed(GEOM_Object)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.IsReadyToCompute   self,

-

-
  theSubObject

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
theMesh is an instance of Mesh class

-
theSubObject subshape of a mesh shape
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetAlgoState   self,

-

-
  theSubObject

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
theMesh is an instance of Mesh class

-
theSubObject subshape of a mesh shape
-
-
-
-
Returns:
-
a list of errors
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetGeometryByMeshElement   self,

-

-
  theElementID, -

-

-
  theGeomName

-

-
-
- - - - - - - -
  -

The returned geometrical object, if not nil, is either found -in the study or is published by this method with the given name

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
theMesh is an instance of Mesh class

-
theElementID an id of the mesh element

-
theGeomName user defined name of geometrical object
-
-
-
-
Returns:
-
GEOM.GEOM_Object instance
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.MeshDimension   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Segment   self,

-

-
  algo = REGULAR, -

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

If the optional algo parameter is not sets, this -algorithm is REGULAR. If the optional geom parameter is not -sets, this algorithm is global.
-Otherwise, this algorithm define a submesh based on geom -subshape.

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
algo values are smesh.REGULAR -or smesh.PYTHON -for discretization via python function

-
geom If defined, subshape to be meshed
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Triangle   self,

-

-
  algo = MEFISTO, -

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

If the optional geom parameter is not sets, this -algorithm is global.
-Otherwise, this algorithm define a submesh based on geom -subshape.

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
algo values are: smesh.MEFISTO -or smesh.NETGEN -

-
geom If defined, subshape to be meshed
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Quadrangle   self,

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

If the optional geom parameter is not sets, this -algorithm is global.
-Otherwise, this algorithm define a submesh based on geom -subshape.

-
-
Parameters:
-
- - - - - - - - -

-
geom If defined, subshape to be meshed
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Tetrahedron   self,

-

-
  algo = NETGEN, -

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

The parameter algo permits to choice the algorithm: -NETGEN or GHS3D If the optional geom parameter is not sets, -this algorithm is global.
-Otherwise, this algorithm define a submesh based on geom -subshape.

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
algo values are: smesh.NETGEN, - smesh.GHS3D, - smesh.FULL_NETGEN -

-
geom If defined, subshape to be meshed
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Hexahedron   self,

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

If the optional geom parameter is not sets, this -algorithm is global.
-Otherwise, this algorithm define a submesh based on geom -subshape.

-
-
Parameters:
-
- - - - - - - - -

-
geom If defined, subshape to be meshed
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Netgen   self,

-

-
  is3D,

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Compute   self,

-

-
  geom = 0

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AutomaticTetrahedralization   self,

-

-
  fineness = 0

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AutomaticHexahedralization   self,

-

-
  fineness = 0

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetHypothesisList   self,

-

-
  geom

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
geom is subhape of mesh geometry
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.RemoveGlobalHypotheses   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Group   self,

-

-
  grp,

-

-
  name = ""

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
grp is a geometric group, a vertex, an edge, a face or -a solid

-
name is the name of the mesh group
-
-
-
-
Returns:
-
SMESH_GroupOnGeom
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExportToMED   self,

-

-
  f,

-

-
  version,

-

-
  opt = 0

-

-
-
- - - - - - - -
  -

Export the mesh in a file with the MED format and choice the version -of MED format

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
f is the file name

-
version values are SMESH.MED_V2_1, SMESH.MED_V2_2
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExportMED   self,

-

-
  f,

-

-
  auto_groups = - 0,

-

-
  version = MED_V2_2

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
f is the file name

-
auto_groups boolean parameter for creating/not creating the -groups Group_On_All_Nodes, Group_On_All_Faces, ... ; the typical use is -auto_groups=false.

-
version MED format version(MED_V2_1 or MED_V2_2)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExportDAT   self,

-

-
  f

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
f is the file name
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExportUNV   self,

-

-
  f

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
f is the file name
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExportSTL   self,

-

-
  f,

-

-
  ascii = 1

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
f is the file name

-
ascii defined the kind of file contents
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.CreateEmptyGroup   self,

-

-
  elementType,

-

-
  name

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
elementType is the type of elements in the group

-
name is the name of the mesh group
-
-
-
-
Returns:
-
SMESH_Group
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GroupOnGeom   self,

-

-
  grp,

-

-
  name = "", -

-

-
  type = None

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
grp is a geometric group, a vertex, an edge, a face or -a solid

-
name is the name of the mesh group
-
-
-
-
Returns:
-
SMESH_GroupOnGeom
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MakeGroupByIds   self,

-

-
  groupName,

-

-
  elementType,

-

-
  elemIDs

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
groupName is the name of the mesh group

-
elementType is the type of elements in the group

-
elemIDs is the list of ids
-
-
-
-
Returns:
-
SMESH_Group
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MakeGroup   self,

-

-
  groupName,

-

-
  elementType,

-

-
  CritType = FT_Undefined, -

-

-
  Compare = FT_EqualTo, -

-

-
  Treshold = "", -

-

-
  UnaryOp = FT_Undefined

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
groupName is the name of the mesh group

-
elementType is the type of elements in the group

-
CritType is type of criterion( FT_Taper, FT_Area, -FT_RangeOfIds, FT_LyingOnGeom etc. )

-
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}

-
Treshold is threshold value (range of id ids as string, -shape, numeric)

-
UnaryOp is FT_LogicalNOT or FT_Undefined
-
-
-
-
Returns:
-
SMESH_Group
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MakeGroupByCriterion   self,

-

-
  groupName,

-

-
  Criterion

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
groupName is the name of the mesh group

-
Criterion is the instance of Criterion class
-
-
-
-
Returns:
-
SMESH_Group
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MakeGroupByCriteria   self,

-

-
  groupName,

-

-
  theCriteria

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
groupName is the name of the mesh group

-
Criteria is the list of criterions
-
-
-
-
Returns:
-
SMESH_Group
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MakeGroupByFilter   self,

-

-
  groupName,

-

-
  theFilter

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
groupName is the name of the mesh group

-
Criterion is the instance of Filter class
-
-
-
-
Returns:
-
SMESH_Group
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetIdsFromFilter   self,

-

-
  theFilter

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
theFilter is SMESH_Filter
-
-
-
-
Returns:
-
list of ids
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetFreeBorders   self -  ) 
-
-
- - - - - - - -
  -

-
-
Returns:
-
list of SMESH.FreeEdges.Border structure: edge id and two -its nodes ids.
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RemoveGroup   self,

-

-
  group

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RemoveGroupWithContents   self,

-

-
  group

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetGroups   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetGroupNames   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.UnionGroups   self,

-

-
  group1,

-

-
  group2,

-

-
  name

-

-
-
- - - - - - - -
  -

All mesh elements that are present in initial groups are added -to the new one

-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.IntersectGroups   self,

-

-
  group1,

-

-
  group2,

-

-
  name

-

-
-
- - - - - - - -
  -

All mesh elements that are present in both initial groups are -added to the new one.

-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.CutGroups   self,

-

-
  mainGroup,

-

-
  toolGroup,

-

-
  name

-

-
-
- - - - - - - -
  -

All mesh elements that are present in main group but do not -present in tool group are added to the new one

-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetLog   self,

-

-
  clearAfterGet

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
clearAfterGet log is emptied after Get (safe if concurrents -access)
-
-
-
-
Returns:
-
list of log_block structures: commandType number coords -indexes
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.ClearLog   self -  ) 
-
-
- - - - - - - -
  -

Must be used immediately after GetLog if clearAfterGet is -false.

-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetId   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetStudyId   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.HasDuplicatedGroupNamesMED   self -  ) 
-
-
- - - - - - - -
  -

Consider maximum group name length stored in MED file.

-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetMeshEditor   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetMEDMesh   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbNodes   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbElements   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbEdges   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbEdgesOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbFaces   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbFacesOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbTriangles   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbTrianglesOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbQuadrangles   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbQuadranglesOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbPolygons   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbVolumes   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbVolumesOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbTetras   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbTetrasOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbHexas   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbHexasOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbPyramids   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbPyramidsOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbPrisms   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.NbPrismsOfOrder   self,

-

-
  elementOrder

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or -ORDER_QUADRATIC
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbPolyhedrons   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.NbSubMesh   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetElementsId   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetElementsByType   self,

-

-
  elementType

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
elementType is required type of elements
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetNodesId   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetElementType   self,

-

-
  id,

-

-
  iselem

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetSubMeshElementsId   self,

-

-
  shapeID

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
shapeID is geom object(subshape) IOR
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetSubMeshNodesId   self,

-

-
  shapeID,

-

-
  all

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
shapeID is geom object(subshape) IOR
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetSubMeshElementType   self,

-

-
  shapeID

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
shapeID is geom object(subshape) IOR
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.Dump   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetNodeXYZ   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetNodeInverseElements   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetShapeID   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetShapeIDForElem   id -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetElemNbNodes   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.GetElemNode   self,

-

-
  id,

-

-
  index

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.IsMediumNode   self,

-

-
  elementID,

-

-
  nodeID

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.IsMediumNodeOfAnyElem   self,

-

-
  nodeID,

-

-
  elementType

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ElemNbEdges   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ElemNbFaces   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.IsPoly   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.IsQuadratic   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.BaryCenter   self,

-

-
  id

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RemoveElements   self,

-

-
  IDsOfElements

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IDsOfElements is list of ids of elements to remove
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RemoveNodes   self,

-

-
  IDsOfNodes

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IDsOfNodes is list of ids of nodes to remove
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddNode   self,

-

-
  x,

-

-
  y,

-

-
  z

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddEdge   self,

-

-
  IDsOfNodes

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IdsOfNodes List of node IDs for creation of element. Needed -order of nodes in this list corresponds to description of MED.
-This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3. -
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddFace   self,

-

-
  IDsOfNodes

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IdsOfNodes List of node IDs for creation of element. Needed -order of nodes in this list corresponds to description of MED.
-This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3. -
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddPolygonalFace   self,

-

-
  IdsOfNodes

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddVolume   self,

-

-
  IDsOfNodes

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IdsOfNodes List of node IDs for creation of element. Needed -order of nodes in this list corresponds to description of MED.
-This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3. -
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddPolyhedralVolume   self,

-

-
  IdsOfNodes,

-

-
  Quantities

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
IdsOfNodes List of node IDs for volume creation face by face.

-
Quantities List of integer values, Quantities[i] gives -quantity of nodes in face number i.
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AddPolyhedralVolumeByFaces   self,

-

-
  IdsOfFaces

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IdsOfFaces List of face IDs for volume creation.
-
-
-Note: The created volume will refer only to nodes of the given faces, -not to the faces itself.
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MoveNode   self,

-

-
  NodeID,

-

-
  x,

-

-
  y,

-

-
  z

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - -

-
NodeID id of the node

-
x displacing along the X axis

-
y displacing along the Y axis

-
z displacing along the Z axis
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.InverseDiag   self,

-

-
  NodeID1,

-

-
  NodeID2

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
NodeID1 first node id

-
NodeID2 second node id
-
-
-
-
Returns:
-
false if proper faces not found
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.DeleteDiag   self,

-

-
  NodeID1,

-

-
  NodeID2

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
NodeID1 first node id

-
NodeID2 second node id
-
-
-
-
Returns:
-
false if proper faces not found
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Reorient   self,

-

-
  IDsOfElements -= None

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
IDsOfElements if undefined reorient all mesh elements
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ReorientObject   self,

-

-
  theObject

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
theObject is mesh, submesh or group
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.TriToQuad   self,

-

-
  IDsOfElements, -

-

-
  theCriterion, -

-

-
  MaxAngle

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
IDsOfElements The triangles to be fused,

-
theCriterion is FT_...; used to choose a neighbour to fuse with. -

-
MaxAngle is a max angle between element normals at which -fusion is still performed; theMaxAngle is mesured in radians.
-
-
-
-
Returns:
-
TRUE in case of success, FALSE otherwise.
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.TriToQuadObject   self,

-

-
  theObject,

-

-
  theCriterion, -

-

-
  MaxAngle

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
theObject is mesh, submesh or group

-
theCriterion is FT_...; used to choose a neighbour to fuse with. -

-
MaxAngle is a max angle between element normals at which -fusion is still performed; theMaxAngle is mesured in radians.
-
-
-
-
Returns:
-
TRUE in case of success, FALSE otherwise.
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.QuadToTri   self,

-

-
  IDsOfElements, -

-

-
  theCriterion

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
IDsOfElements the faces to be splitted.

-
theCriterion is FT_...; used to choose a diagonal for splitting. -

-
 TRUE in case of success, FALSE otherwise.
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.QuadToTriObject   self,

-

-
  theObject,

-

-
  theCriterion

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
theObject object to taking list of elements from, is mesh, -submesh or group

-
theCriterion is FT_...; used to choose a diagonal for splitting. -
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SplitQuad   self,

-

-
  IDsOfElements, -

-

-
  Diag13

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
theElems The faces to be splitted

-
the13Diag is used to choose a diagonal for splitting.
-
-
-
-
Returns:
-
TRUE in case of success, FALSE otherwise.
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SplitQuadObject   self,

-

-
  theObject,

-

-
  Diag13

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
theObject is object to taking list of elements from, is mesh, -submesh or group
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.BestSplit   self,

-

-
  IDOfQuad,

-

-
  theCriterion

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
IDOfQuad ID of the quadrangle to be splitted.

-
theCriterion is FT_...; a criterion to choose a diagonal for -splitting.
-
-
-
-
Returns:
-
1 if 1-3 diagonal is better, 2 if 2-4 diagonal is better, 0 -if error occurs.
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Smooth   self,

-

-
  IDsOfElements, -

-

-
  IDsOfFixedNodes, -

-

-
  MaxNbOfIterations, -

-

-
  MaxAspectRatio, -

-

-
  Method

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements list if ids of elements to smooth

-
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built -on edges and boundary nodes are always fixed.

-
MaxNbOfIterations maximum number of iterations

-
MaxAspectRatio varies in range [1.0, inf]

-
Method is Laplacian(LAPLACIAN_SMOOTH) or -Centroidal(CENTROIDAL_SMOOTH)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SmoothObject   self,

-

-
  theObject,

-

-
  IDsOfFixedNodes, -

-

-
  MaxNbOfIterations, -

-

-
  MaxxAspectRatio, -

-

-
  Method

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
theObject object to smooth

-
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built -on edges and boundary nodes are always fixed.

-
MaxNbOfIterations maximum number of iterations

-
MaxAspectRatio varies in range [1.0, inf]

-
Method is Laplacian(LAPLACIAN_SMOOTH) or -Centroidal(CENTROIDAL_SMOOTH)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SmoothParametric   IDsOfElements, -

-

-
  IDsOfFixedNodes, -

-

-
  MaxNbOfIterations, -

-

-
  MaxAspectRatio, -

-

-
  Method

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements list if ids of elements to smooth

-
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built -on edges and boundary nodes are always fixed.

-
MaxNbOfIterations maximum number of iterations

-
MaxAspectRatio varies in range [1.0, inf]

-
Method is Laplacian(LAPLACIAN_SMOOTH) or -Centroidal(CENTROIDAL_SMOOTH)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SmoothParametricObject   self,

-

-
  theObject,

-

-
  IDsOfFixedNodes, -

-

-
  MaxNbOfIterations, -

-

-
  MaxAspectRatio, -

-

-
  Method

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
theObject object to smooth

-
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built -on edges and boundary nodes are always fixed.

-
MaxNbOfIterations maximum number of iterations

-
MaxAspectRatio varies in range [1.0, inf]

-
Method is Laplacian(LAPLACIAN_SMOOTH) or -Centroidal(CENTROIDAL_SMOOTH)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ConvertToQuadratic   self,

-

-
  theForce3d

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.ConvertFromQuadratic   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.RenumberNodes   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.RenumberElements   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RotationSweep   self,

-

-
  IDsOfElements, -

-

-
  Axix,

-

-
  AngleInRadians, -

-

-
  NbOfSteps,

-

-
  Tolerance

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements list of ids of elements to sweep

-
Axix axis of rotation, AxisStruct or line(geom object)

-
AngleInRadians angle of Rotation

-
NbOfSteps number of steps

-
Tolerance tolerance
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RotationSweepObject   self,

-

-
  theObject,

-

-
  Axix,

-

-
  AngleInRadians, -

-

-
  NbOfSteps,

-

-
  Tolerance

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
theObject object wich elements should be sweeped

-
Axix axis of rotation, AxisStruct or line(geom object)

-
AngleInRadians angle of Rotation

-
NbOfSteps number of steps

-
Tolerance tolerance
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExtrusionSweep   self,

-

-
  IDsOfElements, -

-

-
  StepVector,

-

-
  NbOfSteps

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
IDsOfElements list of elements ids for extrusion

-
StepVector vector, defining the direction and value of -extrusion

-
NbOfSteps the number of steps
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.AdvancedExtrusion   self,

-

-
  IDsOfElements, -

-

-
  StepVector,

-

-
  NbOfSteps,

-

-
  ExtrFlags,

-

-
  SewTolerance

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements is ids of elements

-
StepVector vector, defining the direction and value of -extrusion

-
NbOfSteps the number of steps

-
ExtrFlags set flags for performing extrusion

-
SewTolerance uses for comparing locations of nodes if flag -EXTRUSION_FLAG_SEW is set
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExtrusionSweepObject   self,

-

-
  theObject,

-

-
  StepVector,

-

-
  NbOfSteps

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
theObject object wich elements should be processed

-
StepVector vector, defining the direction and value of -extrusion

-
NbOfSteps the number of steps
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExtrusionSweepObject1D   self,

-

-
  theObject,

-

-
  StepVector,

-

-
  NbOfSteps

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
theObject object wich elements should be processed

-
StepVector vector, defining the direction and value of -extrusion

-
NbOfSteps the number of steps
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExtrusionSweepObject2D   self,

-

-
  theObject,

-

-
  StepVector,

-

-
  NbOfSteps

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
theObject object wich elements should be processed

-
StepVector vector, defining the direction and value of -extrusion

-
NbOfSteps the number of steps
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExtrusionAlongPath   self,

-

-
  IDsOfElements, -

-

-
  PathMesh,

-

-
  PathShape,

-

-
  NodeStart,

-

-
  HasAngles,

-

-
  Angles,

-

-
  HasRefPoint,

-

-
  RefPoint

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements is ids of elements

-
PathMesh mesh containing a 1D sub-mesh on the edge, along -which proceeds the extrusion

-
PathShape is shape(edge); as the mesh can be complex, the -edge is used to define the sub-mesh for the path

-
NodeStart the first or the last node on the edge. It is used -to define the direction of extrusion

-
HasAngles allows the shape to be rotated around the path to -get the resulting mesh in a helical fashion

-
Angles list of angles

-
HasRefPoint allows to use base point

-
RefPoint point around which the shape is rotated(the mass -center of the shape by default). User can specify any point as the Base -Point and the shape will be rotated with respect to this point.
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ExtrusionAlongPathObject   self,

-

-
  theObject,

-

-
  PathMesh,

-

-
  PathShape,

-

-
  NodeStart,

-

-
  HasAngles,

-

-
  Angles,

-

-
  HasRefPoint,

-

-
  RefPoint

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements is ids of elements

-
PathMesh mesh containing a 1D sub-mesh on the edge, along -which proceeds the extrusion

-
PathShape is shape(edge); as the mesh can be complex, the -edge is used to define the sub-mesh for the path

-
NodeStart the first or the last node on the edge. It is used -to define the direction of extrusion

-
HasAngles allows the shape to be rotated around the path to -get the resulting mesh in a helical fashion

-
Angles list of angles

-
HasRefPoint allows to use base point

-
RefPoint point around which the shape is rotated(the mass -center of the shape by default). User can specify any point as the Base -Point and the shape will be rotated with respect to this point.
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Mirror   self,

-

-
  IDsOfElements, -

-

-
  Mirror,

-

-
  theMirrorType, -

-

-
  Copy = 0

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements list of elements ids

-
Mirror is AxisStruct or geom object(point, line, plane)

-
theMirrorType is POINT, AXIS or PLANE If the Mirror is geom -object this parameter is unnecessary

-
Copy allows to copy element(Copy is 1) or to replace -with its mirroring(Copy is 0)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MirrorObject   self,

-

-
  theObject,

-

-
  Mirror,

-

-
  theMirrorType, -

-

-
  Copy = 0

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - -

-
theObject mesh, submesh or group

-
Mirror is AxisStruct or geom object(point, line, plane)

-
theMirrorType is POINT, AXIS or PLANE If the Mirror is geom -object this parameter is unnecessary

-
Copy allows to copy element(Copy is 1) or to replace -with its mirroring(Copy is 0)
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Translate   self,

-

-
  IDsOfElements, -

-

-
  Vector,

-

-
  Copy

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
IDsOfElements list of elements ids

-
Vector direction of translation(DirStruct or vector)

-
Copy allows to copy the translated elements
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.TranslateObject   self,

-

-
  theObject,

-

-
  Vector,

-

-
  Copy

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - -

-
theObject object to translate(mesh, submesh, or group)

-
Vector direction of translation(DirStruct or geom vector)

-
Copy allows to copy the translated elements
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.Rotate   self,

-

-
  IDsOfElements, -

-

-
  Axis,

-

-
  AngleInRadians, -

-

-
  Copy

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - -

-
IDsOfElements list of elements ids

-
Axis axis of rotation(AxisStruct or geom line)

-
AngleInRadians angle of rotation(in radians)

-
Copy allows to copy the rotated elements
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.RotateObject   self,

-

-
  theObject,

-

-
  Axis,

-

-
  AngleInRadians, -

-

-
  Copy

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - -

-
theObject object to rotate(mesh, submesh, or group)

-
Axis axis of rotation(AxisStruct or geom line)

-
AngleInRadians angle of rotation(in radians)

-
Copy allows to copy the rotated elements
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.FindCoincidentNodes   self,

-

-
  Tolerance

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
Tolerance tolerance value

-
list of group of nodes
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.MergeNodes   self,

-

-
  GroupsOfNodes

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
list of group of nodes
-
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.MergeEqualElements   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SewFreeBorders   self,

-

-
  FirstNodeID1, -

-

-
  SecondNodeID1, -

-

-
  LastNodeID1,

-

-
  FirstNodeID2, -

-

-
  SecondNodeID2, -

-

-
  LastNodeID2,

-

-
  CreatePolygons, -

-

-
  CreatePolyedrs

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SewConformFreeBorders   self,

-

-
  FirstNodeID1, -

-

-
  SecondNodeID1, -

-

-
  LastNodeID1,

-

-
  FirstNodeID2, -

-

-
  SecondNodeID2

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SewBorderToSide   self,

-

-
  FirstNodeIDOnFreeBorder, -

-

-
  SecondNodeIDOnFreeBorder, -

-

-
  LastNodeIDOnFreeBorder, -

-

-
  FirstNodeIDOnSide, -

-

-
  LastNodeIDOnSide, -

-

-
  CreatePolygons, -

-

-
  CreatePolyedrs

-

-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.SewSideElements   self,

-

-
  IDsOfSide1Elements, -

-

-
  IDsOfSide2Elements, -

-

-
  NodeID1OfSide1ToMerge, -

-

-
  NodeID1OfSide2ToMerge, -

-

-
  NodeID2OfSide1ToMerge, -

-

-
  NodeID2OfSide2ToMerge

-

-
-
- - - - - - - -
  -

Nodes belonging to Side1 are merged with nodes of elements of -Side2. Number of elements in theSide1 and in theSide2 must be equal and -they should have similar node connectivity. The nodes to merge should -belong to sides borders and the first node should be linked to the -second.

-
-

-

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh.ChangeElemNodes   self,

-

-
  ide,

-

-
  newIDs

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
ide the element id

-
newIDs nodes ids
-
-
-
-
Returns:
-
If number of nodes is not corresponded to type of element - -returns false
-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetLastCreatedNodes   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh.GetLastCreatedElems   self -  ) 
-
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- -

- - - - - - -
- - - - - - -
int smesh.Mesh.geom -= 0 [static]
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - -
int smesh.Mesh.mesh -= 0 [static]
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - -
int smesh.Mesh.editor -= 0 [static]
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - -
smesh.Mesh.geom -
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - -
smesh.Mesh.mesh -
-
- - - - - - - -
  -

-
-
-

-

- - - - - - -
- - - - - - -
smesh.Mesh.editor -
-
- - - - - - - -
  -

-
-
-

- +  + + +

smesh.Mesh Class Reference

Class to define a mesh. +More... +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Constructor.
def SetMesh
 Method that inits the Mesh object from SMESH_Mesh interface.
def GetMesh
 Method that returns the mesh.
def GetName
 Get mesh name.
def SetName
 Set name to mesh.
def GetSubMesh
 Get the subMesh object associated to a subShape.
def GetShape
 Method that returns the shape associated to the mesh.
def SetShape
 Method that associates given shape to the mesh(entails the mesh recreation).
def IsReadyToCompute
 Return true if hypotheses are defined well.
def GetAlgoState
 Return errors of hypotheses definintion error list is empty if everything is OK.
def GetGeometryByMeshElement
 Return geometrical object the given element is built on.
def MeshDimension
 Returns mesh dimension depending on shape one.
def Segment
 Creates a segment discretization 1D algorithm.
def Triangle
 Creates a triangle 2D algorithm for faces.
def Quadrangle
 Creates a quadrangle 2D algorithm for faces.
def Tetrahedron
 Creates a tetrahedron 3D algorithm for solids.
def Hexahedron
 Creates a hexahedron 3D algorithm for solids.
def Netgen
 Deprecated, only for compatibility!
def Projection1D
 Creates a projection 1D algorithm for edges.
def Projection2D
 Creates a projection 2D algorithm for faces.
def Projection3D
 Creates a projection 3D algorithm for solids.
def Prism
 Creates a 3D extrusion (Prism 3D) or RadialPrism 3D algorithm for solids.
def Compute
 Compute the mesh and return the status of the computation.
def AutomaticTetrahedralization
 Compute tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN The parameter fineness [0,-1] defines mesh fineness.
def AutomaticHexahedralization
 Compute hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron The parameter fineness [0,-1] defines mesh fineness.
def AddHypothesis
 Assign hypothesis.
def GetHypothesisList
 Get the list of hypothesis added on a geom.
def RemoveGlobalHypotheses
 Removes all global hypotheses.
def Group
 Create a mesh group based on geometric object grp and give a name,
+ if this parameter is not defined the name is the same as the geometric group name
+ Note: Works like GroupOnGeom().
def ExportToMED
 Deprecated, only for compatibility! Please, use ExportMED() method instead.
def ExportMED
 Export the mesh in a file with the MED format.
def ExportDAT
 Export the mesh in a file with the DAT format.
def ExportUNV
 Export the mesh in a file with the UNV format.
def ExportSTL
 Export the mesh in a file with the STL format.
def CreateEmptyGroup
 Creates an empty mesh group.
def GroupOnGeom
 Creates a mesh group based on geometric object grp and give a name,
+ if this parameter is not defined the name is the same as the geometric group name.
def MakeGroupByIds
 Create a mesh group by the given ids of elements.
def MakeGroup
 Create a mesh group by the given conditions.
def MakeGroupByCriterion
 Create a mesh group by the given criterion.
def MakeGroupByCriteria
 Create a mesh group by the given criteria(list of criterions).
def MakeGroupByFilter
 Create a mesh group by the given filter.
def GetIdsFromFilter
 Pass mesh elements through the given filter and return ids.
def GetFreeBorders
 Verify whether 2D mesh element has free edges(edges connected to one face only)
+ Returns list of special structures(borders).
def RemoveGroup
 Remove a group.
def RemoveGroupWithContents
 Remove group with its contents.
def GetGroups
 Get the list of groups existing in the mesh.
def GetGroupNames
 Get the list of names of groups existing in the mesh.
def UnionGroups
 Union of two groups New group is created.
def IntersectGroups
 Intersection of two groups New group is created.
def CutGroups
 Cut of two groups New group is created.
def GetLog
 Get the log of nodes and elements added or removed since previous clear of the log.
def ClearLog
 Clear the log of nodes and elements added or removed since previous clear.
def GetId
 Get the internal Id.
def GetStudyId
 Get the study Id.
def HasDuplicatedGroupNamesMED
 Check group names for duplications.
def GetMeshEditor
 Obtain instance of SMESH_MeshEditor.
def GetMEDMesh
 Get MED Mesh.
def NbNodes
 Returns number of nodes in mesh.
def NbElements
 Returns number of elements in mesh.
def NbEdges
 Returns number of edges in mesh.
def NbEdgesOfOrder
 Returns number of edges with given order in mesh.
def NbFaces
 Returns number of faces in mesh.
def NbFacesOfOrder
 Returns number of faces with given order in mesh.
def NbTriangles
 Returns number of triangles in mesh.
def NbTrianglesOfOrder
 Returns number of triangles with given order in mesh.
def NbQuadrangles
 Returns number of quadrangles in mesh.
def NbQuadranglesOfOrder
 Returns number of quadrangles with given order in mesh.
def NbPolygons
 Returns number of polygons in mesh.
def NbVolumes
 Returns number of volumes in mesh.
def NbVolumesOfOrder
 Returns number of volumes with given order in mesh.
def NbTetras
 Returns number of tetrahedrons in mesh.
def NbTetrasOfOrder
 Returns number of tetrahedrons with given order in mesh.
def NbHexas
 Returns number of hexahedrons in mesh.
def NbHexasOfOrder
 Returns number of hexahedrons with given order in mesh.
def NbPyramids
 Returns number of pyramids in mesh.
def NbPyramidsOfOrder
 Returns number of pyramids with given order in mesh.
def NbPrisms
 Returns number of prisms in mesh.
def NbPrismsOfOrder
 Returns number of prisms with given order in mesh.
def NbPolyhedrons
 Returns number of polyhedrons in mesh.
def NbSubMesh
 Returns number of submeshes in mesh.
def GetElementsId
 Returns list of mesh elements ids.
def GetElementsByType
 Returns list of ids of mesh elements with given type.
def GetNodesId
 Returns list of mesh nodes ids.
def GetElementType
 Returns type of mesh element.
def GetSubMeshElementsId
 Returns list of submesh elements ids.
def GetSubMeshNodesId
 Returns list of submesh nodes ids.
def GetSubMeshElementType
 Returns list of ids of submesh elements with given type.
def Dump
 Get mesh description.
def GetNodeXYZ
 Get XYZ coordinates of node as list of double
+ If there is not node for given ID - returns empty list.
def GetNodeInverseElements
 For given node returns list of IDs of inverse elements
+ If there is not node for given ID - returns empty list.
def GetShapeID
 If given element is node returns IDs of shape from position
+ If there is not node for given ID - returns -1.
def GetShapeIDForElem
 For given element returns ID of result shape after FindShape() from SMESH_MeshEditor
+ If there is not element for given ID - returns -1.
def GetElemNbNodes
 Returns number of nodes for given element
+ If there is not element for given ID - returns -1.
def GetElemNode
 Returns ID of node by given index for given element
+ If there is not element for given ID - returns -1
+ If there is not node for given index - returns -2.
def IsMediumNode
 Returns true if given node is medium node in given quadratic element.
def IsMediumNodeOfAnyElem
 Returns true if given node is medium node in one of quadratic elements.
def ElemNbEdges
 Returns number of edges for given element.
def ElemNbFaces
 Returns number of faces for given element.
def IsPoly
 Returns true if given element is polygon.
def IsQuadratic
 Returns true if given element is quadratic.
def BaryCenter
 Returns XYZ coordinates of bary center for given element as list of double
+ If there is not element for given ID - returns empty list.
def RemoveElements
 Removes elements from mesh by ids.
def RemoveNodes
 Removes nodes from mesh by ids.
def AddNode
 Add node to mesh by coordinates.
def AddEdge
 Create edge both similar and quadratic (this is determed by number of given nodes).
def AddFace
 Create face both similar and quadratic (this is determed by number of given nodes).
def AddPolygonalFace
 Add polygonal face to mesh by list of nodes ids.
def AddVolume
 Create volume both similar and quadratic (this is determed by number of given nodes).
def AddPolyhedralVolume
 Create volume of many faces, giving nodes for each face.
def AddPolyhedralVolumeByFaces
 Create volume of many faces, giving IDs of existing faces.
def MoveNode
 Move node with given id.
def FindNodeClosestTo
 Find a node closest to a point.
def MeshToPassThroughAPoint
 Find a node closest to a point and move it to a point location.
def InverseDiag
 Replace two neighbour triangles sharing Node1-Node2 link with ones built on the same 4 nodes but having other common link.
def DeleteDiag
 Replace two neighbour triangles sharing Node1-Node2 link with a quadrangle built on the same 4 nodes.
def Reorient
 Reorient elements by ids.
def ReorientObject
 Reorient all elements of the object.
def TriToQuad
 Fuse neighbour triangles into quadrangles.
def TriToQuadObject
 Fuse neighbour triangles of the object into quadrangles.
def QuadToTri
 Split quadrangles into triangles.
def QuadToTriObject
 Split quadrangles into triangles.
def SplitQuad
 Split quadrangles into triangles.
def SplitQuadObject
 Split quadrangles into triangles.
def BestSplit
 Find better splitting of the given quadrangle.
def SplitQuadsNearTriangularFacets
 Split quafrangle faces near triangular facets of volumes.
def SplitHexaToTetras
 Split hexahedrons into tetrahedrons.
def SplitHexaToPrisms
 Split hexahedrons into prisms.
def Smooth
 Smooth elements.
def SmoothObject
 Smooth elements belong to given object.
def SmoothParametric
 Parametric smooth the given elements.
def SmoothParametricObject
 Parametric smooth elements belong to given object.
def ConvertToQuadratic
 Converts all mesh to quadratic one, deletes old elements, replacing them with quadratic ones with the same id.
def ConvertFromQuadratic
 Converts all mesh from quadratic to ordinary ones, deletes old quadratic elements,
+ replacing them with ordinary mesh elements with the same id.
def RenumberNodes
 Renumber mesh nodes.
def RenumberElements
 Renumber mesh elements.
def RotationSweep
 Generate new elements by rotation of the elements around the axis.
def RotationSweepObject
 Generate new elements by rotation of the elements of object around the axis.
def ExtrusionSweep
 Generate new elements by extrusion of the elements with given ids.
def AdvancedExtrusion
 Generate new elements by extrusion of the elements with given ids.
def ExtrusionSweepObject
 Generate new elements by extrusion of the elements belong to object.
def ExtrusionSweepObject1D
 Generate new elements by extrusion of the elements belong to object.
def ExtrusionSweepObject2D
 Generate new elements by extrusion of the elements belong to object.
def ExtrusionAlongPath
 Generate new elements by extrusion of the given elements A path of extrusion must be a meshed edge.
def ExtrusionAlongPathObject
 Generate new elements by extrusion of the elements belong to object A path of extrusion must be a meshed edge.
def Mirror
 Symmetrical copy of mesh elements.
def MirrorObject
 Symmetrical copy of object.
def Translate
 Translates the elements.
def TranslateObject
 Translates the object.
def Rotate
 Rotates the elements.
def RotateObject
 Rotates the object.
def FindCoincidentNodes
 Find group of nodes close to each other within Tolerance.
def FindCoincidentNodesOnPart
 Find group of nodes close to each other within Tolerance.
def MergeNodes
 Merge nodes.
def FindEqualElements
 Find elements built on the same nodes.
def MergeElements
 Merge elements in each given group.
def MergeEqualElements
 Remove all but one of elements built on the same nodes.
def SewFreeBorders
 Sew free borders.
def SewConformFreeBorders
 Sew conform free borders.
def SewBorderToSide
 Sew border to side.
def SewSideElements
 Sew two sides of a mesh.
def ChangeElemNodes
 Set new nodes for given element.
def GetLastCreatedNodes
 If during last operation of MeshEditor some nodes were created this method returns list of it's IDs,
+ if new nodes not created - returns empty list.
def GetLastCreatedElems
 If during last operation of MeshEditor some elements were created this method returns list of it's IDs,
+ if new elements not creared - returns empty list.

Data Fields

 geom
 mesh
 editor

Static Public Attributes

int geom = 0
int mesh = 0
int editor = 0
+


Detailed Description

+The class contains mesh shape, SMESH_Mesh, SMESH_MeshEditor More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.__init__   self,
  obj = 0,
  name = 0
+
+ + + + + +
+   + + +

+Creates mesh on the shape geom(or the empty mesh if geom equal to 0), sets GUI name of this mesh to name.

Parameters:
+ + + +
obj Shape to be meshed or SMESH_Mesh object
name Study name of the mesh
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SetMesh   self,
  theMesh
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
theMesh is SMESH_Mesh object
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetMesh   self  ) 
+
+ + + + + +
+   + + +

+

Returns:
SMESH_Mesh object
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetName   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SetName   self,
  name
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetSubMesh   self,
  theSubObject,
  name
+
+ + + + + +
+   + + +

+The subMesh object gives access to nodes and elements IDs.
+ SubMesh will be used instead of SubShape in a next idl version to adress a specific subMesh...

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetShape   self  ) 
+
+ + + + + +
+   + + +

+

Returns:
GEOM_Object
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SetShape   self,
  geom
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
geom shape to be meshed(GEOM_Object)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.IsReadyToCompute   self,
  theSubObject
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
theMesh is an instance of Mesh class
theSubObject subshape of a mesh shape
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetAlgoState   self,
  theSubObject
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
theMesh is an instance of Mesh class
theSubObject subshape of a mesh shape
+
+
Returns:
a list of errors
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetGeometryByMeshElement   self,
  theElementID,
  theGeomName
+
+ + + + + +
+   + + +

+The returned geometrical object, if not nil, is either found in the study or is published by this method with the given name

Parameters:
+ + + + +
theMesh is an instance of Mesh class
theElementID an id of the mesh element
theGeomName user defined name of geometrical object
+
+
Returns:
GEOM.GEOM_Object instance
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.MeshDimension   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Segment   self,
  algo = REGULAR,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional algo parameter is not sets, this algorithm is REGULAR. If the optional geom parameter is not sets, this algorithm is global.
+ Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + + +
algo values are smesh.REGULAR or smesh.PYTHON for discretization via python function
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Triangle   self,
  algo = MEFISTO,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global.
+ Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + + +
algo values are: smesh.MEFISTO or smesh.NETGEN
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Quadrangle   self,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global.
+ Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + +
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Tetrahedron   self,
  algo = NETGEN,
  geom = 0
+
+ + + + + +
+   + + +

+The parameter algo permits to choice the algorithm: NETGEN or GHS3D If the optional geom parameter is not sets, this algorithm is global.
+ Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + + +
algo values are: smesh.NETGEN, smesh.GHS3D, smesh.FULL_NETGEN
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Hexahedron   self,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global.
+ Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + +
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Netgen   self,
  is3D,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Projection1D   self,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + +
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Projection2D   self,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + +
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Projection3D   self,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + +
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Prism   self,
  geom = 0
+
+ + + + + +
+   + + +

+If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
+ + +
geom If defined, subshape to be meshed
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Compute   self,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AutomaticTetrahedralization   self,
  fineness = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AutomaticHexahedralization   self,
  fineness = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddHypothesis   self,
  hyp,
  geom = 0
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
hyp is a hypothesis to assign
geom is subhape of mesh geometry
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetHypothesisList   self,
  geom
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
geom is subhape of mesh geometry
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.RemoveGlobalHypotheses   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Group   self,
  grp,
  name = ""
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
grp is a geometric group, a vertex, an edge, a face or a solid
name is the name of the mesh group
+
+
Returns:
SMESH_GroupOnGeom
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExportToMED   self,
  f,
  version,
  opt = 0
+
+ + + + + +
+   + + +

+Export the mesh in a file with the MED format and choice the version of MED format

Parameters:
+ + + +
f is the file name
version values are SMESH.MED_V2_1, SMESH.MED_V2_2
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExportMED   self,
  f,
  auto_groups = 0,
  version = MED_V2_2
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
f is the file name
auto_groups boolean parameter for creating/not creating the groups Group_On_All_Nodes, Group_On_All_Faces, ... ; the typical use is auto_groups=false.
version MED format version(MED_V2_1 or MED_V2_2)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExportDAT   self,
  f
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
f is the file name
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExportUNV   self,
  f
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
f is the file name
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExportSTL   self,
  f,
  ascii = 1
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
f is the file name
ascii defined the kind of file contents
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.CreateEmptyGroup   self,
  elementType,
  name
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
elementType is the type of elements in the group
name is the name of the mesh group
+
+
Returns:
SMESH_Group
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GroupOnGeom   self,
  grp,
  name = "",
  type = None
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
grp is a geometric group, a vertex, an edge, a face or a solid
name is the name of the mesh group
+
+
Returns:
SMESH_GroupOnGeom
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MakeGroupByIds   self,
  groupName,
  elementType,
  elemIDs
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
groupName is the name of the mesh group
elementType is the type of elements in the group
elemIDs is the list of ids
+
+
Returns:
SMESH_Group
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MakeGroup   self,
  groupName,
  elementType,
  CritType = FT_Undefined,
  Compare = FT_EqualTo,
  Treshold = "",
  UnaryOp = FT_Undefined
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + + +
groupName is the name of the mesh group
elementType is the type of elements in the group
CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. )
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}
Treshold is threshold value (range of id ids as string, shape, numeric)
UnaryOp is FT_LogicalNOT or FT_Undefined
+
+
Returns:
SMESH_Group
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MakeGroupByCriterion   self,
  groupName,
  Criterion
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
groupName is the name of the mesh group
Criterion is the instance of Criterion class
+
+
Returns:
SMESH_Group
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MakeGroupByCriteria   self,
  groupName,
  theCriteria
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
groupName is the name of the mesh group
Criteria is the list of criterions
+
+
Returns:
SMESH_Group
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MakeGroupByFilter   self,
  groupName,
  theFilter
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
groupName is the name of the mesh group
Criterion is the instance of Filter class
+
+
Returns:
SMESH_Group
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetIdsFromFilter   self,
  theFilter
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
theFilter is SMESH_Filter
+
+
Returns:
list of ids
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetFreeBorders   self  ) 
+
+ + + + + +
+   + + +

+

Returns:
list of SMESH.FreeEdges.Border structure: edge id and two its nodes ids.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RemoveGroup   self,
  group
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RemoveGroupWithContents   self,
  group
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetGroups   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetGroupNames   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.UnionGroups   self,
  group1,
  group2,
  name
+
+ + + + + +
+   + + +

+All mesh elements that are present in initial groups are added to the new one

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.IntersectGroups   self,
  group1,
  group2,
  name
+
+ + + + + +
+   + + +

+All mesh elements that are present in both initial groups are added to the new one.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.CutGroups   self,
  mainGroup,
  toolGroup,
  name
+
+ + + + + +
+   + + +

+All mesh elements that are present in main group but do not present in tool group are added to the new one

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetLog   self,
  clearAfterGet
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
clearAfterGet log is emptied after Get (safe if concurrents access)
+
+
Returns:
list of log_block structures: commandType number coords indexes
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.ClearLog   self  ) 
+
+ + + + + +
+   + + +

+Must be used immediately after GetLog if clearAfterGet is false.

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetId   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetStudyId   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.HasDuplicatedGroupNamesMED   self  ) 
+
+ + + + + +
+   + + +

+Consider maximum group name length stored in MED file.

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetMeshEditor   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetMEDMesh   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbNodes   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbElements   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbEdges   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbEdgesOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbFaces   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbFacesOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbTriangles   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbTrianglesOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbQuadrangles   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbQuadranglesOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbPolygons   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbVolumes   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbVolumesOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbTetras   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbTetrasOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbHexas   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbHexasOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbPyramids   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbPyramidsOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbPrisms   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.NbPrismsOfOrder   self,
  elementOrder
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbPolyhedrons   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.NbSubMesh   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetElementsId   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetElementsByType   self,
  elementType
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
elementType is required type of elements
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetNodesId   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetElementType   self,
  id,
  iselem
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetSubMeshElementsId   self,
  shapeID
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
shapeID is geom object(subshape) IOR
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetSubMeshNodesId   self,
  shapeID,
  all
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
shapeID is geom object(subshape) IOR
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetSubMeshElementType   self,
  shapeID
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
shapeID is geom object(subshape) IOR
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.Dump   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetNodeXYZ   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetNodeInverseElements   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetShapeID   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetShapeIDForElem   id  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetElemNbNodes   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.GetElemNode   self,
  id,
  index
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.IsMediumNode   self,
  elementID,
  nodeID
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.IsMediumNodeOfAnyElem   self,
  nodeID,
  elementType
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ElemNbEdges   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ElemNbFaces   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.IsPoly   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.IsQuadratic   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.BaryCenter   self,
  id
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RemoveElements   self,
  IDsOfElements
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IDsOfElements is list of ids of elements to remove
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RemoveNodes   self,
  IDsOfNodes
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IDsOfNodes is list of ids of nodes to remove
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddNode   self,
  x,
  y,
  z
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddEdge   self,
  IDsOfNodes
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IdsOfNodes List of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED.
+ This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddFace   self,
  IDsOfNodes
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IdsOfNodes List of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED.
+ This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddPolygonalFace   self,
  IdsOfNodes
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddVolume   self,
  IDsOfNodes
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IdsOfNodes List of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED.
+ This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddPolyhedralVolume   self,
  IdsOfNodes,
  Quantities
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
IdsOfNodes List of node IDs for volume creation face by face.
Quantities List of integer values, Quantities[i] gives quantity of nodes in face number i.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AddPolyhedralVolumeByFaces   self,
  IdsOfFaces
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IdsOfFaces List of face IDs for volume creation.
+
+Note: The created volume will refer only to nodes of the given faces, not to the faces itself.
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MoveNode   self,
  NodeID,
  x,
  y,
  z
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + +
NodeID id of the node
x new X coordinate
y new Y coordinate
z new Z coordinate
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.FindNodeClosestTo   self,
  x,
  y,
  z
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
x X coordinate of a point
y Y coordinate of a point
z Z coordinate of a point
+
+
Returns:
id of a node
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MeshToPassThroughAPoint   self,
  x,
  y,
  z
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
x X coordinate of a point
y Y coordinate of a point
z Z coordinate of a point
+
+
Returns:
id of a moved node
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.InverseDiag   self,
  NodeID1,
  NodeID2
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
NodeID1 first node id
NodeID2 second node id
+
+
Returns:
false if proper faces not found
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.DeleteDiag   self,
  NodeID1,
  NodeID2
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
NodeID1 first node id
NodeID2 second node id
+
+
Returns:
false if proper faces not found
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Reorient   self,
  IDsOfElements = None
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
IDsOfElements if undefined reorient all mesh elements
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ReorientObject   self,
  theObject
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
theObject is mesh, submesh or group
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.TriToQuad   self,
  IDsOfElements,
  theCriterion,
  MaxAngle
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
IDsOfElements The triangles to be fused,
theCriterion is FT_...; used to choose a neighbour to fuse with.
MaxAngle is a max angle between element normals at which fusion is still performed; theMaxAngle is mesured in radians.
+
+
Returns:
TRUE in case of success, FALSE otherwise.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.TriToQuadObject   self,
  theObject,
  theCriterion,
  MaxAngle
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
theObject is mesh, submesh or group
theCriterion is FT_...; used to choose a neighbour to fuse with.
MaxAngle is a max angle between element normals at which fusion is still performed; theMaxAngle is mesured in radians.
+
+
Returns:
TRUE in case of success, FALSE otherwise.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.QuadToTri   self,
  IDsOfElements,
  theCriterion
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
IDsOfElements the faces to be splitted.
theCriterion is FT_...; used to choose a diagonal for splitting.
 TRUE in case of success, FALSE otherwise.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.QuadToTriObject   self,
  theObject,
  theCriterion
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
theObject object to taking list of elements from, is mesh, submesh or group
theCriterion is FT_...; used to choose a diagonal for splitting.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SplitQuad   self,
  IDsOfElements,
  Diag13
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
theElems The faces to be splitted
the13Diag is used to choose a diagonal for splitting.
+
+
Returns:
TRUE in case of success, FALSE otherwise.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SplitQuadObject   self,
  theObject,
  Diag13
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
theObject is object to taking list of elements from, is mesh, submesh or group
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.BestSplit   self,
  IDOfQuad,
  theCriterion
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
IDOfQuad ID of the quadrangle to be splitted.
theCriterion is FT_...; a criterion to choose a diagonal for splitting.
+
+
Returns:
1 if 1-3 diagonal is better, 2 if 2-4 diagonal is better, 0 if error occurs.
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.SplitQuadsNearTriangularFacets   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SplitHexaToTetras   self,
  theObject,
  theNode000,
  theNode001
+
+ + + + + +
+   + + +

+Use pattern mapping functionality for splitting.

Parameters:
+ + + + +
theObject object to take list of hexahedrons from; is mesh, submesh or group.
theNode000,theNode001 is in range [0,7]; give an orientation of the pattern relatively each hexahedron: the (0,0,0) key-point of pattern will be mapped into <theNode000>-th node of each volume, the (0,0,1) key-point will be mapped into <theNode001>-th node of each volume. The (0,0,0) key-point of used pattern corresponds to not split corner.
 TRUE in case of success, FALSE otherwise.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SplitHexaToPrisms   self,
  theObject,
  theNode000,
  theNode001
+
+ + + + + +
+   + + +

+Use pattern mapping functionality for splitting.

Parameters:
+ + + + +
theObject object to take list of hexahedrons from; is mesh, submesh or group.
theNode000,theNode001 is in range [0,7]; give an orientation of the pattern relatively each hexahedron: the (0,0,0) key-point of pattern will be mapped into <theNode000>-th node of each volume, the (0,0,1) key-point will be mapped into <theNode001>-th node of each volume. The edge (0,0,0)-(0,0,1) of used pattern connects two not split corners.
 TRUE in case of success, FALSE otherwise.
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Smooth   self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
IDsOfElements list if ids of elements to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SmoothObject   self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxxAspectRatio,
  Method
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
theObject object to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SmoothParametric   IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
IDsOfElements list if ids of elements to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SmoothParametricObject   self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
theObject object to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ConvertToQuadratic   self,
  theForce3d
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.ConvertFromQuadratic   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.RenumberNodes   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.RenumberElements   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RotationSweep   self,
  IDsOfElements,
  Axix,
  AngleInRadians,
  NbOfSteps,
  Tolerance
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
IDsOfElements list of ids of elements to sweep
Axix axis of rotation, AxisStruct or line(geom object)
AngleInRadians angle of Rotation
NbOfSteps number of steps
Tolerance tolerance
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RotationSweepObject   self,
  theObject,
  Axix,
  AngleInRadians,
  NbOfSteps,
  Tolerance
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
theObject object wich elements should be sweeped
Axix axis of rotation, AxisStruct or line(geom object)
AngleInRadians angle of Rotation
NbOfSteps number of steps
Tolerance tolerance
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExtrusionSweep   self,
  IDsOfElements,
  StepVector,
  NbOfSteps
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
IDsOfElements list of elements ids for extrusion
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.AdvancedExtrusion   self,
  IDsOfElements,
  StepVector,
  NbOfSteps,
  ExtrFlags,
  SewTolerance
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + +
IDsOfElements is ids of elements
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
ExtrFlags set flags for performing extrusion
SewTolerance uses for comparing locations of nodes if flag EXTRUSION_FLAG_SEW is set
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExtrusionSweepObject   self,
  theObject,
  StepVector,
  NbOfSteps
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
theObject object wich elements should be processed
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExtrusionSweepObject1D   self,
  theObject,
  StepVector,
  NbOfSteps
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
theObject object wich elements should be processed
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExtrusionSweepObject2D   self,
  theObject,
  StepVector,
  NbOfSteps
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
theObject object wich elements should be processed
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExtrusionAlongPath   self,
  IDsOfElements,
  PathMesh,
  PathShape,
  NodeStart,
  HasAngles,
  Angles,
  HasRefPoint,
  RefPoint,
  LinearVariation = False
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + + + + + +
IDsOfElements is ids of elements
PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion
PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path
NodeStart the first or the last node on the edge. It is used to define the direction of extrusion
HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion
Angles list of angles
HasRefPoint allows to use base point
RefPoint point around which the shape is rotated(the mass center of the shape by default). User can specify any point as the Base Point and the shape will be rotated with respect to this point.
LinearVariation makes compute rotation angles as linear variation of given Angles along path steps
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ExtrusionAlongPathObject   self,
  theObject,
  PathMesh,
  PathShape,
  NodeStart,
  HasAngles,
  Angles,
  HasRefPoint,
  RefPoint,
  LinearVariation = False
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + + + + + +
IDsOfElements is ids of elements
PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion
PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path
NodeStart the first or the last node on the edge. It is used to define the direction of extrusion
HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion
Angles list of angles
HasRefPoint allows to use base point
RefPoint point around which the shape is rotated(the mass center of the shape by default). User can specify any point as the Base Point and the shape will be rotated with respect to this point.
LinearVariation makes compute rotation angles as linear variation of given Angles along path steps
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Mirror   self,
  IDsOfElements,
  Mirror,
  theMirrorType,
  Copy = 0
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + +
IDsOfElements list of elements ids
Mirror is AxisStruct or geom object(point, line, plane)
theMirrorType is POINT, AXIS or PLANE If the Mirror is geom object this parameter is unnecessary
Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MirrorObject   self,
  theObject,
  Mirror,
  theMirrorType,
  Copy = 0
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + +
theObject mesh, submesh or group
Mirror is AxisStruct or geom object(point, line, plane)
theMirrorType is POINT, AXIS or PLANE If the Mirror is geom object this parameter is unnecessary
Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Translate   self,
  IDsOfElements,
  Vector,
  Copy
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
IDsOfElements list of elements ids
Vector direction of translation(DirStruct or vector)
Copy allows to copy the translated elements
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.TranslateObject   self,
  theObject,
  Vector,
  Copy
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
theObject object to translate(mesh, submesh, or group)
Vector direction of translation(DirStruct or geom vector)
Copy allows to copy the translated elements
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.Rotate   self,
  IDsOfElements,
  Axis,
  AngleInRadians,
  Copy
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + +
IDsOfElements list of elements ids
Axis axis of rotation(AxisStruct or geom line)
AngleInRadians angle of rotation(in radians)
Copy allows to copy the rotated elements
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.RotateObject   self,
  theObject,
  Axis,
  AngleInRadians,
  Copy
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + +
theObject object to rotate(mesh, submesh, or group)
Axis axis of rotation(AxisStruct or geom line)
AngleInRadians angle of rotation(in radians)
Copy allows to copy the rotated elements
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.FindCoincidentNodes   self,
  Tolerance
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
Tolerance tolerance value
list of group of nodes
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.FindCoincidentNodesOnPart   self,
  SubMeshOrGroup,
  Tolerance
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + +
Tolerance tolerance value
SubMeshOrGroup SubMesh or Group
list of group of nodes
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MergeNodes   self,
  GroupsOfNodes
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
list of group of nodes
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.FindEqualElements   self,
  MeshOrSubMeshOrGroup
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching
+
+
Returns:
a list of groups of equal elements
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh.MergeElements   self,
  GroupsOfElementsID
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
GroupsOfElementsID groups of elements for merging
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.MergeEqualElements   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SewFreeBorders   self,
  FirstNodeID1,
  SecondNodeID1,
  LastNodeID1,
  FirstNodeID2,
  SecondNodeID2,
  LastNodeID2,
  CreatePolygons,
  CreatePolyedrs
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SewConformFreeBorders   self,
  FirstNodeID1,
  SecondNodeID1,
  LastNodeID1,
  FirstNodeID2,
  SecondNodeID2
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SewBorderToSide   self,
  FirstNodeIDOnFreeBorder,
  SecondNodeIDOnFreeBorder,
  LastNodeIDOnFreeBorder,
  FirstNodeIDOnSide,
  LastNodeIDOnSide,
  CreatePolygons,
  CreatePolyedrs
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.SewSideElements   self,
  IDsOfSide1Elements,
  IDsOfSide2Elements,
  NodeID1OfSide1ToMerge,
  NodeID1OfSide2ToMerge,
  NodeID2OfSide1ToMerge,
  NodeID2OfSide2ToMerge
+
+ + + + + +
+   + + +

+Nodes belonging to Side1 are merged with nodes of elements of Side2. Number of elements in theSide1 and in theSide2 must be equal and they should have similar node connectivity. The nodes to merge should belong to sides borders and the first node should be linked to the second.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh.ChangeElemNodes   self,
  ide,
  newIDs
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
ide the element id
newIDs nodes ids
+
+
Returns:
If number of nodes is not corresponded to type of element - returns false
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetLastCreatedNodes   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh.GetLastCreatedElems   self  ) 
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
int smesh.Mesh.geom = 0 [static]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh.mesh = 0 [static]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh.editor = 0 [static]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh.geom
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh.mesh
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh.editor
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm.html index eab86f41c..f960f7109 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm.html @@ -1,892 +1,556 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Algorithm Class Reference

-
-Mother class to define algorithm, recommended to don't use directly. More... -

Inheritance diagram for smesh.Mesh_Algorithm:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Algorithm Class Reference

Mother class to define algorithm, recommended to don't use directly. +More... +

+Inheritance diagram for smesh.Mesh_Algorithm:

Inheritance graph
- - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-

Public Member Functions

-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- + +

Public Member Functions

+def GetSubMesh + + If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
+def GetAlgorithm + + Return the wrapped mesher.
+def GetCompatibleHypothesis + + Get list of hypothesis that can be used with this algorithm.
+def GetName + + Get name of algo.
+def SetName + + Set name to algo.
+def GetId + + Get id of algo.
+def Create + + Private method.
+def Hypothesis + + Private method.
+

Data Fields

mesh + + geom + + subm + + algo + +

Static Public Attributes

+int mesh = 0 + +int geom = 0 + +int subm = 0 + +int algo = 0 + + +

Detailed Description

+More details.

+


Member Function Documentation

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+


Field Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-

-
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- +
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.mesh -= 0 [static]
+ + + +
int smesh.Mesh_Algorithm.geom = 0 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

- - - - - - -
- - - - - - -
int smesh.Mesh_Algorithm.geom -= 0 [static]
-
- - - - - - - -
  -

-
-
-

+

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -
+ + + +
smesh.Mesh_Algorithm.mesh
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.geom -
+ + + +
smesh.Mesh_Algorithm.geom
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + + +

+

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -
+ + + +
smesh.Mesh_Algorithm.subm
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.algo -
+ + + +
smesh.Mesh_Algorithm.algo
-
- - - - - - - -
  -

-
-

- - +
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm__inherit__graph.jpg index 39dd1ddf8..5cc00367f 100644 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm__inherit__graph.jpg and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__CompositeSegment.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__CompositeSegment.html new file mode 100644 index 000000000..5b9b534ce --- /dev/null +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__CompositeSegment.html @@ -0,0 +1,973 @@ + + + + + + Main Page + + + + +  + + + +

+

smesh.Mesh_CompositeSegment Class Reference

Class to define a segment 1D algorithm for discretization. +More... +

+Inheritance diagram for smesh.Mesh_CompositeSegment:

Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Private constructor.
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 mesh
 subm
 algo

Static Public Attributes

int mesh = 0
int subm = 0
int algo = 0
+

Detailed Description

+More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_CompositeSegment.__init__   self,
  mesh,
  geom = 0
+
+ + + + + +
+   + + +

+ +

+Reimplemented from smesh.Mesh_Segment.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LocalLength   self,
  l
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
l for the length of segments that cut an edge
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.NumberOfSegments   self,
  n,
  s = []
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
n for the number of segments that cut an edge
s for the scale factor (optional)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.Arithmetic1D   self,
  start,
  end
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.StartEndLength   self,
  start,
  end
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.Deflection1D   self,
  d
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
d for the deflection
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Segment.Propagation   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.AutomaticLength   self,
  fineness = 0
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
fineness for the fineness [0-1]
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LengthNearVertex   self,
  length,
  vertex = 0
[inherited]
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Segment.QuadraticMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails.

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
smesh.Mesh_Segment.geom [inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from smesh.Mesh_Algorithm.

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.mesh [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.subm [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.algo [inherited]
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__CompositeSegment__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__CompositeSegment__inherit__graph.jpg new file mode 100644 index 000000000..f24ab014c Binary files /dev/null and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__CompositeSegment__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron.html index 7b13d15ca..4489d1f23 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron.html @@ -1,939 +1,592 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Hexahedron Class Reference

- -
-Class to define a hexahedron 3D algorithm. More... -

Inheritance diagram for smesh.Mesh_Hexahedron:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Hexahedron Class Reference

Class to define a hexahedron 3D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Hexahedron:

Inheritance graph
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- + +

Public Member Functions

+def __init__ + + Private constructor.
+def GetSubMesh + + If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
+def GetAlgorithm + + Return the wrapped mesher.
+def GetCompatibleHypothesis + + Get list of hypothesis that can be used with this algorithm.
+def GetName + + Get name of algo.
+def SetName + + Set name to algo.
+def GetId + + Get id of algo.
+def Create + + Private method.
+def Hypothesis + + Private method.
+

Data Fields

mesh + + geom + + subm + + algo + +

Static Public Attributes

+int mesh = 0 + +int geom = 0 + +int subm = 0 + +int algo = 0 + + +

Detailed Description

+More details.

+


Member Function Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Hexahedron.__init__   self,

-

-
  mesh,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Hexahedron.__init__   self,
  mesh,
  geom = 0
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+


Field Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- +
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

- - - - - - -
- - - - - - -
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.geom [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - -
  -

-
-

- - +
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen.html index b263ef388..cde572c63 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen.html @@ -1,1069 +1,681 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Netgen Class Reference

- -Class to define a NETGEN-based 2D or 3D algorithm that need no discrete -boundary (i.e. More... -

Inheritance diagram for smesh.Mesh_Netgen:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Netgen Class Reference

Class to define a NETGEN-based 2D or 3D algorithm that need no discrete boundary (i.e. +More... +

+Inheritance diagram for smesh.Mesh_Netgen:

Inheritance graph
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def Parameters
 Define hypothesis containing parameters of -the algorithm.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 is3D
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int is3D -= 0
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0
-
-

Detailed Description

-independent) -

This class is deprecated, only for compatibility!

-

More details.

-

-
-

Member Function Documentation

- + +

Public Member Functions

+def __init__ + + Private constructor.
+def Parameters + + Define hypothesis containing parameters of the algorithm.
+def GetSubMesh + + If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
+def GetAlgorithm + + Return the wrapped mesher.
+def GetCompatibleHypothesis + + Get list of hypothesis that can be used with this algorithm.
+def GetName + + Get name of algo.
+def SetName + + Set name to algo.
+def GetId + + Get id of algo.
+def Create + + Private method.
+def Hypothesis + + Private method.
+

Data Fields

is3D + + mesh + + geom + + subm + + algo + +

Static Public Attributes

+int is3D = 0 + +int mesh = 0 + +int geom = 0 + +int subm = 0 + +int algo = 0 + + +

Detailed Description

+independent)

+This class is deprecated, only for compatibility!

+More details.

+


Member Function Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Netgen.__init__   self,

-

-
  mesh,

-

-
  is3D,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Netgen.__init__   self,
  mesh,
  is3D,
  geom = 0
-
- - - - - - - -
  -

-
-
-

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+   + +

- - - - - - -
- - - - - - - - - - - -
def -smesh.Mesh_Netgen.Parameters   self -  ) 
-
-
- - - - - - - + +
  -

-
-
-

-

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Netgen.Parameters   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- +
+ + + + + +
+   + +

+

+


Field Documentation

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Netgen.is3D -= 0 [static]
+ + + +
int smesh.Mesh_Netgen.is3D = 0 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Netgen.is3D -
+ + + +
smesh.Mesh_Netgen.is3D
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.geom [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + + +

+

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - + + +
  -

-
-
+ + + + +
+   + + +

+

-

- - + + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Prism3D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Prism3D.html new file mode 100644 index 000000000..a3b06f9de --- /dev/null +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Prism3D.html @@ -0,0 +1,592 @@ + + + + + + Main Page + + + + +  + + + + +

smesh.Mesh_Prism3D Class Reference

Class to define a 3D extrusion algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Prism3D:

Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Private constructor.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 mesh
 geom
 subm
 algo

Static Public Attributes

int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+

Detailed Description

+More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Prism3D.__init__   self,
  mesh,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.mesh [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.geom [inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.subm [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.algo [inherited]
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Prism3D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Prism3D__inherit__graph.jpg new file mode 100644 index 000000000..fdf7cb8c1 Binary files /dev/null and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Prism3D__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection1D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection1D.html new file mode 100644 index 000000000..94c282715 --- /dev/null +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection1D.html @@ -0,0 +1,658 @@ + + + + + + Main Page + + + + +  + + + +

+

smesh.Mesh_Projection1D Class Reference

Class to define a projection 1D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Projection1D:

Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Private constructor.
def SourceEdge
 Define "Source Edge" hypothesis, specifying a meshed edge to take a mesh pattern from, and optionally association of vertices between the source edge and a target one (where a hipothesis is assigned to).
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 mesh
 geom
 subm
 algo

Static Public Attributes

int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+

Detailed Description

+More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Projection1D.__init__   self,
  mesh,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Projection1D.SourceEdge   self,
  edge,
  mesh = None,
  srcV = None,
  tgtV = None
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + +
edge to take nodes distribution from
mesh to take nodes distribution from (optional)
srcV is vertex of edge to associate with tgtV (optional)
tgtV is vertex of the edge where the algorithm is assigned, to associate with srcV (optional)
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.mesh [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.geom [inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.subm [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.algo [inherited]
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection1D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection1D__inherit__graph.jpg new file mode 100644 index 000000000..8d038d0b0 Binary files /dev/null and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection1D__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection2D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection2D.html new file mode 100644 index 000000000..f2985f61a --- /dev/null +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection2D.html @@ -0,0 +1,672 @@ + + + + + + Main Page + + + + +  + + + +

+

smesh.Mesh_Projection2D Class Reference

Class to define a projection 2D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Projection2D:

Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Private constructor.
def SourceFace
 Define "Source Face" hypothesis, specifying a meshed face to take a mesh pattern from, and optionally association of vertices between the source face and a target one (where a hipothesis is assigned to).
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 mesh
 geom
 subm
 algo

Static Public Attributes

int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+

Detailed Description

+More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Projection2D.__init__   self,
  mesh,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Projection2D.SourceFace   self,
  face,
  mesh = None,
  srcV1 = None,
  tgtV1 = None,
  srcV2 = None,
  tgtV2 = None
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + + +
face to take mesh pattern from
mesh to take mesh pattern from (optional)
srcV1 is vertex of face to associate with tgtV1 (optional)
tgtV1 is vertex of the face where the algorithm is assigned, to associate with srcV1 (optional)
srcV2 is vertex of face to associate with tgtV1 (optional)
tgtV2 is vertex of the face where the algorithm is assigned, to associate with srcV2 (optional)
+
+Note: association vertices must belong to one edge of a face
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.mesh [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.geom [inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.subm [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.algo [inherited]
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection2D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection2D__inherit__graph.jpg new file mode 100644 index 000000000..0433234b9 Binary files /dev/null and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection2D__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection3D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection3D.html new file mode 100644 index 000000000..9393e9fd7 --- /dev/null +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection3D.html @@ -0,0 +1,672 @@ + + + + + + Main Page + + + + +  + + + +

+

smesh.Mesh_Projection3D Class Reference

Class to define a projection 3D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Projection3D:

Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Private constructor.
def SourceShape3D
 Define "Source Shape 3D" hypothesis, specifying a meshed solid to take a mesh pattern from, and optionally association of vertices between the source solid and a target one (where a hipothesis is assigned to).
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 mesh
 geom
 subm
 algo

Static Public Attributes

int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+

Detailed Description

+More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Projection3D.__init__   self,
  mesh,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Projection3D.SourceShape3D   self,
  solid,
  mesh = 0,
  srcV1 = 0,
  tgtV1 = 0,
  srcV2 = 0,
  tgtV2 = 0
+
+ + + + + +
+   + + +

+

Parameters:
+ + + + + + + +
solid to take mesh pattern from
mesh to take mesh pattern from (optional)
srcV1 is vertex of solid to associate with tgtV1 (optional)
tgtV1 is vertex of the solid where the algorithm is assigned, to associate with srcV1 (optional)
srcV2 is vertex of solid to associate with tgtV1 (optional)
tgtV2 is vertex of the solid where the algorithm is assigned, to associate with srcV2 (optional)
+
+Note: association vertices must belong to one edge of a solid
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.mesh [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.geom [inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.subm [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.algo [inherited]
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection3D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection3D__inherit__graph.jpg new file mode 100644 index 000000000..17aaff156 Binary files /dev/null and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Projection3D__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle.html index b17a070c4..6cf4f44f2 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle.html @@ -1,988 +1,623 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Quadrangle Class Reference

- -
-Class to define a quadrangle 2D algorithm. More... -

Inheritance diagram for smesh.Mesh_Quadrangle:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Quadrangle Class Reference

Class to define a quadrangle 2D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Quadrangle:

Inheritance graph
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def QuadranglePreference
 Define "QuadranglePreference" hypothesis, -forcing construction of quadrangles if the number of nodes on opposite -edges is not the same in the case where the global number of nodes on -edges is even.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- +

Public Member Functions

def __init__
 Private constructor.
def QuadranglePreference
 Define "QuadranglePreference" hypothesis, forcing construction of quadrangles if the number of nodes on opposite edges is not the same in the case where the global number of nodes on edges is even.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 mesh
 geom
 subm
 algo

Static Public Attributes

int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+


Detailed Description

+More details.

+


Member Function Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Quadrangle.__init__   self,

-

-
  mesh,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Quadrangle.__init__   self,
  mesh,
  geom = 0
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Quadrangle.QuadranglePreference   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Quadrangle.QuadranglePreference   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+


Field Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- +
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

- - - - - - -
- - - - - - -
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.geom [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - -
  -

-
-

- - +
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__RadialPrism3D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__RadialPrism3D.html new file mode 100644 index 000000000..cad682748 --- /dev/null +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__RadialPrism3D.html @@ -0,0 +1,1011 @@ + + + + + + Main Page + + + + +  + + + +

+

smesh.Mesh_RadialPrism3D Class Reference

Class to define a Radial Prism 3D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_RadialPrism3D:

Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

def __init__
 Private constructor.
def Get3DHypothesis
 Return 3D hypothesis holding the 1D one.
def OwnHypothesis
 Private method creating 1D hypothes and storing it in the LayerDistribution hypothes.
def NumberOfLayers
 Define "NumberOfLayers" hypothesis, specifying a number of layers of prisms to build between the inner and outer shells.
def LocalLength
 Define "LocalLength" hypothesis, specifying segment length to build between the inner and outer shells.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis, specifying a number of layers of prisms to build between the inner and outer shells.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis, specifying distribution of segments to build between the inner and outer shells as arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and outer shells as geometric length increasing.
def AutomaticLength
 Define "AutomaticLength" hypothesis, specifying number of segments to build between the inner and outer shells.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 distribHyp
 nbLayers
 mesh
 geom
 subm
 algo

Static Public Attributes

int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+

Detailed Description

+More details. +

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.__init__   self,
  mesh,
  geom = 0
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_RadialPrism3D.Get3DHypothesis   self  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.OwnHypothesis   self,
  hypType,
  args = [],
  so = "libStdMeshersEngine.so"
+
+ + + + + +
+   + + +

+Returns the created hypothes

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.NumberOfLayers   self,
  n
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.LocalLength   self,
  l
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
l for the length of segments
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.NumberOfSegments   self,
  n,
  s = []
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
n for the number of segments
s for the scale factor (optional)
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.Arithmetic1D   self,
  start,
  end
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.StartEndLength   self,
  start,
  end
+
+ + + + + +
+   + + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_RadialPrism3D.AutomaticLength   self,
  fineness = 0
+
+ + + + + +
+   + + +

+

Parameters:
+ + +
fineness for the fineness [0-1]
+
+
+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
+
+ + + + + +
+   + + +

+

+


Field Documentation

+

+ + + + +
+ + + + +
smesh.Mesh_RadialPrism3D.distribHyp
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_RadialPrism3D.nbLayers
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.mesh [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.geom [inherited]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.subm [inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +
smesh.Mesh_Algorithm.algo [inherited]
+
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__RadialPrism3D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__RadialPrism3D__inherit__graph.jpg new file mode 100644 index 000000000..326430da5 Binary files /dev/null and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__RadialPrism3D__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment.html index e39e7de34..fa5868ad0 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment.html @@ -1,1523 +1,974 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Segment Class Reference

- -
-Class to define a segment 1D algorithm for discretization. More... -

Inheritance diagram for smesh.Mesh_Segment:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Segment Class Reference

Class to define a segment 1D algorithm for discretization. +More... +

+Inheritance diagram for smesh.Mesh_Segment:

Inheritance graph
- - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def LocalLength
 Define "LocalLength" hypothesis to cut an -edge in several segments with the same length.
-
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to -cut an edge in several fixed number of segments.
-
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an -edge in several segments with arithmetic length increasing.
-
def StartEndLength
 Define "StartEndLength" hypothesis to cut -an edge in several segments with geometric length increasing.
-
def Deflection1D
 Define "Deflection1D" hypothesis.
-
def Propagation
 Define "Propagation" hypothesis that -propagate all other hypothesis on all others edges that are in the -opposite side in the case of quadrangular faces.
-
def AutomaticLength
 Define "AutomaticLength" hypothesis.
-
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing -construction of quadratic edges.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- +

Public Member Functions

def __init__
 Private constructor.
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 mesh
 subm
 algo

Static Public Attributes

int mesh = 0
int subm = 0
int algo = 0
+


Detailed Description

+More details.

+


Member Function Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.__init__   self,

-

-
  mesh,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.__init__   self,
  mesh,
  geom = 0
-
- - - - - - - -
  -

-

Reimplemented in smesh.Mesh_Segment_Python. -

-
-

+
+ + + + + +
+   + +

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh_Segment.LocalLength   self,

-

-
  l

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
l for the length of segments that cut an edge
-
-
-
-

+

+Reimplemented in smesh.Mesh_CompositeSegment, and smesh.Mesh_Segment_Python.

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.NumberOfSegments   self,

-

-
  n,

-

-
  s = []

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LocalLength   self,
  l
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
n for the number of segments that cut an edge

-
s for the scale factor (optional)
-
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
l for the length of segments that cut an edge
+
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.Arithmetic1D   self,

-

-
  start,

-

-
  end

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.NumberOfSegments   self,
  n,
  s = []
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
start for the length of the first segment

-
end for the length of the last segment
-
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + + +
n for the number of segments that cut an edge
s for the scale factor (optional)
+
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.StartEndLength   self,

-

-
  start,

-

-
  end

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.Arithmetic1D   self,
  start,
  end
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
start for the length of the first segment

-
end for the length of the last segment
-
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.Deflection1D   self,

-

-
  d

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.StartEndLength   self,
  start,
  end
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
d for the deflection
-
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.Propagation   self -  ) 
-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.Deflection1D   self,
  d
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
d for the deflection
+
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.AutomaticLength   self,

-

-
  fineness = 0

-

-
+ + + + + + + + +
def smesh.Mesh_Segment.Propagation   self  ) 
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
fineness for the fineness [0-1]
-
-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.QuadraticMesh   self -  ) 
-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.AutomaticLength   self,
  fineness = 0
-
- - - - - - - -
  -

If the 2D mesher sees that all boundary edges are quadratic -ones, it generates quadratic faces, else it generates linear faces -using medium nodes as if they were vertex ones. The 3D mesher generates -quadratic volumes only if all boundary faces are quadratic ones, else -it fails.

-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
fineness for the fineness [0-1]
+
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LengthNearVertex   self,
  length,
  vertex = 0
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + + +
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
+
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Segment.QuadraticMesh   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails.

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- +
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+


Field Documentation

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
smesh.Mesh_Segment.geom
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+ +

+Reimplemented from smesh.Mesh_Algorithm.

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - -
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - + + +
  -

-
-
+ + + + +
+   + + +

+

-

- - + + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html index 8dae93e69..4107fa168 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html @@ -1,1608 +1,1025 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Segment_Python Class Reference

- -
-Class to define a segment 1D algorithm for discretization with python -function. More... -

Inheritance diagram for smesh.Mesh_Segment_Python:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Segment_Python Class Reference

Class to define a segment 1D algorithm for discretization with python function. +More... +

+Inheritance diagram for smesh.Mesh_Segment_Python:

Inheritance graph
- - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def PythonSplit1D
 Define "PythonSplit1D" hypothesis based on -the Erwan Adam patch, awaiting equivalent SALOME functionality.
-
def LocalLength
 Define "LocalLength" hypothesis to cut an -edge in several segments with the same length.
-
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to -cut an edge in several fixed number of segments.
-
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an -edge in several segments with arithmetic length increasing.
-
def StartEndLength
 Define "StartEndLength" hypothesis to cut -an edge in several segments with geometric length increasing.
-
def Deflection1D
 Define "Deflection1D" hypothesis.
-
def Propagation
 Define "Propagation" hypothesis that -propagate all other hypothesis on all others edges that are in the -opposite side in the case of quadrangular faces.
-
def AutomaticLength
 Define "AutomaticLength" hypothesis.
-
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing -construction of quadratic edges.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0

Public Member Functions

def __init__
 Private constructor.
def PythonSplit1D
 Define "PythonSplit1D" hypothesis based on the Erwan Adam patch, awaiting equivalent SALOME functionality.
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 mesh
 subm
 algo

Static Public Attributes

int mesh = 0
int subm = 0
int algo = 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- +

Detailed Description

+More details.

+


Member Function Documentation

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment_Python.__init__   self,

-

-
  mesh,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment_Python.__init__   self,
  mesh,
  geom = 0
-
- - - - - - - + +
  -

-

Reimplemented from smesh.Mesh_Segment. -

-
-

+ + + + + +
+   + +

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh_Segment_Python.PythonSplit1D   self,

-

-
  n,

-

-
  func

-

-
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
n for the number of segments that cut an edge

-
func for the python function that calculate the length -of all segments
-
-
-
-

+

+Reimplemented from smesh.Mesh_Segment.

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.LocalLength   self,

-

-
  l

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment_Python.PythonSplit1D   self,
  n,
  func
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - -

-
l for the length of segments that cut an edge
-
-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + + +
n for the number of segments that cut an edge
func for the python function that calculate the length of all segments
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.NumberOfSegments   self,

-

-
  n,

-

-
  s = []

-
[inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LocalLength   self,
  l
[inherited]
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
n for the number of segments that cut an edge

-
s for the scale factor (optional)
-
-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + +
l for the length of segments that cut an edge
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.Arithmetic1D   self,

-

-
  start,

-

-
  end

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.NumberOfSegments   self,
  n,
  s = []
[inherited]
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
start for the length of the first segment

-
end for the length of the last segment
-
-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + + +
n for the number of segments that cut an edge
s for the scale factor (optional)
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.StartEndLength   self,

-

-
  start,

-

-
  end

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.Arithmetic1D   self,
  start,
  end
[inherited]
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - - - - - - -

-
start for the length of the first segment

-
end for the length of the last segment
-
-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.Deflection1D   self,

-

-
  d

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.StartEndLength   self,
  start,
  end
[inherited]
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - -

-
d for the deflection
-
-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + + +
start for the length of the first segment
end for the length of the last segment
+
+
+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.Propagation   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.Deflection1D   self,
  d
[inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + +
d for the deflection
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.AutomaticLength   self,

-

-
  fineness = 0

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Segment.Propagation   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - -

-
fineness for the fineness [0-1]
-
-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Segment.QuadraticMesh   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.AutomaticLength   self,
  fineness = 0
[inherited]
-
- - - - - - - + +
  -

If the 2D mesher sees that all boundary edges are quadratic -ones, it generates quadratic faces, else it generates linear faces -using medium nodes as if they were vertex ones. The 3D mesher generates -quadratic volumes only if all boundary faces are quadratic ones, else -it fails.

-
-

+ + + + + +
+   + +

+

Parameters:
+ + +
fineness for the fineness [0-1]
+
+
+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Segment.LengthNearVertex   self,
  length,
  vertex = 0
[inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + + +
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
+
+
+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Segment.QuadraticMesh   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails.

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- + + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

Field Documentation

+

- - -
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
smesh.Mesh_Segment.geom [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+ +

+Reimplemented from smesh.Mesh_Algorithm.

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - +
  -

-
-
+ + + +
+   + + +

+

-

- - - + + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__inherit__graph.jpg index a5de47112..05c33cea6 100644 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__inherit__graph.jpg and b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__inherit__graph.jpg differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron.html index f1f31ddf6..f3aa6de53 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron.html @@ -1,1631 +1,1059 @@ - + - - - Main Page - - + + + Main Page + + +  + + -

smesh.Mesh_Tetrahedron Class Reference

-
-Class to define a tetrahedron 3D algorithm. More... -

Inheritance diagram for smesh.Mesh_Tetrahedron:
-
-

-

-
Inheritance graph
+ +

smesh.Mesh_Tetrahedron Class Reference

Class to define a tetrahedron 3D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Tetrahedron:

Inheritance graph
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def MaxElementVolume
 Define "MaxElementVolume" hypothesis to -give the maximun volume of each tetrahedral.
-
def Parameters
 Define "Netgen 3D Parameters" hypothesis.
-
def SetMaxSize
 Set MaxSize.
-
def SetSecondOrder
 Set SecondOrder flag.
-
def SetOptimize
 Set Optimize flag.
-
def SetFineness
 Set Fineness.
-
def SetGrowthRate
 Set GrowthRate.
-
def SetNbSegPerEdge
 Set NbSegPerEdge.
-
def SetNbSegPerRadius
 Set NbSegPerRadius.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 algoType
 params
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int params -= 0
int algoType -= 0
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0

Public Member Functions

def __init__
 Private constructor.
def MaxElementVolume
 Define "MaxElementVolume" hypothesis to give the maximun volume of each tetrahedral.
def Parameters
 Define "Netgen 3D Parameters" hypothesis.
def SetMaxSize
 Set MaxSize.
def SetSecondOrder
 Set SecondOrder flag.
def SetOptimize
 Set Optimize flag.
def SetFineness
 Set Fineness.
def SetGrowthRate
 Set GrowthRate.
def SetNbSegPerEdge
 Set NbSegPerEdge.
def SetNbSegPerRadius
 Set NbSegPerRadius.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 algoType
 params
 mesh
 geom
 subm
 algo

Static Public Attributes

int params = 0
int algoType = 0
int mesh = 0
int geom = 0
int subm = 0
int algo = 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- +

Detailed Description

+More details.

+


Member Function Documentation

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Tetrahedron.__init__   self,

-

-
  mesh,

-

-
  algoType,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.__init__   self,
  mesh,
  algoType,
  geom = 0
-
- - - - - - - -
  -

-
-
-

+ + + +
+   + +

- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
def -smesh.Mesh_Tetrahedron.MaxElementVolume   self,

-

-
  vol

-

-
-
- - - - - - - + +
  -

-
-
Parameters:
-
- - - - - - - - -

-
vol for the maximum volume of each tetrahedral
-
-
-
-

-

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Tetrahedron.Parameters   self -  ) 
-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.MaxElementVolume   self,
  vol
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + +
vol for the maximum volume of each tetrahedral
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Tetrahedron.SetMaxSize   self,

-

-
  theSize

-

-
+ + + + + + + + +
def smesh.Mesh_Tetrahedron.Parameters   self  ) 
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Tetrahedron.SetSecondOrder   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetMaxSize   self,
  theSize
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Tetrahedron.SetOptimize   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetSecondOrder   self,
  theVal
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Tetrahedron.SetFineness   self,

-

-
  theFineness

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetOptimize   self,
  theVal
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
theFineness is: VeryCoarse, Coarse, Moderate, Fine, VeryFine or -Custom
-
-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Tetrahedron.SetGrowthRate   self,

-

-
  theRate

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetFineness   self,
  theFineness
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

Parameters:
+ + +
theFineness is: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom
+
+
+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Tetrahedron.SetNbSegPerEdge   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetGrowthRate   self,
  theRate
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Tetrahedron.SetNbSegPerRadius   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetNbSegPerEdge   self,
  theVal
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Tetrahedron.SetNbSegPerRadius   self,
  theVal
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - + +
  -

Print error message if a hypothesis was not assigned.

-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + +
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- + + + + + +
+   + +

+

+

Field Documentation

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Tetrahedron.params -= 0 [static]
+ + + +
int smesh.Mesh_Tetrahedron.params = 0 [static]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Tetrahedron.algoType -= 0 [static]
+ + + +
int smesh.Mesh_Tetrahedron.algoType = 0 [static]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Tetrahedron.algoType -
+ + + +
smesh.Mesh_Tetrahedron.algoType
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Tetrahedron.params -
+ + + +
smesh.Mesh_Tetrahedron.params
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - -
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

- - -
- - - - - - + + - - + +
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.geom [inherited]
-
- - - - - - - -
  -

-
-
-

+ + + + + +
+   + + +

+

+Reimplemented in smesh.Mesh_Segment.

+

- - -
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - -
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - + +
  -

-
-
-

+ + + + + +
+   + +

+

+

- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - + + - - + +
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - +
  -

-
+ + + +
+   + + +

+

-

- - + + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle.html index 6ce21c2a9..7046b0ebf 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle.html @@ -1,1736 +1,1130 @@ - + - - - Main Page - - + + + Main Page + + -

smesh.Mesh_Triangle Class Reference

-
-Class to define a triangle 2D algorithm. More...
-
-Inheritance diagram for smesh.Mesh_Triangle:
-
-

-
Inheritance graph
+  + + + + +

smesh.Mesh_Triangle Class Reference

Class to define a triangle 2D algorithm. +More... +

+Inheritance diagram for smesh.Mesh_Triangle:

Inheritance graph
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

-

Public Member Functions

-
def __init__
 Private constructor.
-
def MaxElementArea
 Define "MaxElementArea" hypothesis to give -the maximun area of each triangles.
-
def LengthFromEdges
 Define "LengthFromEdges" hypothesis to -build triangles based on the length of the edges taken from the wire.
-
def Parameters
 Define "Netgen 2D Parameters" hypothesis.
-
def SetMaxSize
 Set MaxSize.
-
def SetSecondOrder
 Set SecondOrder flag.
-
def SetOptimize
 Set Optimize flag.
-
def SetFineness
 Set Fineness.
-
def SetGrowthRate
 Set GrowthRate.
-
def SetNbSegPerEdge
 Set NbSegPerEdge.
-
def SetNbSegPerRadius
 Set NbSegPerRadius.
-
def SetQuadAllowed
 Set QuadAllowed flag.
-
def GetSubMesh
 If the algorithm is global, return 0;
-else return the submesh associated to this algorithm.
-
def GetAlgorithm
 Return the wrapped mesher.
-
def GetCompatibleHypothesis
 Get list of hypothesis that can be used -with this algorithm.
-
def GetName
 Get name of algo.
-
def SetName
 Set name to algo.
-
def GetId
 Get id of algo.
-
def TreatHypoStatus
 Private method.
-
def Create
 Private method.
-
def Hypothesis
 Private method.
-

-

Data Fields

-
 algoType
 params
 mesh
 geom
 subm
 algo

-

Static Public Attributes

-
int algoType -= 0
int params -= 0
int mesh -= 0
int geom -= 0
int subm -= 0
int algo -= 0
-
-

Detailed Description

-More details. -

-
-

Member Function Documentation

- +

Public Member Functions

def __init__
 Private constructor.
def MaxElementArea
 Define "MaxElementArea" hypothesis to give the maximun area of each triangles.
def LengthFromEdges
 Define "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire.
def Parameters
 Define "Netgen 2D Parameters" hypothesis.
def SetMaxSize
 Set MaxSize.
def SetSecondOrder
 Set SecondOrder flag.
def SetOptimize
 Set Optimize flag.
def SetFineness
 Set Fineness.
def SetGrowthRate
 Set GrowthRate.
def SetNbSegPerEdge
 Set NbSegPerEdge.
def SetNbSegPerRadius
 Set NbSegPerRadius.
def SetQuadAllowed
 Set QuadAllowed flag.
def GetSubMesh
 If the algorithm is global, return 0;
+ else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 algoType
 params
 mesh
 geom
 subm
 algo

Static Public Attributes

int algoType = 0
int params = 0
int mesh = 0
int geom = 0
int subm = 0
int algo = 0
+


Detailed Description

+More details.

+


Member Function Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.__init__   self,

-

-
  mesh,

-

-
  algoType,

-

-
  geom = 0

-

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.__init__   self,
  mesh,
  algoType,
  geom = 0
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.MaxElementArea   self,

-

-
  area

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.MaxElementArea   self,
  area
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
area for the maximum area of each triangles
-
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
area for the maximum area of each triangles
+
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.LengthFromEdges   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Triangle.LengthFromEdges   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.Parameters   self -  ) 
-
+ + + + + + + + +
def smesh.Mesh_Triangle.Parameters   self  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetMaxSize   self,

-

-
  theSize

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetMaxSize   self,
  theSize
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetSecondOrder   seld,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetSecondOrder   seld,
  theVal
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetOptimize   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetOptimize   self,
  theVal
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetFineness   self,

-

-
  theFineness

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetFineness   self,
  theFineness
-
- - - - - - - -
  -

-
-
Parameters:
-
- - - - - - - - -

-
theFineness is: VeryCoarse, Coarse, Moderate, Fine, VeryFine or -Custom
-
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
theFineness is: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom
+
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetGrowthRate   self,

-

-
  theRate

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetGrowthRate   self,
  theRate
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetNbSegPerEdge   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetNbSegPerEdge   self,
  theVal
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetNbSegPerRadius   self,

-

-
  theVal

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetNbSegPerRadius   self,
  theVal
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Triangle.SetQuadAllowed   self,

-

-
  toAllow

-

-
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Triangle.SetQuadAllowed   self,
  toAllow
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetSubMesh   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetSubMesh   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetAlgorithm   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetAlgorithm   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetCompatibleHypothesis   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetCompatibleHypothesis   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetName   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetName   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.SetName   self,

-

-
  name

-
[inherited]
+ + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.SetName   self,
  name
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.GetId   self -  )  [inherited]
+ + + + + + + + +
def smesh.Mesh_Algorithm.GetId   self  )  [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.TreatHypoStatus   self,

-

-
  status,

-

-
  hypName,

-

-
  geomName,

-

-
  isAlgo

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Create   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

Print error message if a hypothesis was not assigned.

-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Create   self,

-

-
  mesh,

-

-
  geom,

-

-
  hypo,

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.Mesh_Algorithm.Hypothesis   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so"
[inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+


Field Documentation

+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.Mesh_Algorithm.Hypothesis   self,

-

-
  hyp,

-

-
  args = [], -

-

-
  so = "libStdMeshersEngine.so"

-
[inherited]
+ + + +
int smesh.Mesh_Triangle.algoType = 0 [static]
-
- - - - - - - -
  -

-
-
-

-
-

Field Documentation

- +
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Triangle.algoType -= 0 [static]
+ + + +
int smesh.Mesh_Triangle.params = 0 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Triangle.params -= 0 [static]
+ + + +
smesh.Mesh_Triangle.algoType
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Triangle.algoType -
+ + + +
smesh.Mesh_Triangle.params
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Triangle.params -
+ + + +
int smesh.Mesh_Algorithm.mesh = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.mesh -= 0 [static, inherited]
+ + + +
smesh.Mesh_Algorithm.mesh [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.mesh -[inherited]
+ + + +
int smesh.Mesh_Algorithm.geom = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

- - - - - - -
- - - - - - -
int smesh.Mesh_Algorithm.geom -= 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.geom -[inherited]
+ + + +
smesh.Mesh_Algorithm.geom [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+ +

+Reimplemented in smesh.Mesh_Segment.

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.subm -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.subm = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.subm -[inherited]
+ + + +
smesh.Mesh_Algorithm.subm [inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Mesh_Algorithm.algo -= 0 [static, inherited]
+ + + +
int smesh.Mesh_Algorithm.algo = 0 [static, inherited]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.Mesh_Algorithm.algo -[inherited]
+ + + +
smesh.Mesh_Algorithm.algo [inherited]
-
- - - - - - - -
  -

-
-

- - +
+ + + + + +
+   + + +

+

+ + diff --git a/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html b/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html index 1834acd9e..68f0d7837 100644 --- a/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html +++ b/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html @@ -1,13 +1,11 @@ - + - - - Main Page - - + + + Main Page + +

Package smesh

@@ -19,2074 +17,1371 @@ clear mesh creation and edition.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
-

Data Structures

-
class - Mesh_Algorithm
 Mother class to define algorithm, -recommended to don't use directly. More...
-
class - Mesh_Segment
 Class to define a segment 1D algorithm for -discretization. More...
-
class - Mesh_Segment_Python
 Class to define a segment 1D algorithm for -discretization with python function. More...
-
class - Mesh_Triangle
 Class to define a triangle 2D algorithm. More...
-
class - Mesh_Quadrangle
 Class to define a quadrangle 2D algorithm. - More...
-
class - Mesh_Tetrahedron
 Class to define a tetrahedron 3D -algorithm. More...
-
class - Mesh_Hexahedron
 Class to define a hexahedron 3D algorithm. - More...
-
class - Mesh_Netgen
 Class to define a NETGEN-based 2D or 3D -algorithm that need no discrete boundary (i.e. More...
-
class - Mesh
 Class to define a mesh. More...
-

-

Functions

-
def GetName
 Gets object name.
-
def SetName
 Sets name to object.
-
def EnumToLong
 Returns long value from enumeration Uses -for SMESH.FunctorType enumeration.
-
def GetPointStruct
 Get PointStruct from vertex.
-
def GetDirStruct
 Get DirStruct from vector.
-
def GetAxisStruct
 Get AxisStruct from object.
-
def SetEmbeddedMode
 Set the current mode.
-
def IsEmbeddedMode
 Get the current mode.
-
def SetCurrentStudy
 Set the current study.
-
def GetCurrentStudy
 Get the current study.
-
def CreateMeshesFromUNV
 Create Mesh object importing data from -given UNV file.
-
def CreateMeshesFromMED
 Create Mesh object(s) importing data from -given MED file.
-
def CreateMeshesFromSTL
 Create Mesh object importing data from -given STL file.
-
def GetSubShapesId
 From SMESH_Gen interface.
-
def GetPattern
 From SMESH_Gen interface.
-
def GetEmptyCriterion
 Creates an empty criterion.
-
def GetCriterion
 Creates a criterion by given parameters.
-
def GetFilter
 Creates filter by given parameters of -criterion.
-
def GetFunctor
 Creates numerical functor by its type.
-

-

Variables

-
int noNETGENPlugin -= 0
int noNETGENPlugin -= 1
int REGULAR -= 1
int PYTHON -= 2
int MEFISTO -= 3
int NETGEN -= 4
int GHS3D -= 5
int FULL_NETGEN -= 6
 POINT -= SMESH_MeshEditor.POINT
 AXIS = - SMESH_MeshEditor.AXIS
 PLANE -= SMESH_MeshEditor.PLANE
 LAPLACIAN_SMOOTH -= SMESH_MeshEditor.LAPLACIAN_SMOOTH
 CENTROIDAL_SMOOTH -= SMESH_MeshEditor.CENTROIDAL_SMOOTH
int VeryCoarse -= 0
int Coarse -= 1
int Moderate -= 2
int Fine = -3
int VeryFine -= 4
int Custom -= 5
string NO_NAME -= "NoName"
tuple smesh -= salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
-

-
-

Function Documentation

- +

Data Structures

class  Mesh_Algorithm
 Mother class to define algorithm, recommended to don't use directly. More...
class  Mesh_Segment
 Class to define a segment 1D algorithm for discretization. More...
class  Mesh_CompositeSegment
 Class to define a segment 1D algorithm for discretization. More...
class  Mesh_Segment_Python
 Class to define a segment 1D algorithm for discretization with python function. More...
class  Mesh_Triangle
 Class to define a triangle 2D algorithm. More...
class  Mesh_Quadrangle
 Class to define a quadrangle 2D algorithm. More...
class  Mesh_Tetrahedron
 Class to define a tetrahedron 3D algorithm. More...
class  Mesh_Hexahedron
 Class to define a hexahedron 3D algorithm. More...
class  Mesh_Netgen
 Class to define a NETGEN-based 2D or 3D algorithm that need no discrete boundary (i.e. More...
class  Mesh_Projection1D
 Class to define a projection 1D algorithm. More...
class  Mesh_Projection2D
 Class to define a projection 2D algorithm. More...
class  Mesh_Projection3D
 Class to define a projection 3D algorithm. More...
class  Mesh_Prism3D
 Class to define a 3D extrusion algorithm. More...
class  Mesh_RadialPrism3D
 Class to define a Radial Prism 3D algorithm. More...
class  Mesh
 Class to define a mesh. More...

Functions

def GetName
 Gets object name.
def SetName
 Sets name to object.
def EnumToLong
 Returns long value from enumeration Uses for SMESH.FunctorType enumeration.
def GetPointStruct
 Get PointStruct from vertex.
def GetDirStruct
 Get DirStruct from vector.
def GetAxisStruct
 Get AxisStruct from object.
def SetEmbeddedMode
 Set the current mode.
def IsEmbeddedMode
 Get the current mode.
def SetCurrentStudy
 Set the current study.
def GetCurrentStudy
 Get the current study.
def CreateMeshesFromUNV
 Create Mesh object importing data from given UNV file.
def CreateMeshesFromMED
 Create Mesh object(s) importing data from given MED file.
def CreateMeshesFromSTL
 Create Mesh object importing data from given STL file.
def GetSubShapesId
 From SMESH_Gen interface.
def GetPattern
 From SMESH_Gen interface.
def GetEmptyCriterion
 Creates an empty criterion.
def GetCriterion
 Creates a criterion by given parameters.
def GetFilter
 Creates filter by given parameters of criterion.
def GetFunctor
 Creates numerical functor by its type.
def TreatHypoStatus
 Print error message if a hypothesis was not assigned.

Variables

int noNETGENPlugin = 0
int noNETGENPlugin = 1
int REGULAR = 1
int PYTHON = 2
int COMPOSITE = 3
int MEFISTO = 3
int NETGEN = 4
int GHS3D = 5
int FULL_NETGEN = 6
 POINT = SMESH_MeshEditor.POINT
 AXIS = SMESH_MeshEditor.AXIS
 PLANE = SMESH_MeshEditor.PLANE
 LAPLACIAN_SMOOTH = SMESH_MeshEditor.LAPLACIAN_SMOOTH
 CENTROIDAL_SMOOTH = SMESH_MeshEditor.CENTROIDAL_SMOOTH
int VeryCoarse = 0
int Coarse = 1
int Moderate = 2
int Fine = 3
int VeryFine = 4
int Custom = 5
string NO_NAME = "NoName"
tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
+


Function Documentation

+

+ + + + +
+ + + + + + + + + +
def smesh.GetName   obj  ) 
+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.GetName   obj -  ) 
-
+ + + + + + + + + + + + + + + + + +
def smesh.SetName   obj,
  name
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.SetName   obj,

-

-
  name

-

-
+ + + + + + + + +
def smesh.EnumToLong   theItem  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.EnumToLong   theItem -  ) 
-
+ + + + + + + + +
def smesh.GetPointStruct   theVertex  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
theVertex is GEOM object(vertex)
+
+
Returns:
SMESH.PointStruct
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.GetPointStruct   theVertex -  ) 
-
+ + + + + + + + +
def smesh.GetDirStruct   theVector  ) 
-
- - - - - - - -
  -
-
Parameters:
-
- - - - - - - - -

-
theVertex is GEOM object(vertex)
-
-
-
-
Returns:
-
SMESH.PointStruct
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
theVector is GEOM object(vector)
+
+
Returns:
SMESH.DirStruct
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.GetDirStruct   theVector -  ) 
-
+ + + + + + + + +
def smesh.GetAxisStruct   theObj  ) 
-
- - - - - - - -
  -
-
Parameters:
-
- - - - - - - - -

-
theVector is GEOM object(vector)
-
-
-
-
Returns:
-
SMESH.DirStruct
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
theObj is GEOM object(line or plane)
+
+
Returns:
SMESH.AxisStruct
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.GetAxisStruct   theObj -  ) 
-
+ + + + + + + + +
def smesh.SetEmbeddedMode   theMode  ) 
-
- - - - - - - -
  -
-
Parameters:
-
- - - - - - - - -

-
theObj is GEOM object(line or plane)
-
-
-
-
Returns:
-
SMESH.AxisStruct
-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.SetEmbeddedMode   theMode -  ) 
-
+ + + + + + + +
def smesh.IsEmbeddedMode  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - + + - - -
def -smesh.IsEmbeddedMode
-
 ) 
-
+ + + + + + + + +
def smesh.SetCurrentStudy   theStudy  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.SetCurrentStudy   theStudy -  ) 
-
+ + + + + + + +
def smesh.GetCurrentStudy  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - + + - - -
def -smesh.GetCurrentStudy
-
 ) 
-
+ + + + + + + + +
def smesh.CreateMeshesFromUNV   theFileName  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

Returns:
an instance of Mesh class
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.CreateMeshesFromUNV   theFileName -  ) 
-
+ + + + + + + + +
def smesh.CreateMeshesFromMED   theFileName  ) 
-
- - - - - - - -
  -
-
Returns:
-
an instance of Mesh -class
-
-
-

+
+ + + + + +
+   + +

+

Returns:
a list of Mesh class instances
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.CreateMeshesFromMED   theFileName -  ) 
-
+ + + + + + + + +
def smesh.CreateMeshesFromSTL   theFileName  ) 
-
- - - - - - - -
  -
-
Returns:
-
a list of Mesh -class instances
-
-
-

+
+ + + + + +
+   + +

+

Returns:
an instance of Mesh class
+
+

- - - + +
- - - - - - - - - - - + + - - -
def -smesh.CreateMeshesFromSTL   theFileName -  ) 
-
+ + + + + + + + + + + + + + + + + +
def smesh.GetSubShapesId   theMainObject,
  theListOfSubObjects
-
- - - - - - - -
  -
-
Returns:
-
an instance of Mesh -class
-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.GetSubShapesId   theMainObject, -

-

-
  theListOfSubObjects

-

-
+ + + + + + + +
def smesh.GetPattern  ) 
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+Creates pattern

+

- - - + +
- - - - - - - - - - + + - - -
def -smesh.GetPattern
-
 ) 
-
+ + + + + + + +
def smesh.GetEmptyCriterion  ) 
-
- - - - - - - -
  -

Creates pattern

-
-

+
+ + + + + +
+   + +

+

Returns:
SMESH.Filter.Criterion
+
+

- - - + +
- - - - - - - - - - + + - - -
def -smesh.GetEmptyCriterion
-
 ) 
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.GetCriterion   elementType,
  CritType,
  Compare = FT_EqualTo,
  Treshold = "",
  UnaryOp = FT_Undefined,
  BinaryOp = FT_Undefined
-
- - - - - - - -
  -
-
Returns:
-
SMESH.Filter.Criterion
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + + + + + + +
elementType is the type of elements(NODE, EDGE, FACE, VOLUME)
CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. )
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}
Treshold is threshold value (range of ids as string, shape, numeric)
UnaryOp is FT_LogicalNOT or FT_Undefined
BinaryOp is binary logical operation FT_LogicalAND, FT_LogicalOR or FT_Undefined(must be for the last criterion in criteria)
+
+
Returns:
SMESH.Filter.Criterion
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.GetCriterion   elementType,

-

-
  CritType,

-

-
  Compare = FT_EqualTo, -

-

-
  Treshold = "", -

-

-
  UnaryOp = FT_Undefined, -

-

-
  BinaryOp = FT_Undefined

-

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.GetFilter   elementType,
  CritType = FT_Undefined,
  Compare = FT_EqualTo,
  Treshold = "",
  UnaryOp = FT_Undefined
-
- - - - - - - -
  -
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
elementType is the type of elements(NODE, EDGE, FACE, VOLUME)

-
CritType is type of criterion( FT_Taper, FT_Area, -FT_RangeOfIds, FT_LyingOnGeom etc. )

-
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}

-
Treshold is threshold value (range of ids as string, shape, -numeric)

-
UnaryOp is FT_LogicalNOT or FT_Undefined

-
BinaryOp is binary logical operation FT_LogicalAND, -FT_LogicalOR or FT_Undefined(must be for the last criterion in -criteria)
-
-
-
-
Returns:
-
SMESH.Filter.Criterion
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + + + + + +
elementType is the type of elements in the group
CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. )
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}
Treshold is threshold value (range of id ids as string, shape, numeric)
UnaryOp is FT_LogicalNOT or FT_Undefined
+
+
Returns:
SMESH_Filter
+
+

- - - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
def -smesh.GetFilter   elementType,

-

-
  CritType = FT_Undefined, -

-

-
  Compare = FT_EqualTo, -

-

-
  Treshold = "", -

-

-
  UnaryOp = FT_Undefined

-

-
+ + + + + + + + +
def smesh.GetFunctor   theCriterion  ) 
-
- - - - - - - -
  -
-
Parameters:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
elementType is the type of elements in the group

-
CritType is type of criterion( FT_Taper, FT_Area, -FT_RangeOfIds, FT_LyingOnGeom etc. )

-
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}

-
Treshold is threshold value (range of id ids as string, -shape, numeric)

-
UnaryOp is FT_LogicalNOT or FT_Undefined
-
-
-
-
Returns:
-
SMESH_Filter
-
-
-

+
+ + + + + +
+   + +

+

Parameters:
+ + +
theCrierion is FT_...; functor type
+
+
Returns:
SMESH_NumericalFunctor
+
+

- - -
- - - - - - - - - - - + + - - -
def -smesh.GetFunctor   theCriterion -  ) 
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def smesh.TreatHypoStatus   status,
  hypName,
  geomName,
  isAlgo
-
- - - - - - - + + +
  -
-
Parameters:
-
- - - - - - - - -

-
theCrierion is FT_...; functor type
-
-
-
-
Returns:
-
SMESH_NumericalFunctor
-
-
+ + + + +
+   + + +

+

-

-
-

Variable Documentation

- +

Variable Documentation

+

+ + + + +
+ + + + +
int smesh.noNETGENPlugin = 0 [static]
+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.noNETGENPlugin -= 0 [static]
+ + + +
int smesh.noNETGENPlugin = 1 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.noNETGENPlugin -= 1 [static]
+ + + +
int smesh.REGULAR = 1 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.REGULAR -= 1 [static]
+ + + +
int smesh.PYTHON = 2 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.PYTHON -= 2 [static]
+ + + +
int smesh.COMPOSITE = 3 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.MEFISTO -= 3 [static]
+ + + +
int smesh.MEFISTO = 3 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.NETGEN -= 4 [static]
+ + + +
int smesh.NETGEN = 4 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.GHS3D -= 5 [static]
+ + + +
int smesh.GHS3D = 5 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.FULL_NETGEN -= 6 [static]
+ + + +
int smesh.FULL_NETGEN = 6 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.POINT -= SMESH_MeshEditor.POINT -[static]
+ + + +
smesh.POINT = SMESH_MeshEditor.POINT [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.AXIS -= SMESH_MeshEditor.AXIS -[static]
+ + + +
smesh.AXIS = SMESH_MeshEditor.AXIS [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.PLANE -= SMESH_MeshEditor.PLANE -[static]
+ + + +
smesh.PLANE = SMESH_MeshEditor.PLANE [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.LAPLACIAN_SMOOTH -= SMESH_MeshEditor.LAPLACIAN_SMOOTH -[static]
+ + + +
smesh.LAPLACIAN_SMOOTH = SMESH_MeshEditor.LAPLACIAN_SMOOTH [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
smesh.CENTROIDAL_SMOOTH -= SMESH_MeshEditor.CENTROIDAL_SMOOTH -[static]
+ + + +
smesh.CENTROIDAL_SMOOTH = SMESH_MeshEditor.CENTROIDAL_SMOOTH [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.VeryCoarse -= 0 [static]
+ + + +
int smesh.VeryCoarse = 0 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Coarse -= 1 [static]
+ + + +
int smesh.Coarse = 1 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Moderate -= 2 [static]
+ + + +
int smesh.Moderate = 2 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Fine -= 3 [static]
+ + + +
int smesh.Fine = 3 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.VeryFine -= 4 [static]
+ + + +
int smesh.VeryFine = 4 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
int smesh.Custom -= 5 [static]
+ + + +
int smesh.Custom = 5 [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

- - - + +
- - - - - - + + - - -
string smesh.NO_NAME -= "NoName" [static]
+ + + +
string smesh.NO_NAME = "NoName" [static]
-
- - - - - - - -
  -

-
-
-

+
+ + + + + +
+   + +

+

+

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

-
-
+ + + + +
+   + + +

+

-

- - + +