How do I centre the pivot onto a mesh?

this is really cool. no access to max but we have a pretty great technical artist that may be able to make me a maya version if I bug him enough. If he does I’ll be sure to share with the community.