Static Public Member Functions | |
| static meshlib.std_shared_ptr_MR_Nesting_IBoxNestingPriority | getNestPostionMinPriorityMetric (meshlib.Box3f nest) |
| static meshlib.std_shared_ptr_MR_Nesting_IBoxNestingPriority | getNeighborigDensityPriorityMetric (meshlib.Box3f nest, float neighborhood) |
| static void | fillNestingSocketCorneres (meshlib.std_vector_MR_Box3f nestedBoxes, meshlib.std_vector_MR_Nesting_BoxNestingCorner outCorners, meshlib.std_function_bool_from_float cb) |
| static meshlib.Vector_MR_Nesting_NestingResult_MR_ObjId | boxNesting (meshlib.Vector_MR_Nesting_MeshXf_MR_ObjId meshes, meshlib.nesting.BoxNestingParams params) |
| static void | exportNesting3mf (java.lang.String path, meshlib.nesting.Nesting3mfParams params) |
| static meshlib.Vector_MR_AffineXf3f_MR_ObjId | tetrisNestingDensify (meshlib.Vector_MR_Nesting_MeshXf_MR_ObjId meshes, meshlib.nesting.TetrisDensifyParams params) |
The free functions of this namespace.
|
static |
finds best positions of input meshes to fit the nest (checks them by contacting box corners) Generated from function MR::Nesting::boxNesting.
Calls MR_Nesting_boxNesting(). The C++ function returns expected<MR::Vector<MR::Nesting::NestingResult, MR::ObjId>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
exports slicestack 3mf file based on placed meshes Generated from function MR::Nesting::exportNesting3mf.
Calls MR_Nesting_exportNesting3mf(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
fills outCorners based on nestedBoxes corners
also adding corners in intersections of nestedBoxes Generated from function MR::Nesting::fillNestingSocketCorneres.
Calls MR_Nesting_fillNestingSocketCorneres(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
priority metric that maximizes density of placement in local neighborhood Generated from function MR::Nesting::getNeighborigDensityPriorityMetric.
Calls MR_Nesting_getNeighborigDensityPriorityMetric().
|
static |
priority metric that minimizes position of new object by Z->Y->X coordinate in nest Generated from function MR::Nesting::getNestPostionMinPriorityMetric.
Calls MR_Nesting_getNestPostionMinPriorityMetric().
|
static |
make nested meshes more compact by representing them via voxels and pushing to nest zero Generated from function MR::Nesting::tetrisNestingDensify.
Calls MR_Nesting_tetrisNestingDensify(). The C++ function returns expected<MR::Vector<MR::AffineXf3f, MR::ObjId>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.