mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
MMU segmentation refactoring: Most of the MMU segmentation code
was extracted to its own file.
This commit is contained in:
parent
bf1fc7d436
commit
4f950343c8
5 changed files with 1520 additions and 1490 deletions
18
src/libslic3r/MultiMaterialSegmentation.hpp
Normal file
18
src/libslic3r/MultiMaterialSegmentation.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef slic3r_MultiMaterialSegmentation_hpp_
|
||||
#define slic3r_MultiMaterialSegmentation_hpp_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
||||
class PrintObject;
|
||||
class ExPolygon;
|
||||
|
||||
// Returns MMU segmentation based on painting in MMU segmentation gizmo
|
||||
std::vector<std::vector<std::pair<ExPolygon, size_t>>> multi_material_segmentation_by_painting(const PrintObject &print_object);
|
||||
|
||||
} // namespace Slic3r
|
||||
|
||||
#endif // slic3r_MultiMaterialSegmentation_hpp_
|
Loading…
Add table
Add a link
Reference in a new issue