I’m trying to set up some scenes which are exportable via Ruby, so i’m adjusting the camera and adding a scene with an aspect ratio to SketchUp.
This works great, as I get the letterbox effect.
I’m then trying to zoom the model to extents, so that I can always export a complete image of the object in the shot. I have used view.zoom_extents for this (where view is the active_view)
This almost works, but unfortunately it zooms to the extents of the viewport.
Is there a way for this to be zoomed to the extents of the page/scene aspect ratio / safe area?
Do I need to do anything like page.camera.zoom_extents? (I have a feeling this doesn’t work)
Thanks again everyone.