I'm trying to build an automatic renderer using Python, loading lots of OBJ files one-by-one and rendering the results.
I can load the files no problem, but because they are different sizes, I need to either: 1. Change the objects to the same size, or 2. Move the camera so the object fits
I can't seem to get either option to work!
Thus far, the best option seems perhaps to use
bpy.ops.object.dimensions and then scale, but I can't seem to get the x/y/z dimensions out of object.