mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 20:10:36 +08:00
Differentiate between small perimeters and external perimeters in verbose gcode.
This commit is contained in:
parent
c058ae91d2
commit
88d24b763b
@ -426,6 +426,9 @@ GCode::extrude(ExtrusionLoop loop, std::string description, double speed)
|
|||||||
&& loop.length() <= SMALL_PERIMETER_LENGTH
|
&& loop.length() <= SMALL_PERIMETER_LENGTH
|
||||||
&& speed == -1)
|
&& speed == -1)
|
||||||
speed = this->config.get_abs_value("small_perimeter_speed");
|
speed = this->config.get_abs_value("small_perimeter_speed");
|
||||||
|
description = "small perimeter";
|
||||||
|
if (paths.front().role == erExternalPerimeter)
|
||||||
|
description = std::string("external ") + description;
|
||||||
|
|
||||||
// extrude along the path
|
// extrude along the path
|
||||||
std::string gcode;
|
std::string gcode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user