mirror of https://github.com/Desuuuu/klipper.git
delta_calibrate: Fix Python3 error in DELTA_ANALYZE
Reported by @CODeRUS. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
29e9ac6ec5
commit
7f9ea231b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue