ENH: add smoothing z dir on slicing process bar
Jira: none Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: I0bab84ee31864917142f9bcb407f957f3a2ea3ce
This commit is contained in:
parent
207d81c769
commit
c753fbe410
|
@ -2672,7 +2672,9 @@ void GCode::process_layers(
|
|||
tbb::parallel_pipeline(12, generator & parsing & cooling & write_gocde & output);
|
||||
else {
|
||||
tbb::parallel_pipeline(12, generator & parsing & cooling & build_node);
|
||||
|
||||
std::string message;
|
||||
message = L("Smoothing z direction speed");
|
||||
m_print->set_status(85, message);
|
||||
//append data
|
||||
for (const LayerResult &res : layers_results) {
|
||||
//remove empty gcode layer caused by support independent layers
|
||||
|
@ -2683,7 +2685,8 @@ void GCode::process_layers(
|
|||
}
|
||||
|
||||
smooth_calculator.smooth_layer_speed();
|
||||
|
||||
message = L("Exporting G-code");
|
||||
m_print->set_status(90, message);
|
||||
tbb::parallel_pipeline(12, calculate_layer_time & write_gocde & output);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue