mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
T466: Added support of retraction moves
This commit is contained in:
parent
0f835a240d
commit
5441f1889c
1 changed files with 2 additions and 2 deletions
|
@ -202,9 +202,9 @@ class GCODEReader(MeshReader):
|
|||
current_z = z
|
||||
if e is not None:
|
||||
if e > current_e:
|
||||
current_path.append([current_x, current_z, -current_y, 1])
|
||||
current_path.append([current_x, current_z, -current_y, 1]) # extrusion
|
||||
else:
|
||||
current_path.append([current_x, current_z, -current_y, 0])
|
||||
current_path.append([current_x, current_z, -current_y, 2]) # retraction
|
||||
current_e = e
|
||||
else:
|
||||
current_path.append([current_x, current_z, -current_y, 0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue