aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extruder.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-10-25 19:11:05 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-10-25 19:19:29 -0400
commit6a96e83ea923ebd0d3a84da218afda020b8b9612 (patch)
tree695901a66269bf24df3c1555a0fa5184a820ee73 /klippy/extruder.py
parent306db9a8516a42258346a1292da550199a06d8d6 (diff)
downloadkutter-6a96e83ea923ebd0d3a84da218afda020b8b9612.tar.gz
kutter-6a96e83ea923ebd0d3a84da218afda020b8b9612.tar.xz
kutter-6a96e83ea923ebd0d3a84da218afda020b8b9612.zip
toolhead: Store both the start and end position in the Move class
Store the start position (in addition to the existing end position) in the Move class. The start position can be useful to the kinematic classes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extruder.py')
-rw-r--r--klippy/extruder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extruder.py b/klippy/extruder.py
index 94686fdd..8e9298c5 100644
--- a/klippy/extruder.py
+++ b/klippy/extruder.py
@@ -21,7 +21,7 @@ class PrinterExtruder:
self.stepper.motor_enable(move_time, 0)
def check_move(self, move):
if not self.heater.can_extrude:
- raise homing.EndstopError(move.pos, "Extrude below minimum temp")
+ raise homing.EndstopError(move.end_pos, "Extrude below minimum temp")
if (not move.do_calc_junction
and not move.axes_d[0] and not move.axes_d[1]
and not move.axes_d[2]):