mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +08:00
T466: Added support of retraction moves
This commit is contained in:
parent
0f835a240d
commit
5441f1889c
@ -202,9 +202,9 @@ class GCODEReader(MeshReader):
|
|||||||
current_z = z
|
current_z = z
|
||||||
if e is not None:
|
if e is not None:
|
||||||
if e > current_e:
|
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:
|
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
|
current_e = e
|
||||||
else:
|
else:
|
||||||
current_path.append([current_x, current_z, -current_y, 0])
|
current_path.append([current_x, current_z, -current_y, 0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user