Classes | |
| class | Mode |
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Const_func_bool_from_float | cb (self) |
| float | criticalTriAspectRatio (self) |
| float | maxAngleChange (self) |
| float | maxDeviation (self) |
| bool | mimicPatch (self) |
| FixMeshDegeneraciesParams.Mode | mode (self) |
| bool | protectAttributeBorders (self) |
| FaceBitSet | region (self) |
| float | stabilizer (self) |
| float | tinyEdgeLength (self) |
Static Protected Attributes | |
| typing | _offsetof_cb = 40 |
| typing | _offsetof_criticalTriAspectRatio = 8 |
| typing | _offsetof_maxAngleChange = 12 |
| typing | _offsetof_maxDeviation = 0 |
| typing | _offsetof_mimicPatch = 36 |
| typing | _offsetof_mode = 32 |
| typing | _offsetof_protectAttributeBorders = 37 |
| typing | _offsetof_region = 24 |
| typing | _offsetof_stabilizer = 16 |
| typing | _offsetof_tinyEdgeLength = 4 |
Generated from: MR::FixMeshDegeneraciesParams
| mrmeshpy.ConstFixMeshDegeneraciesParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFixMeshDegeneraciesParams) -> None 2. __init__(self: meshlib.mrmeshpy.ConstFixMeshDegeneraciesParams, arg0: meshlib.mrmeshpy.ConstFixMeshDegeneraciesParams) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstFixMeshDegeneraciesParams, maxDeviation: float, tinyEdgeLength: float, criticalTriAspectRatio: float, maxAngleChange: float, stabilizer: float, region: meshlib.mrmeshpy.FaceBitSet, mode: meshlib.mrmeshpy.FixMeshDegeneraciesParams.Mode, mimicPatch: bool, protectAttributeBorders: bool, cb: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstFixMeshDegeneraciesParams, : meshlib.mrmeshpy.ConstFixMeshDegeneraciesParams) -> None
| Const_func_bool_from_float mrmeshpy.ConstFixMeshDegeneraciesParams.cb | ( | self | ) |
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| float mrmeshpy.ConstFixMeshDegeneraciesParams.criticalTriAspectRatio | ( | self | ) |
the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| float mrmeshpy.ConstFixMeshDegeneraciesParams.maxAngleChange | ( | self | ) |
Permit edge flips if it does not change dihedral angle more than on this value
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| float mrmeshpy.ConstFixMeshDegeneraciesParams.maxDeviation | ( | self | ) |
maximum permitted deviation from the original surface
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| bool mrmeshpy.ConstFixMeshDegeneraciesParams.mimicPatch | ( | self | ) |
trying to stay close to initial surface when patching also disables smoothing on patch
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| FixMeshDegeneraciesParams.Mode mrmeshpy.ConstFixMeshDegeneraciesParams.mode | ( | self | ) |
| bool mrmeshpy.ConstFixMeshDegeneraciesParams.protectAttributeBorders | ( | self | ) |
only for fixMeshDataDegeneracies (fixMeshDegeneracies ignores it): never flip the edges between faces with different colors or texture ids, the selected edges and the creases, so that the fixing does not move them, but their vertices can still shift by up to max( maxDeviation, tinyEdgeLength ) in the collapses of nearby edges; a degenerate triangle with the longest edge among them is then fixed only if its opposite vertex is within max( maxDeviation, tinyEdgeLength ) from that edge, or by Mode::RemeshPatch
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| FaceBitSet mrmeshpy.ConstFixMeshDegeneraciesParams.region | ( | self | ) |
degenerations will be fixed only in given region, it is updated during the operation
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| float mrmeshpy.ConstFixMeshDegeneraciesParams.stabilizer | ( | self | ) |
Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
| float mrmeshpy.ConstFixMeshDegeneraciesParams.tinyEdgeLength | ( | self | ) |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
Reimplemented in mrmeshpy.FixMeshDegeneraciesParams, and mrmeshpy.FixMeshDegeneraciesParams.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |