New description : The goal is to capture snapshots of a 3d model. For that, I need to ensure the model fits the Camera view well. The Camera location will be provided by the client, which cannot be changed. The Camera can be positioned anywhere. The model will always be positioned at the Centre. How to determine the scaling factor automatically, for the 3d model?
Previous description : I am new to Blender. The goal is to capture snapshots of a 3d model. For that, I need to scale it down/up according to the camera position(and probably "focal length" too), so that the model fits well in the snapshot. My task is to automate all of this. For determining the scaling factor, I think I would need to know the area captured by a Camera at the origin(since the 3d model will always be centered at origin). Is there a formula to calculate the area ? Then I can use that to scale down the object along all 3 axis.