Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Nesting.BoxNestingOptions | operator (*args, **kwargs) |
| Nesting.BoxNestingOptions | operator (*args, **kwargs) |
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
|
static |
| None mrmeshpy.Nesting.BoxNestingOptions.__init__ | ( | self | ) |
| None mrmeshpy.Nesting.BoxNestingOptions.__init__ | ( | self, | |
| Nesting.BoxNestingOptions | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.Nesting.BoxNestingOptions.__init__ | ( | self, | |
| bool | allow3dNesting, | ||
| bool | allowRotation, | ||
| bool | volumeBasedOrder, | ||
| bool | checkLessCombinations, | ||
| int | iterationLimit, | ||
| Nesting.IBoxNestingPriority | priorityMetric, | ||
| Vector3f | expansionFactor, | ||
| std_vector_Box_Vector3_float | preNestedVolumes, | ||
| std_vector_Nesting_BoxNestingCorner | additinalSocketCorners, | ||
| 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
| None mrmeshpy.Nesting.BoxNestingOptions.additinalSocketCorners | ( | self, | |
| std_vector_Nesting_BoxNestingCorner | arg1 ) |
| bool mrmeshpy.Nesting.BoxNestingOptions.allow3dNesting | ( | self | ) |
if true allows placing objects over the bottom plane
| None mrmeshpy.Nesting.BoxNestingOptions.allow3dNesting | ( | self, | |
| bool | arg1 ) |
| bool mrmeshpy.Nesting.BoxNestingOptions.allowRotation | ( | self | ) |
set false to keep original XY orientation
| None mrmeshpy.Nesting.BoxNestingOptions.allowRotation | ( | self, | |
| bool | arg1 ) |
| func_bool_from_float mrmeshpy.Nesting.BoxNestingOptions.cb | ( | self | ) |
callback indicating progress of the nesting
| None mrmeshpy.Nesting.BoxNestingOptions.cb | ( | self, | |
| func_bool_from_float | arg1 ) |
| bool mrmeshpy.Nesting.BoxNestingOptions.checkLessCombinations | ( | self | ) |
reduces nesting candidate options for speedup
| None mrmeshpy.Nesting.BoxNestingOptions.checkLessCombinations | ( | self, | |
| bool | arg1 ) |
| Vector3f mrmeshpy.Nesting.BoxNestingOptions.expansionFactor | ( | self | ) |
optional input expansion of boxes (useful to compensate shrinkage of material)
| None mrmeshpy.Nesting.BoxNestingOptions.expansionFactor | ( | self, | |
| Vector3f | arg1 ) |
| int mrmeshpy.Nesting.BoxNestingOptions.iterationLimit | ( | self | ) |
limit maximum number of tries, not to freeze for too long in this function
| None mrmeshpy.Nesting.BoxNestingOptions.iterationLimit | ( | self, | |
| int | arg1 ) |
|
static |
|
static |
| 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
| None mrmeshpy.Nesting.BoxNestingOptions.preNestedVolumes | ( | self, | |
| std_vector_Box_Vector3_float | arg1 ) |
| Nesting.IBoxNestingPriority mrmeshpy.Nesting.BoxNestingOptions.priorityMetric | ( | self | ) |
metric to calculate priority for candidates placement if not set - default `getNestPostionMinPriorityMetric` is used
| None mrmeshpy.Nesting.BoxNestingOptions.priorityMetric | ( | self, | |
| Nesting.IBoxNestingPriority | arg1 ) |
| bool mrmeshpy.Nesting.BoxNestingOptions.volumeBasedOrder | ( | self | ) |
if true - nests objects in the order of decreasing volume, otherwise nest in the input order
| None mrmeshpy.Nesting.BoxNestingOptions.volumeBasedOrder | ( | self, | |
| bool | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |