diff options
Diffstat (limited to 'klippy/kinematics')
-rw-r--r-- | klippy/kinematics/cartesian.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/corexy.py | 4 | ||||
-rw-r--r-- | klippy/kinematics/corexz.py | 4 | ||||
-rw-r--r-- | klippy/kinematics/delta.py | 7 | ||||
-rw-r--r-- | klippy/kinematics/deltesian.py | 4 | ||||
-rw-r--r-- | klippy/kinematics/extruder.py | 7 | ||||
-rw-r--r-- | klippy/kinematics/generic_cartesian.py | 11 | ||||
-rw-r--r-- | klippy/kinematics/hybrid_corexy.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/hybrid_corexz.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/idex_modes.py | 5 | ||||
-rw-r--r-- | klippy/kinematics/kinematic_stepper.py | 7 | ||||
-rw-r--r-- | klippy/kinematics/polar.py | 4 | ||||
-rw-r--r-- | klippy/kinematics/rotary_delta.py | 8 | ||||
-rw-r--r-- | klippy/kinematics/winch.py | 3 |
14 files changed, 54 insertions, 16 deletions
diff --git a/klippy/kinematics/cartesian.py b/klippy/kinematics/cartesian.py index 4d21c6e1..2d83e6e0 100644 --- a/klippy/kinematics/cartesian.py +++ b/klippy/kinematics/cartesian.py @@ -4,7 +4,9 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging + import stepper + from . import idex_modes diff --git a/klippy/kinematics/corexy.py b/klippy/kinematics/corexy.py index a571b2f6..257dd72c 100644 --- a/klippy/kinematics/corexy.py +++ b/klippy/kinematics/corexy.py @@ -3,7 +3,9 @@ # Copyright (C) 2017-2021 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import logging, math +import logging +import math + import stepper diff --git a/klippy/kinematics/corexz.py b/klippy/kinematics/corexz.py index b75e00c0..94b12fef 100644 --- a/klippy/kinematics/corexz.py +++ b/klippy/kinematics/corexz.py @@ -3,7 +3,9 @@ # Copyright (C) 2020 Maks Zolin <mzolin@vorondesign.com> # # This file may be distributed under the terms of the GNU GPLv3 license. -import logging, math +import logging +import math + import stepper diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index 508a3331..5ce1841b 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -3,8 +3,11 @@ # Copyright (C) 2016-2021 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import math, logging -import stepper, mathutil +import logging +import math + +import mathutil +import stepper # Slow moves once the ratio of tower to XY movement exceeds SLOW_RATIO SLOW_RATIO = 3.0 diff --git a/klippy/kinematics/deltesian.py b/klippy/kinematics/deltesian.py index c2aec720..94e2baa7 100644 --- a/klippy/kinematics/deltesian.py +++ b/klippy/kinematics/deltesian.py @@ -3,7 +3,9 @@ # Copyright (C) 2022 Fabrice Gallet <tircown@gmail.com> # # This file may be distributed under the terms of the GNU GPLv3 license. -import math, logging +import logging +import math + import stepper # Slow moves once the ratio of tower to XY movement exceeds SLOW_RATIO diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py index ae1604db..6b9e0712 100644 --- a/klippy/kinematics/extruder.py +++ b/klippy/kinematics/extruder.py @@ -3,8 +3,11 @@ # Copyright (C) 2016-2025 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import math, logging -import stepper, chelper +import logging +import math + +import chelper +import stepper class ExtruderStepper: diff --git a/klippy/kinematics/generic_cartesian.py b/klippy/kinematics/generic_cartesian.py index a76e4a21..24cf6dcc 100644 --- a/klippy/kinematics/generic_cartesian.py +++ b/klippy/kinematics/generic_cartesian.py @@ -4,8 +4,15 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. -import copy, itertools, logging, math -import gcode, mathutil, stepper +import copy +import itertools +import logging +import math + +import gcode +import mathutil +import stepper + from . import idex_modes from . import kinematic_stepper as ks diff --git a/klippy/kinematics/hybrid_corexy.py b/klippy/kinematics/hybrid_corexy.py index 2562ba33..6a125928 100644 --- a/klippy/kinematics/hybrid_corexy.py +++ b/klippy/kinematics/hybrid_corexy.py @@ -4,7 +4,9 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging + import stepper + from . import idex_modes diff --git a/klippy/kinematics/hybrid_corexz.py b/klippy/kinematics/hybrid_corexz.py index 6c3ae57d..79d31c36 100644 --- a/klippy/kinematics/hybrid_corexz.py +++ b/klippy/kinematics/hybrid_corexz.py @@ -4,7 +4,9 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging + import stepper + from . import idex_modes diff --git a/klippy/kinematics/idex_modes.py b/klippy/kinematics/idex_modes.py index 5910d5c0..6ff470c5 100644 --- a/klippy/kinematics/idex_modes.py +++ b/klippy/kinematics/idex_modes.py @@ -4,7 +4,10 @@ # Copyright (C) 2023-2025 Dmitry Butyugin <dmbutyugin@google.com> # # This file may be distributed under the terms of the GNU GPLv3 license. -import collections, logging, math +import collections +import logging +import math + import chelper INACTIVE = "INACTIVE" diff --git a/klippy/kinematics/kinematic_stepper.py b/klippy/kinematics/kinematic_stepper.py index 7d983ed1..bdf9641c 100644 --- a/klippy/kinematics/kinematic_stepper.py +++ b/klippy/kinematics/kinematic_stepper.py @@ -4,8 +4,11 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. -import logging, re -import stepper, chelper +import logging +import re + +import chelper +import stepper def parse_carriages_string(carriages_str, printer_carriages, parse_error): diff --git a/klippy/kinematics/polar.py b/klippy/kinematics/polar.py index cd480a42..1ddec527 100644 --- a/klippy/kinematics/polar.py +++ b/klippy/kinematics/polar.py @@ -3,7 +3,9 @@ # Copyright (C) 2018-2021 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import logging, math +import logging +import math + import stepper diff --git a/klippy/kinematics/rotary_delta.py b/klippy/kinematics/rotary_delta.py index 7bc3a4d8..ac22c5e5 100644 --- a/klippy/kinematics/rotary_delta.py +++ b/klippy/kinematics/rotary_delta.py @@ -3,8 +3,12 @@ # Copyright (C) 2019-2021 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import math, logging -import stepper, mathutil, chelper +import logging +import math + +import chelper +import mathutil +import stepper class RotaryDeltaKinematics: diff --git a/klippy/kinematics/winch.py b/klippy/kinematics/winch.py index 290a7f27..6a67d8c4 100644 --- a/klippy/kinematics/winch.py +++ b/klippy/kinematics/winch.py @@ -3,7 +3,8 @@ # Copyright (C) 2018-2021 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import stepper, mathutil +import mathutil +import stepper class WinchKinematics: |