From f391070cb734e9d7b4ba2478a4986591368bf296 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Mon, 21 Jul 2025 19:51:10 +0800 Subject: [PATCH] FIX: only detect wrapping area when enable wrapping jira: none Change-Id: I1353e888624f26679e04a98cc9ac8950b991e77e (cherry picked from commit 53ca132fcdcbec9761b1328f3dc94ab4194e3f07) (cherry picked from commit e8c8a10c97c7eb681f80978106a28716ea5737f8) (cherry picked from commit a28eeef7f4f016689a900d4880e2e8927cea363b) --- src/libslic3r/Print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 5d368154b3..a98eb5aa3d 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -970,7 +970,7 @@ static StringObjectException layered_print_cleareance_valid(const Print &print, }*/ } - if (!intersection(wrapping_poly, convex_hull).empty()) { + if (print_config.enable_wrapping_detection.value && !intersection(wrapping_poly, convex_hull).empty()) { return {inst->model_instance->get_object()->name + L(" is too close to wrapping detection area, there may be collisions when printing.") + "\n", inst->model_instance->get_object()}; } @@ -1024,7 +1024,7 @@ static StringObjectException layered_print_cleareance_valid(const Print &print, }*/ return {L("Prime Tower") + L(" is too close to exclusion area, and collisions will be caused.\n")}; } - if (!intersection({wrapping_poly}, convex_hulls_temp).empty()) { + if (print_config.enable_wrapping_detection.value && !intersection({wrapping_poly}, convex_hulls_temp).empty()) { return {L("Prime Tower") + L(" is too close to wrapping detection area, and collisions will be caused.\n")}; } return {};