mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
add comment
This commit is contained in:
@@ -534,6 +534,7 @@ std::string GCodeWriter::toolchange(unsigned int filament_id)
|
|||||||
// if we are running a single-extruder setup, just set the extruder and return nothing
|
// if we are running a single-extruder setup, just set the extruder and return nothing
|
||||||
std::ostringstream gcode;
|
std::ostringstream gcode;
|
||||||
if (this->multiple_extruders || (this->config.filament_diameter.values.size() > 1 && !is_bbl_printers())) {
|
if (this->multiple_extruders || (this->config.filament_diameter.values.size() > 1 && !is_bbl_printers())) {
|
||||||
|
// Orca: call toolchange_prefix() to get the correct command prefix based on the configuration and flavor.
|
||||||
gcode << this->toolchange_prefix() << filament_id;
|
gcode << this->toolchange_prefix() << filament_id;
|
||||||
if (GCodeWriter::full_gcode_comment)
|
if (GCodeWriter::full_gcode_comment)
|
||||||
gcode << " ; change extruder";
|
gcode << " ; change extruder";
|
||||||
|
|||||||
Reference in New Issue
Block a user