MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.
I've had this script kicking around for a little while.
For the diameters and thread values, you can use the decimal value or fraction values.
In your case the diameter can be 0.625 or 5/8.
Pitch will be 1/18 or 0.05556.