mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00

The gcode reader assumed that each layer starts with a move to the initial position but for spiralized code that isn't true because the previous layer always ends up in the right location. So we now start each layer with a fake move to the end position of the previous layer. This won't actually cause a real move to occur but it ensures that the first line segment in the new layer has the correct initial point.