aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/__init__.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-08-23 14:21:58 -0400
committerKevinOConnor <kevin@koconnor.net>2018-12-24 11:38:59 -0500
commitec9cb3a1b302bddf10bde84fc87ae2a8ad6230b3 (patch)
treeef403d6f16b3a869e25473ba60202e7e85f3bb27 /klippy/chelper/__init__.py
parent7e3e02a17ab33b89e633aafce2b0216ec7b35c49 (diff)
downloadkutter-ec9cb3a1b302bddf10bde84fc87ae2a8ad6230b3.tar.gz
kutter-ec9cb3a1b302bddf10bde84fc87ae2a8ad6230b3.tar.xz
kutter-ec9cb3a1b302bddf10bde84fc87ae2a8ad6230b3.zip
polar: Experimental support for polar kinematics
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r--klippy/chelper/__init__.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py
index 567807fa..6427ba0f 100644
--- a/klippy/chelper/__init__.py
+++ b/klippy/chelper/__init__.py
@@ -16,7 +16,8 @@ COMPILE_CMD = ("gcc -Wall -g -O2 -shared -fPIC"
" -o %s %s")
SOURCE_FILES = [
'pyhelper.c', 'serialqueue.c', 'stepcompress.c', 'itersolve.c',
- 'kin_cartesian.c', 'kin_corexy.c', 'kin_delta.c', 'kin_extruder.c'
+ 'kin_cartesian.c', 'kin_corexy.c', 'kin_delta.c', 'kin_polar.c',
+ 'kin_extruder.c',
]
DEST_LIB = "c_helper.so"
OTHER_FILES = [
@@ -70,6 +71,10 @@ defs_kin_delta = """
, double tower_x, double tower_y);
"""
+defs_kin_polar = """
+ struct stepper_kinematics *polar_stepper_alloc(char type);
+"""
+
defs_kin_extruder = """
struct stepper_kinematics *extruder_stepper_alloc(void);
void extruder_move_fill(struct move *m, double print_time
@@ -116,7 +121,8 @@ defs_std = """
defs_all = [
defs_pyhelper, defs_serialqueue, defs_std, defs_stepcompress, defs_itersolve,
- defs_kin_cartesian, defs_kin_corexy, defs_kin_delta, defs_kin_extruder
+ defs_kin_cartesian, defs_kin_corexy, defs_kin_delta, defs_kin_polar,
+ defs_kin_extruder
]
# Return the list of file modification times