First layer travel speed

#443
This commit is contained in:
SoftFever 2023-03-14 00:57:18 +08:00
parent 6d8f01f48d
commit 5a986c18a1
9 changed files with 42 additions and 15 deletions

View file

@ -2727,6 +2727,7 @@ GCode::LayerResult GCode::process_layer(
//support is attached above the object, and support layers has independent layer height, then the lowest support
//interface layer id is 0.
bool first_layer = (layer.id() == 0 && abs(layer.bottom_z()) < EPSILON);
m_writer.set_is_first_layer(first_layer);
unsigned int first_extruder_id = layer_tools.extruders.front();
// Initialize config with the 1st object to be printed at this layer.