diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-10-25 19:11:05 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-10-25 19:19:29 -0400 |
commit | 6a96e83ea923ebd0d3a84da218afda020b8b9612 (patch) | |
tree | 695901a66269bf24df3c1555a0fa5184a820ee73 /klippy/extruder.py | |
parent | 306db9a8516a42258346a1292da550199a06d8d6 (diff) | |
download | kutter-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.py | 2 |
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]): |