From 2fd5a415c5ea22fbd9a47ec0e97f14fb5911ae3c Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 19 Apr 2022 11:41:16 +0200 Subject: [PATCH] Fix arrange when some geometries are ill formed. SPE-1216 The removed fix for issue 2209 is not needed anymore as the backend (arrange + libnest) takes care of such objects - Offset is now done with libslic3r offset() wrapper (no expception thrown) - Zero area objects are discarded in libnest --- src/libslic3r/Arrange.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libslic3r/Arrange.cpp b/src/libslic3r/Arrange.cpp index 8124b23e3..8227ea4ad 100644 --- a/src/libslic3r/Arrange.cpp +++ b/src/libslic3r/Arrange.cpp @@ -581,11 +581,6 @@ static void process_arrangeable(const ArrangePolygon &arrpoly, const Vec2crd &offs = arrpoly.translation; double rotation = arrpoly.rotation; - // This fixes: - // https://github.com/prusa3d/PrusaSlicer/issues/2209 - if (p.points.size() < 3) - return; - outp.emplace_back(std::move(p)); outp.back().rotation(rotation); outp.back().translation({offs.x(), offs.y()});