mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 01:52:11 +00:00
Added option to independently set z axis travel speed
This commit is contained in:
committed by
Lukas Matena
parent
e1f2336b8e
commit
bd6badf123
@@ -370,7 +370,7 @@ std::string GCodeWriter::_travel_to_z(double z, const std::string &comment)
|
||||
|
||||
std::ostringstream gcode;
|
||||
gcode << "G1 Z" << XYZF_NUM(z)
|
||||
<< " F" << XYZF_NUM(this->config.travel_speed.value * 60.0);
|
||||
<< " F" << XYZF_NUM(this->config.travel_speed_z.value * 60.0);
|
||||
COMMENT(comment);
|
||||
gcode << "\n";
|
||||
return gcode.str();
|
||||
|
||||
Reference in New Issue
Block a user