diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-06-13 13:51:07 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-06-13 13:51:07 -0400 |
commit | 7f9ea231b7b9e0f76bf2c5ec02f8af89e7017f76 (patch) | |
tree | 48c934e33d82dd6fb7d98554ec9963c5dd1cb580 /klippy/extras | |
parent | 29e9ac6ec5e12d2c4a2d938748b4a056826fb535 (diff) | |
download | kutter-7f9ea231b7b9e0f76bf2c5ec02f8af89e7017f76.tar.gz kutter-7f9ea231b7b9e0f76bf2c5ec02f8af89e7017f76.tar.xz kutter-7f9ea231b7b9e0f76bf2c5ec02f8af89e7017f76.zip |
delta_calibrate: Fix Python3 error in DELTA_ANALYZE
Reported by @CODeRUS.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras')
-rw-r--r-- | klippy/extras/delta_calibrate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/delta_calibrate.py b/klippy/extras/delta_calibrate.py index 04cbe29e..4054e231 100644 --- a/klippy/extras/delta_calibrate.py +++ b/klippy/extras/delta_calibrate.py @@ -45,7 +45,7 @@ def measurements_to_distances(measured_params, delta_params): od - opw for od, opw in zip(mp['OUTER_DISTS'], mp['OUTER_PILLAR_WIDTHS']) ] # Convert angles in degrees to an XY multiplier - obj_angles = map(math.radians, MeasureAngles) + obj_angles = list(map(math.radians, MeasureAngles)) xy_angles = list(zip(map(math.cos, obj_angles), map(math.sin, obj_angles))) # Calculate stable positions for center measurements inner_ridge = MeasureRidgeRadius * scale |