Functions | |
def | GetMeshInfo |
Gets the mesh stattistic. | |
def | GetMeshInfo |
Gets the mesh stattistic. | |
def | NbNodes |
Returns the number of nodes in the mesh. | |
def | NbElements |
Returns the number of elements in the mesh. | |
def | Nb0DElements |
Returns the number of 0d elements in the mesh. | |
def | NbEdges |
Returns the number of edges in the mesh. | |
def | NbEdgesOfOrder |
Returns the number of edges with the given order in the mesh. | |
def | NbFaces |
Returns the number of faces in the mesh. | |
def | NbFacesOfOrder |
Returns the number of faces with the given order in the mesh. | |
def | NbTriangles |
Returns the number of triangles in the mesh. | |
def | NbTrianglesOfOrder |
Returns the number of triangles with the given order in the mesh. | |
def | NbQuadrangles |
Returns the number of quadrangles in the mesh. | |
def | NbQuadranglesOfOrder |
Returns the number of quadrangles with the given order in the mesh. | |
def | NbPolygons |
Returns the number of polygons in the mesh. | |
def | NbVolumes |
Returns the number of volumes in the mesh. | |
def | NbVolumesOfOrder |
Returns the number of volumes with the given order in the mesh. | |
def | NbTetras |
Returns the number of tetrahedrons in the mesh. | |
def | NbTetrasOfOrder |
Returns the number of tetrahedrons with the given order in the mesh. | |
def | NbHexas |
Returns the number of hexahedrons in the mesh. | |
def | NbHexasOfOrder |
Returns the number of hexahedrons with the given order in the mesh. | |
def | NbPyramids |
Returns the number of pyramids in the mesh. | |
def | NbPyramidsOfOrder |
Returns the number of pyramids with the given order in the mesh. | |
def | NbPrisms |
Returns the number of prisms in the mesh. | |
def | NbPrismsOfOrder |
Returns the number of prisms with the given order in the mesh. | |
def | NbPolyhedrons |
Returns the number of polyhedrons in the mesh. | |
def | NbSubMesh |
Returns the number of submeshes in the mesh. | |
def | GetElementsId |
Returns the list of mesh elements IDs. | |
def | GetElementsByType |
Returns the list of IDs of mesh elements with the given type. | |
def | GetNodesId |
Returns the list of mesh nodes IDs. | |
def | GetElementType |
Returns the type of mesh element. | |
def | GetSubMeshElementsId |
Returns the list of submesh elements IDs. | |
def | GetSubMeshNodesId |
Returns the list of submesh nodes IDs. | |
def | GetSubMeshElementType |
Returns type of elements on given shape. | |
def | Dump |
Gets the mesh description. | |
def | GetNodeXYZ |
Gets XYZ coordinates of a node If there is no nodes for the given ID - returns an empty list. | |
def | GetNodeInverseElements |
Returns list of IDs of inverse elements for the given node If there is no node for the given ID - returns an empty list. | |
def | GetNodePosition |
Returns the position of a node on the shape. | |
def | GetShapeID |
If the given element is a node, returns the ID of shape If there is no node for the given ID - returns -1. | |
def | GetShapeIDForElem |
Returns the ID of the result shape after FindShape() from SMESH_MeshEditor for the given element If there is no element for the given ID - returns -1. | |
def | GetElemNbNodes |
Returns the number of nodes for the given element If there is no element for the given ID - returns -1. | |
def | GetElemNode |
Returns the node ID the given index for the given element If there is no element for the given ID - returns -1 If there is no node for the given index - returns -2. | |
def | GetElemNodes |
Returns the IDs of nodes of the given element. | |
def | IsMediumNode |
Returns true if the given node is the medium node in the given quadratic element. | |
def | IsMediumNodeOfAnyElem |
Returns true if the given node is the medium node in one of quadratic elements. | |
def | ElemNbEdges |
Returns the number of edges for the given element. | |
def | ElemNbFaces |
Returns the number of faces for the given element. | |
def | IsPoly |
Returns true if the given element is a polygon. | |
def | IsQuadratic |
Returns true if the given element is quadratic. | |
def | BaryCenter |
Returns XYZ coordinates of the barycenter of the given element If there is no element for the given ID - returns an empty list. |
def GetMeshInfo | ( | self, | ||
obj | ||||
) | [inherited] |
Gets the mesh stattistic.
def GetMeshInfo | ( | self, | ||
obj = None | ||||
) | [inherited] |
Gets the mesh stattistic.
def NbNodes | ( | self | ) | [inherited] |
Returns the number of nodes in the mesh.
def NbElements | ( | self | ) | [inherited] |
Returns the number of elements in the mesh.
def Nb0DElements | ( | self | ) | [inherited] |
Returns the number of 0d elements in the mesh.
def NbEdges | ( | self | ) | [inherited] |
Returns the number of edges in the mesh.
def NbEdgesOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of edges with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbFaces | ( | self | ) | [inherited] |
Returns the number of faces in the mesh.
def NbFacesOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of faces with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbTriangles | ( | self | ) | [inherited] |
Returns the number of triangles in the mesh.
def NbTrianglesOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of triangles with the given order in the mesh.
elementOrder | is the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbQuadrangles | ( | self | ) | [inherited] |
Returns the number of quadrangles in the mesh.
def NbQuadranglesOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of quadrangles with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbPolygons | ( | self | ) | [inherited] |
Returns the number of polygons in the mesh.
def NbVolumes | ( | self | ) | [inherited] |
Returns the number of volumes in the mesh.
def NbVolumesOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of volumes with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbTetras | ( | self | ) | [inherited] |
Returns the number of tetrahedrons in the mesh.
def NbTetrasOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of tetrahedrons with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbHexas | ( | self | ) | [inherited] |
Returns the number of hexahedrons in the mesh.
def NbHexasOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of hexahedrons with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbPyramids | ( | self | ) | [inherited] |
Returns the number of pyramids in the mesh.
def NbPyramidsOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of pyramids with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbPrisms | ( | self | ) | [inherited] |
Returns the number of prisms in the mesh.
def NbPrismsOfOrder | ( | self, | ||
elementOrder | ||||
) | [inherited] |
Returns the number of prisms with the given order in the mesh.
elementOrder | the order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC |
def NbPolyhedrons | ( | self | ) | [inherited] |
Returns the number of polyhedrons in the mesh.
def NbSubMesh | ( | self | ) | [inherited] |
Returns the number of submeshes in the mesh.
def GetElementsId | ( | self | ) | [inherited] |
Returns the list of mesh elements IDs.
def GetElementsByType | ( | self, | ||
elementType | ||||
) | [inherited] |
Returns the list of IDs of mesh elements with the given type.
elementType | the required type of elements |
def GetNodesId | ( | self | ) | [inherited] |
Returns the list of mesh nodes IDs.
def GetElementType | ( | self, | ||
id, | ||||
iselem | ||||
) | [inherited] |
Returns the type of mesh element.
def GetSubMeshElementsId | ( | self, | ||
Shape | ||||
) | [inherited] |
Returns the list of submesh elements IDs.
Shape | a geom object(subshape) IOR Shape must be the subshape of a ShapeToMesh() |
def GetSubMeshNodesId | ( | self, | ||
Shape, | ||||
all | ||||
) | [inherited] |
Returns the list of submesh nodes IDs.
Shape | a geom object(subshape) IOR Shape must be the subshape of a ShapeToMesh() | |
all | If true, gives all nodes of submesh elements, otherwise gives only submesh nodes |
def GetSubMeshElementType | ( | self, | ||
Shape | ||||
) | [inherited] |
Returns type of elements on given shape.
Shape | a geom object(subshape) IOR Shape must be a subshape of a ShapeToMesh() |
def Dump | ( | self | ) | [inherited] |
Gets the mesh description.
def GetNodeXYZ | ( | self, | ||
id | ||||
) | [inherited] |
Gets XYZ coordinates of a node
If there is no nodes for the given ID - returns an empty list.
def GetNodeInverseElements | ( | self, | ||
id | ||||
) | [inherited] |
Returns list of IDs of inverse elements for the given node
If there is no node for the given ID - returns an empty list.
def GetNodePosition | ( | self, | ||
NodeID | ||||
) | [inherited] |
Returns the position of a node on the shape.
def GetShapeID | ( | self, | ||
id | ||||
) | [inherited] |
If the given element is a node, returns the ID of shape
If there is no node for the given ID - returns -1.
def GetShapeIDForElem | ( | self, | ||
id | ||||
) | [inherited] |
Returns the ID of the result shape after FindShape() from SMESH_MeshEditor for the given element
If there is no element for the given ID - returns -1.
def GetElemNbNodes | ( | self, | ||
id | ||||
) | [inherited] |
Returns the number of nodes for the given element
If there is no element for the given ID - returns -1.
def GetElemNode | ( | self, | ||
id, | ||||
index | ||||
) | [inherited] |
Returns the node ID the given index for the given element
If there is no element for the given ID - returns -1
If there is no node for the given index - returns -2.
def GetElemNodes | ( | self, | ||
id | ||||
) | [inherited] |
Returns the IDs of nodes of the given element.
def IsMediumNode | ( | self, | ||
elementID, | ||||
nodeID | ||||
) | [inherited] |
Returns true if the given node is the medium node in the given quadratic element.
def IsMediumNodeOfAnyElem | ( | self, | ||
nodeID, | ||||
elementType | ||||
) | [inherited] |
Returns true if the given node is the medium node in one of quadratic elements.
def ElemNbEdges | ( | self, | ||
id | ||||
) | [inherited] |
Returns the number of edges for the given element.
def ElemNbFaces | ( | self, | ||
id | ||||
) | [inherited] |
Returns the number of faces for the given element.
def IsPoly | ( | self, | ||
id | ||||
) | [inherited] |
Returns true if the given element is a polygon.
def IsQuadratic | ( | self, | ||
id | ||||
) | [inherited] |
Returns true if the given element is quadratic.
def BaryCenter | ( | self, | ||
id | ||||
) | [inherited] |
Returns XYZ coordinates of the barycenter of the given element
If there is no element for the given ID - returns an empty list.