anyone got mach3 script can do the same as in the video?

It requires tool diameter and mesaures the outside edge of the finder.