From 6d463ed8b4fa52ef7af7603454775ea8350779a1 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Thu, 7 Aug 2025 21:59:02 +0800 Subject: [PATCH] FIX: do not check wrapping area jira: none Change-Id: I57e5f0049825c263d4822ce5a0b6b942dc9ff0bc (cherry picked from commit 58ef9e2f04b5952d8e25c5d734ee5d050fec9bcd) --- src/libslic3r/GCode/GCodeProcessor.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/libslic3r/GCode/GCodeProcessor.cpp b/src/libslic3r/GCode/GCodeProcessor.cpp index 28a62f73b6..77bd231fd3 100644 --- a/src/libslic3r/GCode/GCodeProcessor.cpp +++ b/src/libslic3r/GCode/GCodeProcessor.cpp @@ -1756,16 +1756,16 @@ bool GCodeProcessor::check_multi_extruder_gcode_valid(const int m_result.gcode_check_result.print_height_error_infos[extruder_id].push_back(filament_to_object_id); valid = false; } - if (wrapping_exclude_poly.is_valid()) { - if (wrapping_exclude_poly.bounding_box().overlap(bbox)) { // get into the wrapping area - m_result.gcode_check_result.error_code |= (1 << 4); - std::pair filament_to_object_id; - filament_to_object_id.first = iter->first; - filament_to_object_id.second = object_label_id; - m_result.gcode_check_result.print_area_error_infos[extruder_id].push_back(filament_to_object_id); - valid = false; - } - } + // if (wrapping_exclude_poly.is_valid()) { + // if (wrapping_exclude_poly.bounding_box().overlap(bbox)) { // get into the wrapping area + // m_result.gcode_check_result.error_code |= (1 << 4); + // std::pair filament_to_object_id; + // filament_to_object_id.first = iter->first; + // filament_to_object_id.second = object_label_id; + // m_result.gcode_check_result.print_area_error_infos[extruder_id].push_back(filament_to_object_id); + // valid = false; + // } + // } if (extruder_size > 1) {// in multi extruder condition /*//iter_points.insert(iter_points.end(), iter->second.pos_custom.begin(), iter->second.pos_custom.end()); // put custom extrude position in