FIX: do not check wrapping area

jira: none
Change-Id: I57e5f0049825c263d4822ce5a0b6b942dc9ff0bc
(cherry picked from commit 58ef9e2f04b5952d8e25c5d734ee5d050fec9bcd)
This commit is contained in:
zhimin.zeng
2025-08-07 21:59:02 +08:00
committed by Noisyfox
parent 9ac3d64328
commit 6d463ed8b4

View File

@@ -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); m_result.gcode_check_result.print_height_error_infos[extruder_id].push_back(filament_to_object_id);
valid = false; valid = false;
} }
if (wrapping_exclude_poly.is_valid()) { // if (wrapping_exclude_poly.is_valid()) {
if (wrapping_exclude_poly.bounding_box().overlap(bbox)) { // get into the wrapping area // if (wrapping_exclude_poly.bounding_box().overlap(bbox)) { // get into the wrapping area
m_result.gcode_check_result.error_code |= (1 << 4); // m_result.gcode_check_result.error_code |= (1 << 4);
std::pair<int, int> filament_to_object_id; // std::pair<int, int> filament_to_object_id;
filament_to_object_id.first = iter->first; // filament_to_object_id.first = iter->first;
filament_to_object_id.second = object_label_id; // 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); // m_result.gcode_check_result.print_area_error_infos[extruder_id].push_back(filament_to_object_id);
valid = false; // valid = false;
} // }
} // }
if (extruder_size > 1) {// in multi extruder condition 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 /*//iter_points.insert(iter_points.end(), iter->second.pos_custom.begin(), iter->second.pos_custom.end()); // put custom extrude position in