Files
OrcaSlicer/src
Ian Bassiandlhx dc86c5fbf0 Compensate every piece of a polygon that simplification splits
Elephant foot compensation measured contour widths on the polygon
simplified with SCALED_EPSILON, and kept only the first piece the
simplification returned. Where the simplification split a polygon, for
example at walls thinner than that tolerance, the other pieces were
dropped from the first layer; where it returned nothing, front() was
undefined. Compensate each piece instead. A polygon that simplifies to
a single piece is compensated exactly as before.

Ported from Snapmaker/OrcaSlicer@3412141cc7

Co-authored-by: lhx <luohaoxuan@snapmaker.com>
2026-11-30 14:11:14 -03:00
..