mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fixed a bug where the scarf seam wouldn't work properly when ZAA was disabled.
This commit is contained in:
@@ -6248,7 +6248,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
|
|||||||
gcode += m_writer.travel_to_z(first_z, "set Z for contouring", true);
|
gcode += m_writer.travel_to_z(first_z, "set Z for contouring", true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!path.z_contoured) {
|
if (!path.z_contoured && sloped == nullptr) {
|
||||||
double current_z = m_writer.get_position().z();
|
double current_z = m_writer.get_position().z();
|
||||||
if (GCodeFormatter::quantize_xyzf(current_z) != GCodeFormatter::quantize_xyzf(m_nominal_z)) {
|
if (GCodeFormatter::quantize_xyzf(current_z) != GCodeFormatter::quantize_xyzf(m_nominal_z)) {
|
||||||
gcode += this->writer().travel_to_z(m_nominal_z, "reset Z after contouring", true);
|
gcode += this->writer().travel_to_z(m_nominal_z, "reset Z after contouring", true);
|
||||||
|
|||||||
Reference in New Issue
Block a user