aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/stepper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-01-13 21:30:32 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-01-23 20:47:01 -0500
commitd1972b1e9ccc1331d2a2e5d3af108abf8a2858e2 (patch)
treea76dec0c4be0c0b598a534452cf295ed77a29c30 /klippy/stepper.py
parent8bf3e56301283ff9d657bc739b2ff1c3be4197d2 (diff)
downloadkutter-d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2.tar.gz
kutter-d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2.tar.xz
kutter-d1972b1e9ccc1331d2a2e5d3af108abf8a2858e2.zip
itersolve: Add ability to query the active_flags state
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r--klippy/stepper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/klippy/stepper.py b/klippy/stepper.py
index cf7effd7..d4fe63ba 100644
--- a/klippy/stepper.py
+++ b/klippy/stepper.py
@@ -165,6 +165,9 @@ class MCU_stepper:
flush_time)
if ret:
raise error("Internal error in stepcompress")
+ def is_active_axis(self, axis):
+ return self._ffi_lib.itersolve_is_active_axis(
+ self._stepper_kinematics, axis)
# Helper code to build a stepper object from a config section
def PrinterStepper(config, units_in_radians=False):