From 1076e077ce9da0bdc6daa3ab98c135de7cfc00b3 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Mon, 4 Jan 2021 15:42:23 +0100 Subject: [PATCH] Fix of Adaptive cubic infill weird behavior #5633 Enabling reordering of infill paths for Support Cubic and Adaptive Cubic infill types. --- src/libslic3r/Fill/FillAdaptive.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/Fill/FillAdaptive.hpp b/src/libslic3r/Fill/FillAdaptive.hpp index 8ed05ba547..330cb8a46a 100644 --- a/src/libslic3r/Fill/FillAdaptive.hpp +++ b/src/libslic3r/Fill/FillAdaptive.hpp @@ -66,7 +66,11 @@ protected: const std::pair &direction, ExPolygon expolygon, Polylines &polylines_out) override; - bool no_sort() const override { return true; } + // Let the G-code export reoder the infill lines. + //FIXME letting the G-code exporter to reorder infill lines of Adaptive Cubic Infill + // may not be optimal as the internal infill lines may get extruded before the long infill + // lines to which the short infill lines are supposed to anchor. + bool no_sort() const override { return false; } }; }; // namespace FillAdaptive