MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.UniteManyMeshesParams Class Reference

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, func_bool_from_float progressCb)
 
bool fixDegenerations (self)
 
None fixDegenerations (self, bool arg1)
 
float maxAllowedError (self)
 
None maxAllowedError (self, float 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)
 

Detailed Description

Generated from:  MR::UniteManyMeshesParams

Parameters structure for uniteManyMeshes function

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.UniteManyMeshesParams.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.UniteManyMeshesParams.__init__ ( self,
UniteManyMeshesParams arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.UniteManyMeshesParams.__init__ ( self,
bool useRandomShifts,
bool fixDegenerations,
float maxAllowedError,
int randomShiftsSeed,
FaceBitSet newFaces,
NestedComponenetsMode nestedComponentsMode,
func_bool_from_float progressCb )
Implicit aggregate constructor.

Member Function Documentation

◆ fixDegenerations() [1/2]

bool meshlib.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)

◆ fixDegenerations() [2/2]

None meshlib.mrmeshpy.UniteManyMeshesParams.fixDegenerations ( self,
bool arg1 )

◆ maxAllowedError() [1/2]

float meshlib.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

◆ maxAllowedError() [2/2]

None meshlib.mrmeshpy.UniteManyMeshesParams.maxAllowedError ( self,
float arg1 )

◆ nestedComponentsMode() [1/2]

NestedComponenetsMode meshlib.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

◆ nestedComponentsMode() [2/2]

None meshlib.mrmeshpy.UniteManyMeshesParams.nestedComponentsMode ( self,
NestedComponenetsMode arg1 )

◆ newFaces() [1/2]

FaceBitSet meshlib.mrmeshpy.UniteManyMeshesParams.newFaces ( self)
If set, the bitset will store new faces created by boolean operations

◆ newFaces() [2/2]

None meshlib.mrmeshpy.UniteManyMeshesParams.newFaces ( self,
FaceBitSet arg1 )

◆ randomShiftsSeed() [1/2]

int meshlib.mrmeshpy.UniteManyMeshesParams.randomShiftsSeed ( self)
Seed that is used for random shifts

◆ randomShiftsSeed() [2/2]

None meshlib.mrmeshpy.UniteManyMeshesParams.randomShiftsSeed ( self,
int arg1 )

◆ useRandomShifts() [1/2]

bool meshlib.mrmeshpy.UniteManyMeshesParams.useRandomShifts ( self)
Apply random shift to each mesh, to prevent degenerations on coincident surfaces

◆ useRandomShifts() [2/2]

None meshlib.mrmeshpy.UniteManyMeshesParams.useRandomShifts ( self,
bool arg1 )

The documentation for this class was generated from the following file: