mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Wipe tower fix - incorrect start/end position reported to the GCode generator when the tower was rotated
This commit is contained in:
1 parent
930a2f1d12
commit
19f5863d75
1 file changed
+2
-2
@@ -142,10 +142,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_gcode += "G1";
|
m_gcode += "G1";
|
||||||
if (std::abs(dx) > EPSILON)
|
if (std::abs(rot.x - rotated_current_pos.x) > EPSILON)
|
||||||
m_gcode += set_format_X(rot.x);
|
m_gcode += set_format_X(rot.x);
|
||||||
|
|
||||||
if (std::abs(dy) > EPSILON)
|
if (std::abs(rot.y - rotated_current_pos.y) > EPSILON)
|
||||||
m_gcode += set_format_Y(rot.y);
|
m_gcode += set_format_Y(rot.y);
|
||||||
|
|
||||||
if (e != 0.f)
|
if (e != 0.f)
|
||||||
|
|||||||
Reference in new issue
Block a user