.. _modules_page: ####### Modules ####### ******************************** Auxiliary methods and structures ******************************** Functions: :meth:`def ParseParameters ` :meth:`def ParseAngles ` :meth:`def __initPointStruct ` :meth:`def __initAxisStruct ` :meth:`def IsEqual ` :meth:`def GetName ` :meth:`def TreatHypoStatus ` :meth:`def AssureGeomPublished ` :meth:`def FirstVertexOnCurve ` :meth:`def DumpPython ` :meth:`def SetDumpPythonHistorical ` :meth:`def init_smesh ` :meth:`def EnumToLong ` :meth:`def ColorToString ` :meth:`def GetPointStruct ` :meth:`def GetDirStruct ` :meth:`def MakeDirStruct ` :meth:`def GetAxisStruct ` :meth:`def SetName ` :meth:`def SetEmbeddedMode ` :meth:`def IsEmbeddedMode ` :meth:`def SetCurrentStudy ` :meth:`def GetCurrentStudy ` :meth:`def GetSubShapesId ` :meth:`def SetBoundaryBoxSegmentation ` :meth:`def GetSubShapeName ` :meth:`def GetLog ` :meth:`def ClearLog ` :meth:`def GetId ` :meth:`def GetStudyId ` :meth:`def GetIDSource ` *************** Creating Meshes *************** Functions: :meth:`def Concatenate ` :meth:`def CopyMesh ` Importing and exporting meshes ############################## Functions: :meth:`def CreateMeshesFromUNV ` :meth:`def CreateMeshesFromMED ` :meth:`def CreateMeshesFromSAUV ` :meth:`def CreateMeshesFromSTL ` :meth:`def CreateMeshesFromCGNS ` :meth:`def CreateMeshesFromGMF ` :meth:`def ExportMED ` :meth:`def ExportSAUV ` :meth:`def ExportDAT ` :meth:`def ExportUNV ` :meth:`def ExportSTL ` :meth:`def ExportCGNS ` :meth:`def ExportGMF ` :meth:`def ExportToMED ` Constructing meshes ################### Functions: :meth:`def Mesh ` :meth:`def __init__ ` :meth:`def SetMesh ` :meth:`def GetMesh ` :meth:`def SetName ` :meth:`def GetShape ` :meth:`def SetShape ` :meth:`def IsReadyToCompute ` :meth:`def GetAlgoState ` :meth:`def Evaluate ` :meth:`def Compute ` :meth:`def GetComputeErrors ` :meth:`def GetFailedShapes ` :meth:`def GetMeshOrder ` :meth:`def SetMeshOrder ` :meth:`def Clear ` Defining Algorithms ################### Basic meshing algorithms ======================== Data Structures: :class:`class StdMeshersBuilder_Segment ` :class:`class StdMeshersBuilder_Segment_Python ` :class:`class StdMeshersBuilder_Triangle_MEFISTO ` :class:`class StdMeshersBuilder_Quadrangle ` :class:`class StdMeshersBuilder_Hexahedron ` :class:`class StdMeshersBuilder_UseExistingElements_1D ` :class:`class StdMeshersBuilder_UseExistingElements_1D2D ` :class:`class StdMeshersBuilder_Cartesian_3D ` :class:`class StdMeshersBuilder_UseExisting_1D ` :class:`class StdMeshersBuilder_UseExisting_2D ` Functions: :meth:`def AutomaticTetrahedralization ` :meth:`def AutomaticHexahedralization ` Projection algorithms ===================== Data Structures: :class:`class StdMeshersBuilder_Projection1D ` :class:`class StdMeshersBuilder_Projection2D ` :class:`class StdMeshersBuilder_Projection1D2D ` :class:`class StdMeshersBuilder_Projection3D ` Segments around vertex ====================== Functions: :meth:`def LengthNearVertex ` 3D extrusion meshing algorithms =============================== Data Structures: :class:`class StdMeshersBuilder_Prism3D ` :class:`class StdMeshersBuilder_RadialPrism3D ` Mesh_Algorithm ============== :class:`class Mesh_Algorithm ` Defining hypotheses ################### 1D Meshing Hypotheses ===================== Functions: :meth:`def ReversedEdgeIndices ` :meth:`def LocalLength ` :meth:`def MaxSize ` :meth:`def NumberOfSegments ` :meth:`def Adaptive ` :meth:`def Arithmetic1D ` :meth:`def GeometricProgression ` :meth:`def FixedPoints1D ` :meth:`def StartEndLength ` :meth:`def Deflection1D ` :meth:`def AutomaticLength ` :meth:`def PythonSplit1D ` 2D Meshing Hypotheses ===================== Functions: :meth:`def MaxElementArea ` :meth:`def LengthFromEdges ` Quadrangle Hypotheses ===================== Functions: :meth:`def QuadrangleParameters ` :meth:`def QuadranglePreference ` :meth:`def TrianglePreference ` :meth:`def Reduced ` :meth:`def TriangleVertex ` Additional Hypotheses ===================== Functions: :meth:`def ViscousLayers ` :meth:`def ViscousLayers2D ` :meth:`def Propagation ` :meth:`def PropagationOfDistribution ` :meth:`def QuadraticMesh ` Constructing sub-meshes ####################### Functions: :meth:`def GetSubMesh ` :meth:`def ClearSubMesh ` :meth:`def Compute ` Editing meshes ############## Functions: :meth:`def AddHypothesis ` :meth:`def IsUsedHypothesis ` :meth:`def RemoveHypothesis ` :meth:`def GetHypothesisList ` :meth:`def RemoveGlobalHypotheses ` **************** Mesh Information **************** Functions: :meth:`def GetMeshInfo ` :meth:`def GetGeometryByMeshElement ` :meth:`def MeshDimension ` :meth:`def GetMeshInfo ` :meth:`def NbNodes ` :meth:`def NbElements ` :meth:`def Nb0DElements ` :meth:`def NbBalls ` :meth:`def NbEdges ` :meth:`def NbEdgesOfOrder ` :meth:`def NbFaces ` :meth:`def NbFacesOfOrder ` :meth:`def NbTriangles ` :meth:`def NbTrianglesOfOrder ` :meth:`def NbBiQuadTriangles ` :meth:`def NbQuadrangles ` :meth:`def NbQuadranglesOfOrder ` :meth:`def NbBiQuadQuadrangles ` :meth:`def NbPolygons ` :meth:`def NbVolumes ` :meth:`def NbVolumesOfOrder ` :meth:`def NbTetras ` :meth:`def NbTetrasOfOrder ` :meth:`def NbHexas ` :meth:`def NbHexasOfOrder ` :meth:`def NbTriQuadraticHexas ` :meth:`def NbPyramids ` :meth:`def NbPyramidsOfOrder ` :meth:`def NbPrisms ` :meth:`def NbPrismsOfOrder ` :meth:`def NbHexagonalPrisms ` :meth:`def NbPolyhedrons ` :meth:`def NbSubMesh ` :meth:`def GetElementsId ` :meth:`def GetElementsByType ` :meth:`def GetNodesId ` :meth:`def GetElementType ` :meth:`def GetElementGeomType ` :meth:`def GetElementShape ` :meth:`def GetSubMeshElementsId ` :meth:`def GetSubMeshNodesId ` :meth:`def GetSubMeshElementType ` :meth:`def Dump ` :meth:`def GetNodeXYZ ` :meth:`def GetNodeInverseElements ` :meth:`def GetNodePosition ` :meth:`def GetElementPosition ` :meth:`def GetShapeID ` :meth:`def GetShapeIDForElem ` :meth:`def GetElemNbNodes ` :meth:`def GetElemNode ` :meth:`def GetElemNodes ` :meth:`def IsMediumNode ` :meth:`def IsMediumNodeOfAnyElem ` :meth:`def ElemNbEdges ` :meth:`def ElemNbFaces ` :meth:`def GetElemFaceNodes ` :meth:`def GetFaceNormal ` :meth:`def FindElementByNodes ` :meth:`def GetElementsByNodes ` :meth:`def IsPoly ` :meth:`def IsQuadratic ` :meth:`def GetBallDiameter ` :meth:`def BaryCenter ` :meth:`def FindNodeClosestTo ` :meth:`def FindElementsByPoint ` :meth:`def GetPointState ` ****************************** Quality controls and Filtering ****************************** Functions: :meth:`def GetEmptyCriterion ` :meth:`def GetCriterion ` :meth:`def GetFilter ` :meth:`def GetFilterFromCriteria ` :meth:`def GetFunctor ` :meth:`def GetIdsFromFilter ` :meth:`def IsManifold ` :meth:`def IsCoherentOrientation2D ` ***************** Grouping elements ***************** Functions: :meth:`def SetAutoColor ` :meth:`def GetAutoColor ` :meth:`def HasDuplicatedGroupNamesMED ` Creating groups ############### Functions: :meth:`def CreateEmptyGroup ` :meth:`def Group ` :meth:`def GroupOnGeom ` :meth:`def GroupOnFilter ` :meth:`def MakeGroupByIds ` :meth:`def MakeGroup ` :meth:`def MakeGroupByCriterion ` :meth:`def MakeGroupByCriteria ` :meth:`def MakeGroupByFilter ` :meth:`def GetGroups ` :meth:`def NbGroups ` :meth:`def GetGroupNames ` :meth:`def GetGroupByName ` Using operations on groups ########################## Functions: :meth:`def UnionGroups ` :meth:`def UnionListOfGroups ` :meth:`def IntersectGroups ` :meth:`def IntersectListOfGroups ` :meth:`def CutGroups ` :meth:`def CutListOfGroups ` :meth:`def CreateDimGroup ` :meth:`def ConvertToStandalone ` Deleting groups ############### Functions: :meth:`def RemoveGroup ` :meth:`def RemoveGroupWithContents ` **************** Modifying meshes **************** Functions: :meth:`def GetPattern ` :meth:`def GetMeshEditor ` Adding nodes and elements ######################### Functions: :meth:`def AddNode ` :meth:`def Add0DElement ` :meth:`def Add0DElementsToAllNodes ` :meth:`def AddBall ` :meth:`def AddEdge ` :meth:`def AddFace ` :meth:`def AddPolygonalFace ` :meth:`def AddQuadPolygonalFace ` :meth:`def AddVolume ` :meth:`def AddPolyhedralVolume ` :meth:`def AddPolyhedralVolumeByFaces ` :meth:`def SetNodeOnVertex ` :meth:`def SetNodeOnEdge ` :meth:`def SetNodeOnFace ` :meth:`def SetNodeInVolume ` :meth:`def SetMeshElementOnShape ` :meth:`def Make2DMeshFrom3D ` :meth:`def MakeBoundaryMesh ` :meth:`def MakeBoundaryElements ` :meth:`def GetLastCreatedNodes ` :meth:`def GetLastCreatedElems ` :meth:`def ClearLastCreated ` Removing nodes and elements ########################### Functions: :meth:`def RemoveElements ` :meth:`def RemoveNodes ` :meth:`def RemoveOrphanNodes ` Modifying nodes and elements ############################ functions: :meth:`def MoveNode ` :meth:`def MoveClosestNodeToPoint ` :meth:`def MeshToPassThroughAPoint ` :meth:`def ChangeElemNodes ` Renumbering nodes and elements ############################## Functions: :meth:`def RenumberNodes ` :meth:`def RenumberElements ` Transforming meshes (Translation, Rotation, Symmetry, Sewing, Merging) ###################################################################### Functions: :meth:`def Mirror ` :meth:`def MirrorMakeMesh ` :meth:`def MirrorObject ` :meth:`def MirrorObjectMakeMesh ` :meth:`def Translate ` :meth:`def TranslateMakeMesh ` :meth:`def TranslateObject ` :meth:`def TranslateObjectMakeMesh ` :meth:`def Rotate ` :meth:`def RotateMakeMesh ` :meth:`def RotateObject ` :meth:`def RotateObjectMakeMesh ` :meth:`def FindCoincidentNodes ` :meth:`def FindCoincidentNodesOnPart ` :meth:`def MergeNodes ` :meth:`def FindEqualElements ` :meth:`def MergeElements ` :meth:`def MergeEqualElements ` :meth:`def FindFreeBorders ` :meth:`def FillHole ` :meth:`def FindCoincidentFreeBorders ` :meth:`def SewCoincidentFreeBorders ` :meth:`def SewFreeBorders ` :meth:`def SewConformFreeBorders ` :meth:`def SewBorderToSide ` :meth:`def SewSideElements ` Uniting triangles ################# Functions: :meth:`def DeleteDiag ` :meth:`def TriToQuad ` :meth:`def TriToQuadObject ` Cutting elements ################ Functions: :meth:`def InverseDiag ` :meth:`def QuadToTri ` :meth:`def QuadToTriObject ` :meth:`def QuadTo4Tri ` :meth:`def SplitQuad ` :meth:`def SplitQuadObject ` :meth:`def BestSplit ` :meth:`def SplitVolumesIntoTetra ` :meth:`def SplitBiQuadraticIntoLinear ` :meth:`def SplitHexahedraIntoPrisms ` :meth:`def SplitQuadsNearTriangularFacets ` :meth:`def SplitHexaToTetras ` :meth:`def SplitHexaToPrisms ` Changing orientation of elements ################################ Functions: :meth:`def Reorient ` :meth:`def ReorientObject ` :meth:`def Reorient2D ` :meth:`def Reorient2DBy3D ` Smoothing ######### Functions: :meth:`def Smooth ` :meth:`def SmoothObject ` :meth:`def SmoothParametric ` :meth:`def SmoothParametricObject ` Extrusion and Revolution ######################## Functions: :meth:`def RotationSweepObjects ` :meth:`def RotationSweep ` :meth:`def RotationSweepObject ` :meth:`def RotationSweepObject1D ` :meth:`def RotationSweepObject2D ` :meth:`def ExtrusionSweepObjects ` :meth:`def ExtrusionSweep ` :meth:`def ExtrusionByNormal ` :meth:`def ExtrusionSweepObject ` :meth:`def ExtrusionSweepObject1D ` :meth:`def ExtrusionSweepObject2D ` :meth:`def AdvancedExtrusion ` :meth:`def ExtrusionAlongPathObjects ` :meth:`def ExtrusionAlongPathX ` :meth:`def ExtrusionAlongPath ` :meth:`def ExtrusionAlongPathObject ` :meth:`def ExtrusionAlongPathObject1D ` :meth:`def ExtrusionAlongPathObject2D ` Convert to/from Quadratic Mesh ############################## Functions: :meth:`def ConvertToQuadratic ` :meth:`def ConvertFromQuadratic ` Duplication of nodes and elements (to emulate cracks) ##################################################### Functions: :meth:`def DoubleElements ` :meth:`def DoubleNodes ` :meth:`def DoubleNode ` :meth:`def DoubleNodeGroup ` :meth:`def DoubleNodeGroups ` :meth:`def DoubleNodeElem ` :meth:`def DoubleNodeElemInRegion ` :meth:`def DoubleNodeElemGroup ` :meth:`def DoubleNodeElemGroupInRegion ` :meth:`def DoubleNodeElemGroups ` :meth:`def DoubleNodeElemGroupsInRegion ` :meth:`def AffectedElemGroupsInRegion ` :meth:`def DoubleNodesOnGroupBoundaries ` :meth:`def CreateFlatElementsOnFacesGroups ` ************ Measurements ************ Functions: :meth:`def MinDistance ` :meth:`def GetMinDistance ` :meth:`def BoundingBox ` :meth:`def GetBoundingBox ` :meth:`def GetLength ` :meth:`def GetArea ` :meth:`def GetVolume ` :meth:`def GetFreeBorders ` :meth:`def MinDistance ` :meth:`def GetMinDistance ` :meth:`def BoundingBox ` :meth:`def GetBoundingBox ` :meth:`def GetFunctor ` :meth:`def FunctorValue ` :meth:`def GetLength ` :meth:`def GetArea ` :meth:`def GetVolume ` :meth:`def GetMaxElementLength ` :meth:`def GetAspectRatio ` :meth:`def GetWarping ` :meth:`def GetMinimumAngle ` :meth:`def GetTaper ` :meth:`def GetSkew ` :meth:`def GetMinMax ` ******************************* Accessing SMESH object in study ******************************* Data Structures: :class:`SMeshStudyTools `