Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstUniteManyMeshesParams | |
| typing | _offsetof_fixDegenerations = 1 |
| typing | _offsetof_forceCut = 37 |
| typing | _offsetof_maxAllowedError = 4 |
| typing | _offsetof_mergeOnFail = 36 |
| typing | _offsetof_nestedComponentsMode = 32 |
| typing | _offsetof_new2oldFaces = 24 |
| typing | _offsetof_newFaces = 16 |
| typing | _offsetof_progressCb = 40 |
| typing | _offsetof_randomShiftsSeed = 8 |
| typing | _offsetof_useRandomShifts = 0 |
Generated from: MR::UniteManyMeshesParams Parameters structure for uniteManyMeshes function
|
static |
| None mrmeshpy.UniteManyMeshesParams.__init__ | ( | self | ) |
| None mrmeshpy.UniteManyMeshesParams.__init__ | ( | self, | |
| ConstUniteManyMeshesParams | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.UniteManyMeshesParams.__init__ | ( | self, | |
| bool | useRandomShifts, | ||
| bool | fixDegenerations, | ||
| float | maxAllowedError, | ||
| int | randomShiftsSeed, | ||
| FaceBitSet | newFaces, | ||
| Vector_ObjFaceId_FaceId | new2oldFaces, | ||
| NestedComponenetsMode | nestedComponentsMode, | ||
| bool | mergeOnFail, | ||
| bool | forceCut, | ||
| Const_func_bool_from_float | progressCb ) |
Implicit aggregate constructor.
| UniteManyMeshesParams mrmeshpy.UniteManyMeshesParams.assign | ( | self, | |
| ConstUniteManyMeshesParams | other ) |
| bool mrmeshpy.UniteManyMeshesParams.fixDegenerations | ( | self | ) |
Try fix degenerations after each boolean step, to prevent boolean failure due to high amount of degenerated faces useful on meshes with many coincident surfaces (useRandomShifts used for same issue)
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.fixDegenerations | ( | self, | |
| bool | arg1 ) |
Try fix degenerations after each boolean step, to prevent boolean failure due to high amount of degenerated faces useful on meshes with many coincident surfaces (useRandomShifts used for same issue)
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| bool mrmeshpy.UniteManyMeshesParams.forceCut | ( | self | ) |
If this option is enabled boolean will cut meshes even if there are self-intersections in intersecting area also applying \\ref MR::MeshBuilder::uniteCloseVertices and \\ref MR::fillHoles afterwards \\warning if enabled - closed meshes expected on input \\warning not recommended in most cases
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.forceCut | ( | self, | |
| bool | arg1 ) |
If this option is enabled boolean will cut meshes even if there are self-intersections in intersecting area also applying \\ref MR::MeshBuilder::uniteCloseVertices and \\ref MR::fillHoles afterwards \\warning if enabled - closed meshes expected on input \\warning not recommended in most cases
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| float mrmeshpy.UniteManyMeshesParams.maxAllowedError | ( | self | ) |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.maxAllowedError | ( | self, | |
| float | arg1 ) |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| bool mrmeshpy.UniteManyMeshesParams.mergeOnFail | ( | self | ) |
If set - merges meshes instead of booleaning it if boolean operation fails
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.mergeOnFail | ( | self, | |
| bool | arg1 ) |
If set - merges meshes instead of booleaning it if boolean operation fails
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| NestedComponenetsMode mrmeshpy.UniteManyMeshesParams.nestedComponentsMode | ( | self | ) |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.nestedComponentsMode | ( | self, | |
| NestedComponenetsMode | arg1 ) |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| Vector_ObjFaceId_FaceId mrmeshpy.UniteManyMeshesParams.new2oldFaces | ( | self | ) |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.new2oldFaces | ( | self, | |
| Vector_ObjFaceId_FaceId | arg1 ) |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| FaceBitSet mrmeshpy.UniteManyMeshesParams.newFaces | ( | self | ) |
If set, the bitset will store new faces created by boolean operations
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.newFaces | ( | self, | |
| FaceBitSet | arg1 ) |
If set, the bitset will store new faces created by boolean operations
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| func_bool_from_float mrmeshpy.UniteManyMeshesParams.progressCb | ( | self | ) |
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.progressCb | ( | self, | |
| Const_func_bool_from_float | arg1 ) |
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| int mrmeshpy.UniteManyMeshesParams.randomShiftsSeed | ( | self | ) |
Seed that is used for random shifts
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.randomShiftsSeed | ( | self, | |
| int | arg1 ) |
Seed that is used for random shifts
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| bool mrmeshpy.UniteManyMeshesParams.useRandomShifts | ( | self | ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.
| None mrmeshpy.UniteManyMeshesParams.useRandomShifts | ( | self, | |
| bool | arg1 ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces
Reimplemented from mrmeshpy.ConstUniteManyMeshesParams.