ENH: remove the appended T cmd after change filament
Jira: none Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: Id5da64626b7343a71dcb38c06f5b5caf43ec40e2 (cherry picked from commit 7da565f0582f470274d279e52daf0dd889f0de7d)
This commit is contained in:
@@ -463,7 +463,11 @@ std::string GCodeWriter::toolchange(unsigned int extruder_id)
|
||||
// if we are running a single-extruder setup, just set the extruder and return nothing
|
||||
std::ostringstream gcode;
|
||||
if (this->multiple_extruders || (this->config.filament_diameter.values.size() > 1 && !is_bbl_printers())) {
|
||||
gcode << this->toolchange_prefix() << extruder_id;
|
||||
// BBS
|
||||
if (this->m_is_bbl_printers)
|
||||
gcode << "M1020 S" << extruder_id;
|
||||
else
|
||||
gcode << this->toolchange_prefix() << extruder_id;
|
||||
//BBS
|
||||
if (GCodeWriter::full_gcode_comment)
|
||||
gcode << " ; change extruder";
|
||||
|
||||
Reference in New Issue
Block a user