mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Merge branch 'mb-fix-gcode-reader-start-position' of https://github.com/smartavionics/Cura into smartavionics-mb-fix-gcode-reader-start-position
This commit is contained in:
commit
a3dc94aedd
1 changed files with 2 additions and 0 deletions
|
@ -368,6 +368,8 @@ class FlavorParser:
|
||||||
layer_number = int(line[len(self._layer_keyword):])
|
layer_number = int(line[len(self._layer_keyword):])
|
||||||
self._createPolygon(self._current_layer_thickness, current_path, self._extruder_offsets.get(self._extruder_number, [0, 0]))
|
self._createPolygon(self._current_layer_thickness, current_path, self._extruder_offsets.get(self._extruder_number, [0, 0]))
|
||||||
current_path.clear()
|
current_path.clear()
|
||||||
|
# start the new layer at the end position of the last layer
|
||||||
|
current_path.append([current_position.x, current_position.y, current_position.z, current_position.f, current_position.e[self._extruder_number], LayerPolygon.MoveCombingType])
|
||||||
|
|
||||||
# When using a raft, the raft layers are stored as layers < 0, it mimics the same behavior
|
# When using a raft, the raft layers are stored as layers < 0, it mimics the same behavior
|
||||||
# as in ProcessSlicedLayersJob
|
# as in ProcessSlicedLayersJob
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue