Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | fixDegenerations (self) |
| bool | forceCut (self) |
| float | maxAllowedError (self) |
| bool | mergeOnFail (self) |
| NestedComponenetsMode | nestedComponentsMode (self) |
| Vector_ObjFaceId_FaceId | new2oldFaces (self) |
| FaceBitSet | newFaces (self) |
| Const_func_bool_from_float | progressCb (self) |
| int | randomShiftsSeed (self) |
| bool | useRandomShifts (self) |
Static Protected Attributes | |
| 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
| mrmeshpy.ConstUniteManyMeshesParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstUniteManyMeshesParams) -> None 2. __init__(self: meshlib.mrmeshpy.ConstUniteManyMeshesParams, arg0: meshlib.mrmeshpy.ConstUniteManyMeshesParams) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstUniteManyMeshesParams, useRandomShifts: bool, fixDegenerations: bool, maxAllowedError: float, randomShiftsSeed: int, newFaces: meshlib.mrmeshpy.FaceBitSet, new2oldFaces: meshlib.mrmeshpy.Vector_ObjFaceId_FaceId, nestedComponentsMode: meshlib.mrmeshpy.NestedComponenetsMode, mergeOnFail: bool, forceCut: bool, progressCb: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstUniteManyMeshesParams, : meshlib.mrmeshpy.ConstUniteManyMeshesParams) -> None
| bool mrmeshpy.ConstUniteManyMeshesParams.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 in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| bool mrmeshpy.ConstUniteManyMeshesParams.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 in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| float mrmeshpy.ConstUniteManyMeshesParams.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 in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| bool mrmeshpy.ConstUniteManyMeshesParams.mergeOnFail | ( | self | ) |
If set - merges meshes instead of booleaning it if boolean operation fails
Reimplemented in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| NestedComponenetsMode mrmeshpy.ConstUniteManyMeshesParams.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 in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| Vector_ObjFaceId_FaceId mrmeshpy.ConstUniteManyMeshesParams.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 in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| FaceBitSet mrmeshpy.ConstUniteManyMeshesParams.newFaces | ( | self | ) |
If set, the bitset will store new faces created by boolean operations
Reimplemented in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| Const_func_bool_from_float mrmeshpy.ConstUniteManyMeshesParams.progressCb | ( | self | ) |
Reimplemented in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| int mrmeshpy.ConstUniteManyMeshesParams.randomShiftsSeed | ( | self | ) |
Seed that is used for random shifts
Reimplemented in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
| bool mrmeshpy.ConstUniteManyMeshesParams.useRandomShifts | ( | self | ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces
Reimplemented in mrmeshpy.UniteManyMeshesParams, and mrmeshpy.UniteManyMeshesParams.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |