Cmd.get_view gives you a matrix where the 9th, 10th and 11th numbers give
you the origin of rotation relative to the camera, and 15th and 16th gives
you the front and rear plane distance from the camera, respectively. That
plus some math, and I think you are done. Maybe there is an easier way
though.
Cheers,
João
On Sep 17, 2015 4:50 PM, "wtempel" <wtem...@gmail.com> wrote:
> Hello,
> how can I “get” the the current slab settings, that is settings that are
> adjusted with the clip command: current center of slab (relative to
> center of rotation?), depth of slab?
> Thank you,
> Wolfram Tempel
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net