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 <salt.wei@bambulab.com> Change-Id: I6046cd2765cf68058712b4256402acc0be771144
This commit is contained in:
parent
d5120f890e
commit
22aca74e5b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue