Add code to extract sla supports outline for arrangement

Add functionality to libnest to support on_packed handler for all items.

Use it to swap arrange polygon from envelope to core poly after packing was succesful.
Solving brim issue by offset adjustments of arrange polygons

Only in sla yet
This commit is contained in:
tamasmeszaros 2023-02-15 16:27:03 +01:00
parent e46891fa8c
commit 6b1c9119be
6 changed files with 93 additions and 2 deletions

View file

@ -21,6 +21,8 @@ class ArrangeJob : public Job
ArrangePolygons m_selected, m_unselected, m_unprintable;
std::vector<ModelInstance*> m_unarranged;
coord_t m_min_inflation = 0;
Plater *m_plater;
// clear m_selected and m_unselected, reserve space for next usage