Differentiate between small perimeters and external perimeters in verbose gcode.

This commit is contained in:
Joseph Lenox 2018-06-15 15:09:17 -05:00
parent c058ae91d2
commit 88d24b763b

View File

@ -426,7 +426,10 @@ GCode::extrude(ExtrusionLoop loop, std::string description, double speed)
&& loop.length() <= SMALL_PERIMETER_LENGTH
&& speed == -1)
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
std::string gcode;
for (ExtrusionPaths::const_iterator path = paths.begin(); path != paths.end(); ++path)