Hi,I have a requirement where the camera should face at the face of the warehouse on the initial load of the page. But the issue is the warehouse structure can vary in structure Below is the attached images of three different projects This is a warehouse structure
I’m expected to display a zoomed version of this

i cannot hardcore the camera positions as the structure can vary for other projects. example
I was trying to adjust by using
camera.position.x = -warehouse.geometry.parameters.depth/2;
camera.position.y = 3;
camera.position.z = warehouse.geometry.parameters.width;
camera.updateProjectionMatrix();
Can someone guide me how to resolve this issue. Thanks for your time