I am using Blensor v2.67. I have a camera and several objects in my scene. The camera follows a path and I would like to save what the camera sees for each frame. Among other things, I would like to save the (oriented) bounding boxes of my objects. I did some research, but I believe Display bounding box around objects only displays the bounding boxes and in Save the bounding box position of an object in a text file the requirements seem to be different (2D, moving object,...). Any answer on how to do this will be greatly appreciated! Is there inherent functionality to do this or do I need to include a custom script?
From my answer here, you can create a bounding cube around an object:
This processes could be automated in python:
This adds a bounding box object for every selected object.
By using the addon I added to your other question you can create a bounding box that has the dimensions that you can easily export to a text file.
If you want to export an individual bounding box for each object you can enable the addon and run the following -
As the addon names each bounding box with the name BoundingBox you can easily select just the bounding boxes (using select pattern in the select menu) and then export the selected objects.
Then when you export turn on the selected only option available in most exporters. If your using your own script to export to text then loop over the selected objects.