From 49dd39dc7d980884e5e2ac80833c5c4df1609429 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Tue, 29 Aug 2023 17:09:26 +0200 Subject: [PATCH] Fix negative flows We were trying to retract the whole model back in the nozzle --- src/settings/PathConfigStorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings/PathConfigStorage.cpp b/src/settings/PathConfigStorage.cpp index e32e9afb15..2f9dd2acea 100644 --- a/src/settings/PathConfigStorage.cpp +++ b/src/settings/PathConfigStorage.cpp @@ -138,7 +138,7 @@ PathConfigStorage::PathConfigStorage(const SliceDataStorage& storage, const Laye GCodePathConfig{ .type = PrintFeatureType::Support, .line_width = static_cast(support_infill_train.settings.get("support_line_width") * support_infill_line_width_factor), .layer_thickness = layer_thickness, - .flow = -support_infill_train.settings.get("support_material_flow") + .flow = support_infill_train.settings.get("support_material_flow") * ((layer_nr == 0) ? support_infill_train.settings.get("material_flow_layer_0") : Ratio(1.0)) * (combine_idx + 1), .speed_derivatives = SpeedDerivatives{ .speed = support_infill_train.settings.get("speed_support_infill"), .acceleration = support_infill_train.settings.get("acceleration_support_infill"),