In the Axis gui for emc2, there is a logarithmic jog speed slider. It has been suggested to replace this with a slider that works in 1-2-5 increments, and to extend it to the new "Max Speed" control.

However, the required value can sometimes not be a value actually from the 1-2-5 progression, for instance, at the top of the scale or when the value has been set by an external force.

For this reason, I've written a pair of functions, "lurg" and "epic", which are continuous version of the 1-2-5 function.

Files currently attached to this page:

powers.py2.0kB