I want to compute the total scene bounding box, so I can fit the scene in rendered image automatically. I have found `bound_box`. But why are there so many values

```
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>
<bpy_float[3], Object.bound_box>

```

There should be 6 values (x\_min,y\_min,z\_min) and (x\_max,y\_max,z\_max)
['https://blender.stackexchange.com/questions/32283', 'https://blender.stackexchange.com', 'https://blender.stackexchange.com/users/3258/']
You will get 8 values only,

```
>>> obj = bpy.context.active_object
>>> obj.bound_box
bpy.data.objects['Cube'].bound_box

>>> [v[:] for v in obj.bound_box]
[(-1.0, -1.0, -1.0), 
 (-1.0, -1.0, 1.0),
 (-1.0, 1.0, 1.0),
 (-1.0, 1.0, -1.0),
 (1.0, -1.0, -1.0),
 (1.0, -1.0, 1.0),
 (1.0, 1.0, 1.0),
 (1.0, 1.0, -1.0)]

```

![enter image description here](https://i.stack.imgur.com/Ssfmv.png)

for Suzanne it would be:

![enter image description here](https://i.stack.imgur.com/aJ2Wp.png)

Here's some code [I wrote about 2 years ago](http://blenderscripting.blogspot.nl/2013/06/named-tuples-replacement.html) to get x.min, x.max, etc., and distance over the axis for *x, y and z*. With instructions how to use it. (I have this tucked away in a module so I just import the function when I need it)

```
import bpy
from mathutils import Vector

def bounds(obj, local=False):

    local_coords = obj.bound_box[:]
    om = obj.matrix_world

    if not local:
        # Use @ for multiplication instead of * in Blender2.8+. Source: https://blender.stackexchange.com/a/129474/138679
        worldify = lambda p: om * Vector(p[:]) 
        coords = [worldify(p).to_tuple() for p in local_coords]
    else:
        coords = [p[:] for p in local_coords]

    rotated = zip(*coords[::-1])

    push_axis = []
    for (axis, _list) in zip('xyz', rotated):
        info = lambda: None
        info.max = max(_list)
        info.min = min(_list)
        info.distance = info.max - info.min
        push_axis.append(info)

    import collections

    originals = dict(zip(['x', 'y', 'z'], push_axis))

    o_details = collections.namedtuple('object_details', 'x y z')
    return o_details(**originals)

""" 
obj = bpy.context.object
object_details = bounds(obj)

a = object_details.z.max
b = object_details.z.min
c = object_details.z.distance

print(a, b, c)

"""

```
Each object that has a `bound_box` property will return *8* values that represent the bounding information. The 8 values describe the corners of the bounding box itself. 

If you have 16 values I presume that is because you have 2 objects in the scene (though it isn't clear from your question what you might have typed in to return all 16 values).