MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

None __init__ (self)
None __init__ (self, Nesting.BoxNestingOptions arg0)
None __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)
std_vector_Nesting_BoxNestingCorner additinalSocketCorners (self)
None additinalSocketCorners (self, std_vector_Nesting_BoxNestingCorner arg1)
bool allow3dNesting (self)
None allow3dNesting (self, bool arg1)
bool allowRotation (self)
None allowRotation (self, bool arg1)
func_bool_from_float cb (self)
None cb (self, func_bool_from_float arg1)
bool checkLessCombinations (self)
None checkLessCombinations (self, bool arg1)
Vector3f expansionFactor (self)
None expansionFactor (self, Vector3f arg1)
int iterationLimit (self)
None iterationLimit (self, int arg1)
std_vector_Box_Vector3_float preNestedVolumes (self)
None preNestedVolumes (self, std_vector_Box_Vector3_float arg1)
Nesting.IBoxNestingPriority priorityMetric (self)
None priorityMetric (self, Nesting.IBoxNestingPriority arg1)
bool volumeBasedOrder (self)
None volumeBasedOrder (self, bool arg1)

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

Detailed Description

Generated from:  MR::Nesting::BoxNestingOptions

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Nesting.BoxNestingOptions.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.Nesting.BoxNestingOptions.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.Nesting.BoxNestingOptions.__init__ ( self,
Nesting.BoxNestingOptions arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

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.

Member Function Documentation

◆ additinalSocketCorners() [1/2]

std_vector_Nesting_BoxNestingCorner mrmeshpy.Nesting.BoxNestingOptions.additinalSocketCorners ( self)
user might force these sockets to be considered as corners for placing candidates

◆ additinalSocketCorners() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.additinalSocketCorners ( self,
std_vector_Nesting_BoxNestingCorner arg1 )

◆ allow3dNesting() [1/2]

bool mrmeshpy.Nesting.BoxNestingOptions.allow3dNesting ( self)
if true allows placing objects over the bottom plane

◆ allow3dNesting() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.allow3dNesting ( self,
bool arg1 )

◆ allowRotation() [1/2]

bool mrmeshpy.Nesting.BoxNestingOptions.allowRotation ( self)
set false to keep original XY orientation

◆ allowRotation() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.allowRotation ( self,
bool arg1 )

◆ cb() [1/2]

func_bool_from_float mrmeshpy.Nesting.BoxNestingOptions.cb ( self)
callback indicating progress of the nesting

◆ cb() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.cb ( self,
func_bool_from_float arg1 )

◆ checkLessCombinations() [1/2]

bool mrmeshpy.Nesting.BoxNestingOptions.checkLessCombinations ( self)
reduces nesting candidate options for speedup

◆ checkLessCombinations() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.checkLessCombinations ( self,
bool arg1 )

◆ expansionFactor() [1/2]

Vector3f mrmeshpy.Nesting.BoxNestingOptions.expansionFactor ( self)
optional input expansion of boxes (useful to compensate shrinkage of material)

◆ expansionFactor() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.expansionFactor ( self,
Vector3f arg1 )

◆ iterationLimit() [1/2]

int mrmeshpy.Nesting.BoxNestingOptions.iterationLimit ( self)
limit maximum number of tries, not to freeze for too long in this function

◆ iterationLimit() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.iterationLimit ( self,
int arg1 )

◆ operator() [1/2]

Nesting.BoxNestingOptions mrmeshpy.Nesting.BoxNestingOptions.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Nesting.BoxNestingOptions mrmeshpy.Nesting.BoxNestingOptions.operator ( * args,
** kwargs )
static

◆ preNestedVolumes() [1/2]

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

◆ preNestedVolumes() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.preNestedVolumes ( self,
std_vector_Box_Vector3_float arg1 )

◆ priorityMetric() [1/2]

Nesting.IBoxNestingPriority mrmeshpy.Nesting.BoxNestingOptions.priorityMetric ( self)
metric to calculate priority for candidates placement
if not set - default `getNestPostionMinPriorityMetric` is used

◆ priorityMetric() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.priorityMetric ( self,
Nesting.IBoxNestingPriority arg1 )

◆ volumeBasedOrder() [1/2]

bool mrmeshpy.Nesting.BoxNestingOptions.volumeBasedOrder ( self)
if true - nests objects in the order of decreasing volume, otherwise nest in the input order

◆ volumeBasedOrder() [2/2]

None mrmeshpy.Nesting.BoxNestingOptions.volumeBasedOrder ( self,
bool arg1 )

Member Data Documentation

◆ _offsetof_additinalSocketCorners

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_additinalSocketCorners = 40
staticprotected

◆ _offsetof_allow3dNesting

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_allow3dNesting = 0
staticprotected

◆ _offsetof_allowRotation

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_allowRotation = 1
staticprotected

◆ _offsetof_cb

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_cb = 48
staticprotected

◆ _offsetof_checkLessCombinations

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_checkLessCombinations = 3
staticprotected

◆ _offsetof_expansionFactor

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_expansionFactor = 24
staticprotected

◆ _offsetof_iterationLimit

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_iterationLimit = 4
staticprotected

◆ _offsetof_preNestedVolumes

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_preNestedVolumes = 32
staticprotected

◆ _offsetof_priorityMetric

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_priorityMetric = 8
staticprotected

◆ _offsetof_volumeBasedOrder

typing mrmeshpy.Nesting.BoxNestingOptions._offsetof_volumeBasedOrder = 2
staticprotected

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