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

Classes

class  BoxNestingCorner
class  BoxNestingOptions
class  BoxNestingParams
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 (Vector_Nesting_MeshXf_ObjId meshes, Nesting.BoxNestingParams params)
None exportNesting3mf (os.PathLike|str|bytes path, Nesting.Nesting3mfParams params)
None fillNestingSocketCorneres (std_vector_Box_Vector3_float nestedBoxes, std_vector_Nesting_BoxNestingCorner outCorners, func_bool_from_float cb='{}')
Nesting.IBoxNestingPriority getNeighborigDensityPriorityMetric (Box3f nest, float neighborhood)
Nesting.IBoxNestingPriority getNestPostionMinPriorityMetric (Box3f nest)
Vector_AffineXf3f_ObjId tetrisNestingDensify (Vector_Nesting_MeshXf_ObjId meshes, Nesting.TetrisDensifyParams params)

Detailed Description

This is a namespace.

Member Function Documentation

◆ boxNesting()

Vector_Nesting_NestingResult_ObjId mrmeshpy.Nesting.boxNesting ( Vector_Nesting_MeshXf_ObjId meshes,
Nesting.BoxNestingParams params )
static
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.Nesting3mfParams params )
static
exports slicestack 3mf file based on placed meshes

◆ fillNestingSocketCorneres()

None mrmeshpy.Nesting.fillNestingSocketCorneres ( std_vector_Box_Vector3_float nestedBoxes,
std_vector_Nesting_BoxNestingCorner outCorners,
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 ( Box3f nest,
float neighborhood )
static
priority metric that maximizes density of placement in local neighborhood

◆ getNestPostionMinPriorityMetric()

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

◆ tetrisNestingDensify()

Vector_AffineXf3f_ObjId mrmeshpy.Nesting.tetrisNestingDensify ( Vector_Nesting_MeshXf_ObjId meshes,
Nesting.TetrisDensifyParams 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: