Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, UniteManyMeshesParams arg0) |
| None | __init__ (self, bool useRandomShifts, bool fixDegenerations, float maxAllowedError, int randomShiftsSeed, FaceBitSet newFaces, NestedComponenetsMode nestedComponentsMode, bool mergeOnFail, bool forceCut, func_bool_from_float progressCb) |
| bool | fixDegenerations (self) |
| None | fixDegenerations (self, bool arg1) |
| bool | forceCut (self) |
| None | forceCut (self, bool arg1) |
| float | maxAllowedError (self) |
| None | maxAllowedError (self, float arg1) |
| bool | mergeOnFail (self) |
| None | mergeOnFail (self, bool arg1) |
| NestedComponenetsMode | nestedComponentsMode (self) |
| None | nestedComponentsMode (self, NestedComponenetsMode arg1) |
| FaceBitSet | newFaces (self) |
| None | newFaces (self, FaceBitSet arg1) |
| int | randomShiftsSeed (self) |
| None | randomShiftsSeed (self, int arg1) |
| bool | useRandomShifts (self) |
| None | useRandomShifts (self, bool arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| UniteManyMeshesParams | operator (*args, **kwargs) |
| UniteManyMeshesParams | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_fixDegenerations = 1 |
| typing | _offsetof_forceCut = 29 |
| typing | _offsetof_maxAllowedError = 4 |
| typing | _offsetof_mergeOnFail = 28 |
| typing | _offsetof_nestedComponentsMode = 24 |
| typing | _offsetof_newFaces = 16 |
| typing | _offsetof_progressCb = 32 |
| 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, | |
| UniteManyMeshesParams | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.UniteManyMeshesParams.__init__ | ( | self, | |
| bool | useRandomShifts, | ||
| bool | fixDegenerations, | ||
| float | maxAllowedError, | ||
| int | randomShiftsSeed, | ||
| FaceBitSet | newFaces, | ||
| NestedComponenetsMode | nestedComponentsMode, | ||
| bool | mergeOnFail, | ||
| bool | forceCut, | ||
| func_bool_from_float | progressCb ) |
Implicit aggregate constructor.
| 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)
| None mrmeshpy.UniteManyMeshesParams.fixDegenerations | ( | self, | |
| bool | arg1 ) |
| 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
| None mrmeshpy.UniteManyMeshesParams.forceCut | ( | self, | |
| bool | arg1 ) |
| 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
| None mrmeshpy.UniteManyMeshesParams.maxAllowedError | ( | self, | |
| float | arg1 ) |
| bool mrmeshpy.UniteManyMeshesParams.mergeOnFail | ( | self | ) |
If set - merges meshes instead of booleaning it if boolean operation fails
| None mrmeshpy.UniteManyMeshesParams.mergeOnFail | ( | self, | |
| bool | arg1 ) |
| 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
| None mrmeshpy.UniteManyMeshesParams.nestedComponentsMode | ( | self, | |
| NestedComponenetsMode | arg1 ) |
| FaceBitSet mrmeshpy.UniteManyMeshesParams.newFaces | ( | self | ) |
If set, the bitset will store new faces created by boolean operations
| None mrmeshpy.UniteManyMeshesParams.newFaces | ( | self, | |
| FaceBitSet | arg1 ) |
|
static |
|
static |
| int mrmeshpy.UniteManyMeshesParams.randomShiftsSeed | ( | self | ) |
Seed that is used for random shifts
| None mrmeshpy.UniteManyMeshesParams.randomShiftsSeed | ( | self, | |
| int | arg1 ) |
| bool mrmeshpy.UniteManyMeshesParams.useRandomShifts | ( | self | ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces
| None mrmeshpy.UniteManyMeshesParams.useRandomShifts | ( | self, | |
| bool | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |