MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Nesting Class Reference

Classes

class  BoxNestingCorner
class  BoxNestingOptions
class  BoxNestingParams
class  ConstBoxNestingCorner
class  ConstBoxNestingOptions
class  ConstBoxNestingParams
class  ConstIBoxNestingPriority
class  ConstMeshXf
class  ConstNesting3mfParams
class  ConstNestingBaseParams
class  ConstNestingResult
class  ConstSequentialNester
class  ConstTetrisDensifyOptions
class  ConstTetrisDensifyParams
class  IBoxNestingPriority
class  MeshXf
class  Nesting3mfParams
class  NestingBaseParams
class  NestingResult
class  SequentialNester
class  TetrisDensifyOptions
class  TetrisDensifyParams

Static Public Member Functions

Vector_Nesting_NestingResult_ObjId boxNesting (ConstVector_Nesting_MeshXf_ObjId meshes, Nesting.ConstBoxNestingParams params)
None exportNesting3mf (os.PathLike|str|bytes path, Nesting.ConstNesting3mfParams params)
None fillNestingSocketCorneres (Const_std_vector_Box_Vector3_float nestedBoxes, std_vector_Nesting_BoxNestingCorner outCorners, Const_func_bool_from_float cb='{}')
Nesting.IBoxNestingPriority getNeighborigDensityPriorityMetric (ConstBox3f nest, float neighborhood)
Nesting.IBoxNestingPriority getNestPostionMinPriorityMetric (ConstBox3f nest)
Vector_AffineXf3f_ObjId tetrisNestingDensify (ConstVector_Nesting_MeshXf_ObjId meshes, Nesting.ConstTetrisDensifyParams params)

Detailed Description

This is a namespace.

Member Function Documentation

◆ boxNesting()

finds best positions of input meshes to fit the nest (checks them by contacting box corners)

◆ exportNesting3mf()

None mrmeshpy.Nesting.exportNesting3mf ( os.PathLike | str | bytes path,
Nesting.ConstNesting3mfParams params )
static
exports slicestack 3mf file based on placed meshes

◆ fillNestingSocketCorneres()

None mrmeshpy.Nesting.fillNestingSocketCorneres ( Const_std_vector_Box_Vector3_float nestedBoxes,
std_vector_Nesting_BoxNestingCorner outCorners,
Const_func_bool_from_float cb = '{}' )
static
fills `outCorners` based on `nestedBoxes` corners \\n
also adding corners in intersections of `nestedBoxes`

◆ getNeighborigDensityPriorityMetric()

Nesting.IBoxNestingPriority mrmeshpy.Nesting.getNeighborigDensityPriorityMetric ( ConstBox3f nest,
float neighborhood )
static
priority metric that maximizes density of placement in local neighborhood

◆ getNestPostionMinPriorityMetric()

Nesting.IBoxNestingPriority mrmeshpy.Nesting.getNestPostionMinPriorityMetric ( ConstBox3f nest)
static
priority metric that minimizes position of new object by Z->Y->X coordinate in nest

◆ tetrisNestingDensify()

Vector_AffineXf3f_ObjId mrmeshpy.Nesting.tetrisNestingDensify ( ConstVector_Nesting_MeshXf_ObjId meshes,
Nesting.ConstTetrisDensifyParams params )
static
make nested meshes more compact by representing them via voxels and pushing to nest zero

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