From 5441f1889c64cb903465f6751963b128f8d6e819 Mon Sep 17 00:00:00 2001 From: Victor Larchenko Date: Sat, 5 Nov 2016 16:39:01 +0600 Subject: [PATCH] T466: Added support of retraction moves --- plugins/GCODEReader/GCODEReader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GCODEReader/GCODEReader.py b/plugins/GCODEReader/GCODEReader.py index b8f1f8efa3..430c3f6052 100644 --- a/plugins/GCODEReader/GCODEReader.py +++ b/plugins/GCODEReader/GCODEReader.py @@ -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])