Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| std_vector_Nesting_BoxNestingCorner | additinalSocketCorners (self) |
| bool | allow3dNesting (self) |
| bool | allowRotation (self) |
| Const_func_bool_from_float | cb (self) |
| bool | checkLessCombinations (self) |
| Vector3f | expansionFactor (self) |
| int | iterationLimit (self) |
| std_vector_Box_Vector3_float | preNestedVolumes (self) |
| Nesting.IBoxNestingPriority | priorityMetric (self) |
| bool | volumeBasedOrder (self) |
Static Protected Attributes | |
| typing | _offsetof_additinalSocketCorners = 40 |
| typing | _offsetof_allow3dNesting = 0 |
| typing | _offsetof_allowRotation = 1 |
| typing | _offsetof_cb = 48 |
| typing | _offsetof_checkLessCombinations = 3 |
| typing | _offsetof_expansionFactor = 24 |
| typing | _offsetof_iterationLimit = 4 |
| typing | _offsetof_preNestedVolumes = 32 |
| typing | _offsetof_priorityMetric = 8 |
| typing | _offsetof_volumeBasedOrder = 2 |
Generated from: MR::Nesting::BoxNestingOptions
| mrmeshpy.Nesting.ConstBoxNestingOptions.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.Nesting.ConstBoxNestingOptions) -> None 2. __init__(self: meshlib.mrmeshpy.Nesting.ConstBoxNestingOptions, arg0: meshlib.mrmeshpy.Nesting.ConstBoxNestingOptions) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.Nesting.ConstBoxNestingOptions, allow3dNesting: bool, allowRotation: bool, volumeBasedOrder: bool, checkLessCombinations: bool, iterationLimit: int, priorityMetric: meshlib.mrmeshpy.Nesting.IBoxNestingPriority, expansionFactor: meshlib.mrmeshpy.ConstVector3f, preNestedVolumes: meshlib.mrmeshpy.Const_std_vector_Box_Vector3_float, additinalSocketCorners: meshlib.mrmeshpy.Const_std_vector_Nesting_BoxNestingCorner, cb: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.Nesting.ConstBoxNestingOptions, : meshlib.mrmeshpy.Nesting.ConstBoxNestingOptions) -> None
| std_vector_Nesting_BoxNestingCorner mrmeshpy.Nesting.ConstBoxNestingOptions.additinalSocketCorners | ( | self | ) |
user might force these sockets to be considered as corners for placing candidates
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| bool mrmeshpy.Nesting.ConstBoxNestingOptions.allow3dNesting | ( | self | ) |
if true allows placing objects over the bottom plane
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| bool mrmeshpy.Nesting.ConstBoxNestingOptions.allowRotation | ( | self | ) |
set false to keep original XY orientation
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| Const_func_bool_from_float mrmeshpy.Nesting.ConstBoxNestingOptions.cb | ( | self | ) |
callback indicating progress of the nesting
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| bool mrmeshpy.Nesting.ConstBoxNestingOptions.checkLessCombinations | ( | self | ) |
reduces nesting candidate options for speedup
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| Vector3f mrmeshpy.Nesting.ConstBoxNestingOptions.expansionFactor | ( | self | ) |
optional input expansion of boxes (useful to compensate shrinkage of material)
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| int mrmeshpy.Nesting.ConstBoxNestingOptions.iterationLimit | ( | self | ) |
limit maximum number of tries, not to freeze for too long in this function
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| std_vector_Box_Vector3_float mrmeshpy.Nesting.ConstBoxNestingOptions.preNestedVolumes | ( | self | ) |
if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| Nesting.IBoxNestingPriority mrmeshpy.Nesting.ConstBoxNestingOptions.priorityMetric | ( | self | ) |
metric to calculate priority for candidates placement if not set - default `getNestPostionMinPriorityMetric` is used
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
| bool mrmeshpy.Nesting.ConstBoxNestingOptions.volumeBasedOrder | ( | self | ) |
if true - nests objects in the order of decreasing volume, otherwise nest in the input order
Reimplemented in mrmeshpy.Nesting.BoxNestingOptions, and mrmeshpy.Nesting.BoxNestingOptions.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |