BambuStudio/src/libslic3r/Arachne
Lukas Matena 551ba96205 ENH: modify the multi-material segmentation and voronoi
This patch is cherry pick from Prusa, thanks to Prusa

Rework multi-material segmentation to work directly on the Voronoi diagram without creating a copy of it.

Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.

After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.

So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.

Jira: none
Change-Id: I72aa6e1f9634d9ee8759aa469a0b39a36ace62f5
2024-04-08 19:50:03 +08:00
..
BeadingStrategy ENH: sync some code change from prusa 2022-10-20 19:34:37 +08:00
utils ENH: modify the multi-material segmentation and voronoi 2024-04-08 19:50:03 +08:00
SkeletalTrapezoidation.cpp ENH: modify the multi-material segmentation and voronoi 2024-04-08 19:50:03 +08:00
SkeletalTrapezoidation.hpp ENH: modify the multi-material segmentation and voronoi 2024-04-08 19:50:03 +08:00
SkeletalTrapezoidationEdge.hpp ENH: add arachne engine for narrow internal solid infill 2022-08-26 09:25:59 +08:00
SkeletalTrapezoidationGraph.cpp ENH: add arachne engine for narrow internal solid infill 2022-08-26 09:25:59 +08:00
SkeletalTrapezoidationGraph.hpp ENH: add arachne engine for narrow internal solid infill 2022-08-26 09:25:59 +08:00
SkeletalTrapezoidationJoint.hpp ENH: add arachne engine for narrow internal solid infill 2022-08-26 09:25:59 +08:00
WallToolPaths.cpp ENH: sync some code change from prusa 2022-10-20 19:34:37 +08:00
WallToolPaths.hpp ENH: sync some code change from prusa 2022-10-20 19:34:37 +08:00