Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.Nesting.ConstBoxNestingOptions | |
| 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
|
static |
| None mrmeshpy.Nesting.BoxNestingOptions.__init__ | ( | self | ) |
| None mrmeshpy.Nesting.BoxNestingOptions.__init__ | ( | self, | |
| Nesting.ConstBoxNestingOptions | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.Nesting.BoxNestingOptions.__init__ | ( | self, | |
| bool | allow3dNesting, | ||
| bool | allowRotation, | ||
| bool | volumeBasedOrder, | ||
| bool | checkLessCombinations, | ||
| int | iterationLimit, | ||
| Nesting.IBoxNestingPriority | priorityMetric, | ||
| ConstVector3f | expansionFactor, | ||
| Const_std_vector_Box_Vector3_float | preNestedVolumes, | ||
| Const_std_vector_Nesting_BoxNestingCorner | additinalSocketCorners, | ||
| Const_func_bool_from_float | cb ) |
Implicit aggregate constructor.
| std_vector_Nesting_BoxNestingCorner mrmeshpy.Nesting.BoxNestingOptions.additinalSocketCorners | ( | self | ) |
user might force these sockets to be considered as corners for placing candidates
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.additinalSocketCorners | ( | self, | |
| Const_std_vector_Nesting_BoxNestingCorner | arg1 ) |
user might force these sockets to be considered as corners for placing candidates
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| bool mrmeshpy.Nesting.BoxNestingOptions.allow3dNesting | ( | self | ) |
if true allows placing objects over the bottom plane
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.allow3dNesting | ( | self, | |
| bool | arg1 ) |
if true allows placing objects over the bottom plane
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| bool mrmeshpy.Nesting.BoxNestingOptions.allowRotation | ( | self | ) |
set false to keep original XY orientation
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.allowRotation | ( | self, | |
| bool | arg1 ) |
set false to keep original XY orientation
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| Nesting.BoxNestingOptions mrmeshpy.Nesting.BoxNestingOptions.assign | ( | self, | |
| Nesting.ConstBoxNestingOptions | other ) |
| func_bool_from_float mrmeshpy.Nesting.BoxNestingOptions.cb | ( | self | ) |
callback indicating progress of the nesting
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.cb | ( | self, | |
| Const_func_bool_from_float | arg1 ) |
callback indicating progress of the nesting
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| bool mrmeshpy.Nesting.BoxNestingOptions.checkLessCombinations | ( | self | ) |
reduces nesting candidate options for speedup
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.checkLessCombinations | ( | self, | |
| bool | arg1 ) |
reduces nesting candidate options for speedup
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| Vector3f mrmeshpy.Nesting.BoxNestingOptions.expansionFactor | ( | self | ) |
optional input expansion of boxes (useful to compensate shrinkage of material)
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.expansionFactor | ( | self, | |
| ConstVector3f | arg1 ) |
optional input expansion of boxes (useful to compensate shrinkage of material)
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| int mrmeshpy.Nesting.BoxNestingOptions.iterationLimit | ( | self | ) |
limit maximum number of tries, not to freeze for too long in this function
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.iterationLimit | ( | self, | |
| int | arg1 ) |
limit maximum number of tries, not to freeze for too long in this function
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| std_vector_Box_Vector3_float mrmeshpy.Nesting.BoxNestingOptions.preNestedVolumes | ( | self | ) |
if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.preNestedVolumes | ( | self, | |
| Const_std_vector_Box_Vector3_float | arg1 ) |
if not-nullptr contains boxes that are fixed in the nest and should not be intersected by floating (input) meshes
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| Nesting.IBoxNestingPriority mrmeshpy.Nesting.BoxNestingOptions.priorityMetric | ( | self | ) |
metric to calculate priority for candidates placement if not set - default `getNestPostionMinPriorityMetric` is used
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.priorityMetric | ( | self, | |
| Nesting.IBoxNestingPriority | arg1 ) |
metric to calculate priority for candidates placement if not set - default `getNestPostionMinPriorityMetric` is used
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| bool mrmeshpy.Nesting.BoxNestingOptions.volumeBasedOrder | ( | self | ) |
if true - nests objects in the order of decreasing volume, otherwise nest in the input order
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.
| None mrmeshpy.Nesting.BoxNestingOptions.volumeBasedOrder | ( | self, | |
| bool | arg1 ) |
if true - nests objects in the order of decreasing volume, otherwise nest in the input order
Reimplemented from mrmeshpy.Nesting.ConstBoxNestingOptions.