diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-07-25 23:47:30 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-07-25 23:47:30 -0400 |
commit | 92f81d51f4a88dd6f32a2507e8c3d754c62f4b03 (patch) | |
tree | 0d6ad81b8f8e2152e0e7c6a85f773b7f3df0a69d /klippy/toolhead.py | |
parent | e9c03f2e4a1807de2730de370ea374c4edeea438 (diff) | |
download | kutter-92f81d51f4a88dd6f32a2507e8c3d754c62f4b03.tar.gz kutter-92f81d51f4a88dd6f32a2507e8c3d754c62f4b03.tar.xz kutter-92f81d51f4a88dd6f32a2507e8c3d754c62f4b03.zip |
homing: Move low-level coordinate manipulation to kinematic class
Rework the code so that the kinematic class (currently just
cartesian.py) has more control over the homing process.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r-- | klippy/toolhead.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index d0cd86a5..35d296e1 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -253,8 +253,8 @@ class ToolHead: speed = min(speed, self.max_xy_speed) move = Move(self, newpos, move_d, axes_d, speed, self.max_xy_accel) self.move_queue.add_move(move) - def home(self, axis): - return self.kin.home(self, axis) + def home(self, axes): + return self.kin.home(self, axes) def dwell(self, delay): self.get_last_move_time() self.update_move_time(delay) |