From 49bdc6fbd18f2bc746e7883e635256137e69486b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 12 Mar 2017 13:47:16 -0400 Subject: corexy: Initial corexy kinematic implementation Add initial support for corexy kinematics. Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'klippy/toolhead.py') 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') -- cgit v1.2.3-70-g09d2