From 0f71a41f5385530209229c5f7a559fc1db73a21c Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 1 Sep 2022 11:19:25 +0200 Subject: [PATCH] WIP TreeSupports: Fixed self intersections on overhang regions with support interfaces enabled. --- src/libslic3r/TreeSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/TreeSupport.cpp b/src/libslic3r/TreeSupport.cpp index 2ef3817205..513fff97a3 100644 --- a/src/libslic3r/TreeSupport.cpp +++ b/src/libslic3r/TreeSupport.cpp @@ -1310,7 +1310,7 @@ void TreeSupport::generateInitialAreas( overhang_roofs = safeOffsetInc(overhangs[layer_idx + z_distance_delta], support_roof_offset, relevant_forbidden, mesh_config.min_radius * 2 + mesh_config.xy_min_distance, 0, 1); if (mesh_group_settings.minimum_support_area > 0) remove_small(overhang_roofs, mesh_group_settings.minimum_roof_area); - overhang_regular = diff(overhang_regular, overhang_roofs); + overhang_regular = diff(overhang_regular, overhang_roofs, ApplySafetyOffset::Yes); for (ExPolygon &roof_part : union_ex(overhang_roofs)) overhang_processing.emplace_back(std::move(roof_part), true); }