mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
fix invalid characters in gcode
This commit is contained in:
@@ -1504,7 +1504,6 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||||||
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Estimated_Printing_Time_Placeholder).c_str());
|
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Estimated_Printing_Time_Placeholder).c_str());
|
||||||
//BBS: total layer number
|
//BBS: total layer number
|
||||||
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Total_Layer_Number_Placeholder).c_str());
|
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Total_Layer_Number_Placeholder).c_str());
|
||||||
file.write_format("; total layer number: %d\n", m_layer_count);
|
|
||||||
file.write_format("; HEADER_BLOCK_END\n\n");
|
file.write_format("; HEADER_BLOCK_END\n\n");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ const std::vector<std::string> GCodeProcessor::Reserved_Tags_compatible = {
|
|||||||
"CUSTOM_GCODE",
|
"CUSTOM_GCODE",
|
||||||
"_GP_FIRST_LINE_M73_PLACEHOLDER",
|
"_GP_FIRST_LINE_M73_PLACEHOLDER",
|
||||||
"_GP_LAST_LINE_M73_PLACEHOLDER",
|
"_GP_LAST_LINE_M73_PLACEHOLDER",
|
||||||
"_GP_ESTIMATED_PRINTING_TIME_PLACEHOLDER"
|
"_GP_ESTIMATED_PRINTING_TIME_PLACEHOLDER",
|
||||||
|
"_GP_TOTAL_LAYER_NUMBER_PLACEHOLDER"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user