This class allows to create, load or manipulate meshes. More...
Public Member Functions | |
def | __new__ |
def | __init__ |
def | DumpPython |
Dump component to the Python script This method overrides IDL function to allow default values for the parameters. More... | |
def | SetDumpPythonHistorical |
Set mode of DumpPython(), historical or snapshot. More... | |
def | init_smesh |
Set the current study and Geometry component. More... | |
def | Mesh |
Create a mesh. More... | |
def | EnumToLong |
Return a long value from enumeration. More... | |
def | ColorToString |
Return a string representation of the color. More... | |
def | GetPointStruct |
Get PointStruct from vertex. More... | |
def | GetDirStruct |
Get DirStruct from vector. More... | |
def | MakeDirStruct |
Make DirStruct from a triplet. More... | |
def | GetAxisStruct |
Get AxisStruct from object. More... | |
def | SetName |
Set the given name to the object. More... | |
def | SetEmbeddedMode |
Set the current mode. More... | |
def | IsEmbeddedMode |
Get the current mode. More... | |
def | SetCurrentStudy |
Set the current study. More... | |
def | GetCurrentStudy |
Get the current study. More... | |
def | CreateMeshesFromUNV |
Create a Mesh object importing data from the given UNV file. More... | |
def | CreateMeshesFromMED |
Create a Mesh object(s) importing data from the given MED file. More... | |
def | CreateMeshesFromSAUV |
Create a Mesh object(s) importing data from the given SAUV file. More... | |
def | CreateMeshesFromSTL |
Create a Mesh object importing data from the given STL file. More... | |
def | CreateMeshesFromCGNS |
Create Mesh objects importing data from the given CGNS file. More... | |
def | CreateMeshesFromGMF |
Create a Mesh object importing data from the given GMF file. More... | |
def | Concatenate |
Concatenate the given meshes into one mesh. More... | |
def | CopyMesh |
Create a mesh by copying a part of another mesh. More... | |
def | GetSubShapesId |
Return IDs of sub-shapes. More... | |
def | GetPattern |
Create a pattern mapper. More... | |
def | SetBoundaryBoxSegmentation |
Set number of segments per diagonal of boundary box of geometry, by which default segment length of appropriate 1D hypotheses is defined in GUI. More... | |
def | GetEmptyCriterion |
Create an empty criterion. More... | |
def | GetCriterion |
Create a criterion by the given parameters Criterion structures allow to define complex filters by combining them with logical operations (AND / OR) (see example below) More... | |
def | GetFilter |
Create a filter with the given parameters. More... | |
def | GetFilterFromCriteria |
Create a filter from criteria. More... | |
def | GetFunctor |
Create a numerical functor by its type. More... | |
def | CreateHypothesis |
Create hypothesis. More... | |
def | GetMeshInfo |
Get the mesh statistic. More... | |
def | MinDistance |
Get minimum distance between two objects. More... | |
def | GetMinDistance |
Get measure structure specifying minimum distance data between two objects. More... | |
def | BoundingBox |
Get bounding box of the specified object(s) More... | |
def | GetBoundingBox |
Get measure structure specifying bounding box data of the specified object(s) More... | |
def | GetLength |
Get sum of lengths of all 1D elements in the mesh object. More... | |
def | GetArea |
Get sum of areas of all 2D elements in the mesh object. More... | |
def | GetVolume |
Get sum of volumes of all 3D elements in the mesh object. More... | |
Data Fields | |
geompyD | |
Static Public Attributes | |
POINT = SMESH_MeshEditor.POINT | |
AXIS = SMESH_MeshEditor.AXIS | |
PLANE = SMESH_MeshEditor.PLANE | |
LAPLACIAN_SMOOTH = SMESH_MeshEditor.LAPLACIAN_SMOOTH | |
CENTROIDAL_SMOOTH = SMESH_MeshEditor.CENTROIDAL_SMOOTH | |
PrecisionConfusion = smeshPrecisionConfusion | |
This class allows to create, load or manipulate meshes.
It has a set of methods to create, load or copy meshes, to combine several meshes, etc. It also has methods to get infos and measure meshes.
def __init__ | ( | self | ) |
def __new__ | ( | cls | ) |
def CreateHypothesis | ( | self, | |
theHType, | |||
theLibName = "libStdMeshersEngine.so" |
|||
) |
Create hypothesis.
theHType | mesh hypothesis type (string) |
theLibName | mesh plug-in library name |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
geompyD |