mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 20:35:53 +08:00
Outputs (bridge) in verbose gcode if path extruded is marked as bridge. Fixes #4380
This commit is contained in:
parent
a46aa09755
commit
7457cfdac2
@ -503,8 +503,8 @@ std::string
|
|||||||
GCode::_extrude(ExtrusionPath path, std::string description, double speed)
|
GCode::_extrude(ExtrusionPath path, std::string description, double speed)
|
||||||
{
|
{
|
||||||
path.simplify(SCALED_RESOLUTION);
|
path.simplify(SCALED_RESOLUTION);
|
||||||
|
|
||||||
std::string gcode;
|
std::string gcode;
|
||||||
|
description = path.is_bridge() ? description + " (bridge)" : description;
|
||||||
|
|
||||||
// go to first point of extrusion path
|
// go to first point of extrusion path
|
||||||
if (!this->_last_pos_defined || !this->_last_pos.coincides_with(path.first_point())) {
|
if (!this->_last_pos_defined || !this->_last_pos.coincides_with(path.first_point())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user