diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-03-12 13:47:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-04-03 17:27:14 -0400 |
commit | 49bdc6fbd18f2bc746e7883e635256137e69486b (patch) | |
tree | 5b046c24b77336e95120606b39f12e3242bdf256 /klippy/toolhead.py | |
parent | 57f279677fb7a609af81bdcd3aaf967d3ee5a949 (diff) | |
download | kutter-49bdc6fbd18f2bc746e7883e635256137e69486b.tar.gz kutter-49bdc6fbd18f2bc746e7883e635256137e69486b.tar.xz kutter-49bdc6fbd18f2bc746e7883e635256137e69486b.zip |
corexy: Initial corexy kinematic implementation
Add initial support for corexy kinematics.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r-- | klippy/toolhead.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index ca7deebc..d7b677ce 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -4,7 +4,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import math, logging -import cartesian, delta, extruder +import cartesian, corexy, delta, extruder # Common suffixes: _d is distance (in mm), _v is velocity (in # mm/second), _v2 is velocity squared (mm^2/s^2), _t is time (in @@ -185,6 +185,7 @@ class ToolHead: if self.extruder is None: self.extruder = extruder.DummyExtruder() kintypes = {'cartesian': cartesian.CartKinematics, + 'corexy': corexy.CoreXYKinematics, 'delta': delta.DeltaKinematics} self.kin = config.getchoice('kinematics', kintypes)(printer, config) self.max_speed = config.getfloat('max_velocity') |