Short description of error
Take a look at the propellor in attached blend file, try to set the origin to center of mass or volume.. it fails to get to the center.
I hink it would not require a lot of math to solve this, take each verticle (or surface center) average their sum distances, or something close to that.
Exact steps for others to reproduce the error
hit space bar type origin