Classes | |
| class | Mode |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstFixMeshDegeneraciesParams | |
| 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
|
static |
| None mrmeshpy.FixMeshDegeneraciesParams.__init__ | ( | self | ) |
| None mrmeshpy.FixMeshDegeneraciesParams.__init__ | ( | self, | |
| ConstFixMeshDegeneraciesParams | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.FixMeshDegeneraciesParams.__init__ | ( | self, | |
| float | maxDeviation, | ||
| float | tinyEdgeLength, | ||
| float | criticalTriAspectRatio, | ||
| float | maxAngleChange, | ||
| float | stabilizer, | ||
| FaceBitSet | region, | ||
| FixMeshDegeneraciesParams.Mode | mode, | ||
| bool | mimicPatch, | ||
| bool | protectAttributeBorders, | ||
| Const_func_bool_from_float | cb ) |
Implicit aggregate constructor.
| FixMeshDegeneraciesParams mrmeshpy.FixMeshDegeneraciesParams.assign | ( | self, | |
| ConstFixMeshDegeneraciesParams | other ) |
| func_bool_from_float mrmeshpy.FixMeshDegeneraciesParams.cb | ( | self | ) |
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.cb | ( | self, | |
| Const_func_bool_from_float | arg1 ) |
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| float mrmeshpy.FixMeshDegeneraciesParams.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 from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.criticalTriAspectRatio | ( | self, | |
| float | arg1 ) |
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 from mrmeshpy.ConstFixMeshDegeneraciesParams.
| float mrmeshpy.FixMeshDegeneraciesParams.maxAngleChange | ( | self | ) |
Permit edge flips if it does not change dihedral angle more than on this value
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.maxAngleChange | ( | self, | |
| float | arg1 ) |
Permit edge flips if it does not change dihedral angle more than on this value
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| float mrmeshpy.FixMeshDegeneraciesParams.maxDeviation | ( | self | ) |
maximum permitted deviation from the original surface
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.maxDeviation | ( | self, | |
| float | arg1 ) |
maximum permitted deviation from the original surface
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| bool mrmeshpy.FixMeshDegeneraciesParams.mimicPatch | ( | self | ) |
trying to stay close to initial surface when patching also disables smoothing on patch
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.mimicPatch | ( | self, | |
| bool | arg1 ) |
trying to stay close to initial surface when patching also disables smoothing on patch
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| bool mrmeshpy.FixMeshDegeneraciesParams.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 from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.protectAttributeBorders | ( | self, | |
| bool | arg1 ) |
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 from mrmeshpy.ConstFixMeshDegeneraciesParams.
| FaceBitSet mrmeshpy.FixMeshDegeneraciesParams.region | ( | self | ) |
degenerations will be fixed only in given region, it is updated during the operation
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.region | ( | self, | |
| FaceBitSet | arg1 ) |
degenerations will be fixed only in given region, it is updated during the operation
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| float mrmeshpy.FixMeshDegeneraciesParams.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 from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.stabilizer | ( | self, | |
| float | arg1 ) |
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 from mrmeshpy.ConstFixMeshDegeneraciesParams.
| float mrmeshpy.FixMeshDegeneraciesParams.tinyEdgeLength | ( | self | ) |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.
| None mrmeshpy.FixMeshDegeneraciesParams.tinyEdgeLength | ( | self, | |
| float | arg1 ) |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
Reimplemented from mrmeshpy.ConstFixMeshDegeneraciesParams.