aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/klippy.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-07-07 15:52:44 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-07-10 22:48:59 -0400
commite0a9a1b8003d8ccb2d0bcb11da372cbaae90f4cc (patch)
tree63f4b823beee8db1ae2cf2078cb5f9998e974751 /klippy/klippy.py
parent861f5a53879a1094cca76f478dffef89a741990a (diff)
downloadkutter-e0a9a1b8003d8ccb2d0bcb11da372cbaae90f4cc.tar.gz
kutter-e0a9a1b8003d8ccb2d0bcb11da372cbaae90f4cc.tar.xz
kutter-e0a9a1b8003d8ccb2d0bcb11da372cbaae90f4cc.zip
toolhead: Split toolhead code from cartesian.py to new file toolhead.py
Separate out the toolhead logic to its own python file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r--klippy/klippy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/klippy.py b/klippy/klippy.py
index a8d50c5e..421a6099 100644
--- a/klippy/klippy.py
+++ b/klippy/klippy.py
@@ -5,7 +5,7 @@
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import sys, optparse, ConfigParser, logging, time, threading
-import gcode, cartesian, util, mcu, fan, heater, reactor
+import gcode, toolhead, util, mcu, fan, heater, reactor
class ConfigWrapper:
def __init__(self, printer, section):
@@ -58,7 +58,7 @@ class Printer:
if self.fileconfig.has_section('heater_bed'):
self.objects['heater_bed'] = heater.PrinterHeater(
self, ConfigWrapper(self, 'heater_bed'))
- self.objects['toolhead'] = cartesian.ToolHead(
+ self.objects['toolhead'] = toolhead.ToolHead(
self, self._pconfig)
def stats(self, eventtime):