Brian the Prion Lv 1
Is it possible to apply Ideal SS to a selection or a segment via a recipe? Is there a Lua method to optimize the camera position?
I have created a wiki entry for ui.CenterViewport, based on my observations as to what happens when it is used. Perhaps one of the foldit developers could confirm whether my description is correct.
Ideally, I would like the camera to dolly to the point where the (invisible) bounding box of the molecule completely fills the viewport. Perhaps ui.FitToViewport()would be a suitable name for this.
This would be useful, for instance, when you apply Ideal SS to a helix, and suddenly the entire molecule disappears from the viewport.