Make Camera position to zoom & center the obj file

This topic has been discussed in the past. Have a look at this topic and see if any of the provided sippets work for you.