mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-08 23:46:25 -06:00
corexy: Initial corexy kinematic implementation
Add initial support for corexy kinematics. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
57f279677f
commit
49bdc6fbd1
5 changed files with 254 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue