The best views from -x, +x, -y, +y, -z and +z of a model


I want to write a code to get the best views of a 3d model.

The best views will be from -x, +x, -y, +y, -z and +z.

Can someone help me?

Im thinking I will need the bounding box data of the object, or not?

Maybe i didnt explain well…

When i say the “best view” i mean “best fit”.

I saw a button to get this in Deep Exploration app. and a button called “Zoom extents” in 3d Studio Max do the same.

Read this lines of a 3D Studio Max manual:

“Use the Zoom Extents Tool to zoom your view to a distance which makes the whole model visible and centered in the drawing area”.