mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 02:07:56 -06:00
Extruder: Add g-code to set extruder step_distance (#2598)
Signed off by: David Smith <davidosmith@gmail.com>
This commit is contained in:
parent
8f8cf7ef41
commit
d4bf61262e
3 changed files with 27 additions and 0 deletions
|
@ -94,6 +94,10 @@ class MCU_stepper:
|
|||
return self._oid
|
||||
def get_step_dist(self):
|
||||
return self._step_dist
|
||||
def set_step_dist(self, sk, dist):
|
||||
self._step_dist = dist
|
||||
self.set_stepper_kinematics(sk)
|
||||
logging.info("%s manually set to =%.6f", (self._name, dist))
|
||||
def is_dir_inverted(self):
|
||||
return self._invert_dir
|
||||
def calc_position_from_coord(self, coord):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue