Annotate distance and animate it

Often while post-processing Abaqus results we need to measure distance between two nodes and are interested in knowing how this distance may change during the process. It will be very useful if we can annotate this distance on the viewport and then animate it.The attached plug-in does the same.

It saves all frames as .png files in the working directory. These images can then be inserted in any ppt file. any video editing tool can be used to create a video. What this plug-in can not do is creating a movie file. The option for movie creation can be added easily but it needs additional module to be installed. It also means that to run the plug-in, with movie creation option, the required module will need to be installed. I have attached the source code. Comments/suggestions are most welcome.