aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/graphstats.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-12-04 19:30:35 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-12-05 14:36:02 -0500
commit9c932ad514cbf5d8ab9573b16aeceabb11ecfebf (patch)
treebcd31d5d15872f6fbb90d43da6a1c45d61428e9f /scripts/graphstats.py
parent5458f3cbd20678ad7db1005e3abf7d01e2099820 (diff)
downloadkutter-9c932ad514cbf5d8ab9573b16aeceabb11ecfebf.tar.gz
kutter-9c932ad514cbf5d8ab9573b16aeceabb11ecfebf.tar.xz
kutter-9c932ad514cbf5d8ab9573b16aeceabb11ecfebf.zip
delta: Rework delta math to avoid using inv_movexy_r
Taking the inverse of the XY move distance can lead to extremely large values when the XY distance is very small. This can lead to saturation of the double precision variables and incorrect results. Rework the delta kinematic math to avoid using this inverse. Pass the closestxy_d value directly to the C functions so that the C code can calculate its intermediate constants. After this change the move_z special case is no longer necessary as the regular delta functions now work with movexy_r=0 and movez_r=1. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/graphstats.py')
0 files changed, 0 insertions, 0 deletions