From 0bdb114881bf021df09ccfe9cc003a04a4ecb49a Mon Sep 17 00:00:00 2001 From: Valerii Bokhan <80919135+valerii-bokhan@users.noreply.github.com> Date: Mon, 20 Oct 2025 10:32:19 +0200 Subject: [PATCH] Fix: A proper handling of the `support_base_pattern_spacing = 0` for the `Tree Slim` support (#11084) Fixes #11082 Slicing is going to the endless loop when the `Base pattern spacing` value is 0 for `Tree Slim` support. Co-authored-by: SoftFever --- src/libslic3r/Support/TreeSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Support/TreeSupport.cpp b/src/libslic3r/Support/TreeSupport.cpp index 17e7fb044f..50272009cd 100644 --- a/src/libslic3r/Support/TreeSupport.cpp +++ b/src/libslic3r/Support/TreeSupport.cpp @@ -1529,7 +1529,7 @@ void TreeSupport::generate_toolpaths() need_infill &= area_group.need_infill; std::shared_ptr filler_support = std::shared_ptr(Fill::new_from_type(layer_id == 0 ? ipConcentric : m_support_params.base_fill_pattern)); filler_support->set_bounding_box(bbox_object); - filler_support->spacing = object_config.support_base_pattern_spacing.value * support_density;// constant spacing to align support infill lines + filler_support->spacing = support_spacing * support_density; // constant spacing to align support infill lines filler_support->angle = Geometry::deg2rad(object_config.support_angle.value); Polygons loops = to_polygons(poly);