From 22aca74e5b1e56f6a3ffc8863158c33d29c9d020 Mon Sep 17 00:00:00 2001 From: "salt.wei" Date: Thu, 10 Aug 2023 20:25:55 +0800 Subject: [PATCH] ENH: remove the single filament limitation of skipping object We planed to skip uncessary filament changing when skip object. However, this caused color mixing. If we try to fix the color mixing issue, the flush gcode should be generated by printer itself. This is not a short time job. So currently we never skip changing filament when skip object. This will not save much time and flushing. But better than none. Signed-off-by: salt.wei Change-Id: I6046cd2765cf68058712b4256402acc0be771144 --- src/libslic3r/GCode.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 8e95a9972..ac0eaa786 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -1527,8 +1527,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato //BBS: total layer number file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Total_Layer_Number_Placeholder).c_str()); //BBS: judge whether support skipping, if yes, list all label_object_id with sorted order here - if (print.extruders(true).size() == 1 && //Don't support multi-color - print.num_object_instances() <= g_max_label_object && //Don't support too many objects on one plate + if (print.num_object_instances() <= g_max_label_object && //Don't support too many objects on one plate print.calib_params().mode == CalibMode::Calib_None) { //Don't support skipping in cali mode m_enable_label_object = true; m_label_objects_ids.clear();