SPE-1963: Improve ordering of perimeters with Arachne perimeter generator

Especially in cases when the object is composed only of 2 external perimeters and 1 or 2 internal perimeters, the order of perimeters wasn't optimal and differed from the Classic perimeter generator. That caused unnecessary long travels before the external contour was printed.

The ordering of perimeters is slightly inspired by the latest changes in CuraEngine.

Cherry-picked from prusa3d/PrusaSlicer@10875082de

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
This commit is contained in:
Noisyfox 2024-12-22 17:49:08 +08:00
parent 4b739539a4
commit babb84c70a
8 changed files with 890 additions and 756 deletions

File diff suppressed because it is too large Load diff