You can also use Autocad to do what Elgin Suggested, Its faster, easier, and more accurate.
Also, If you are thinking of using this for timing belts,
https://sdp-si.com/index.asp has a handy center distance calculator on the front page that is really easy to use.