mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
GCodeProcessor -> Calculate per layer time estimate
This commit is contained in:
parent
cd45b78c48
commit
bd4e4535f9
4 changed files with 61 additions and 5 deletions
|
@ -2095,6 +2095,8 @@ void GCode::process_layer(
|
|||
std::string gcode;
|
||||
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
// add tag for processor
|
||||
gcode += "; " + GCodeProcessor::Layer_Change_Tag + "\n";
|
||||
// export layer z
|
||||
char buf[64];
|
||||
sprintf(buf, ";Z:%g\n", print_z);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue