mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX: do not check wrapping area
jira: none Change-Id: I57e5f0049825c263d4822ce5a0b6b942dc9ff0bc (cherry picked from commit 58ef9e2f04b5952d8e25c5d734ee5d050fec9bcd)
This commit is contained in:
@@ -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<int, int> 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<int, int> 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
|
||||
|
||||
Reference in New Issue
Block a user