Laurence,
Sort of. Right now PyMOL doesn't fully support translations of
individual objects by independent matrices, but you can translate their
representations by a matrix for animation purposes using "translate" and
"rotate" with the object argument.
However, you can cleanly transform the atoms in an object. See
print cmd.transform_selection.__doc__
for details on the matrix used for that.
The object matrix system is just about due for an overhaul -- we
need more flexibility than is currently provided...
Cheers,
Warren
--
mailto:[email protected]
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154
Fax (650)-593-4020
> -----Original Message-----
> From: [email protected] [mailto:pymol-users-
> [email protected]] On Behalf Of Laurence Pearl
> Sent: Tuesday, December 02, 2003 5:47 AM
> To: [email protected]
> Subject: [PyMOL] Object orientation matrices
>
> Is there any way of accessing the matrices that define the orientation
> and position of an individual object relative to the world in PyMol in
> the same way that get_view and set_view do for the overall view matrix
?
>
>
------------------------------------------------------------------------
> --
> Laurence H. Pearl
>
> Section of Structural Biology, Institute of Cancer Research
> Chester Beatty Laboratories, 237 Fulham Road, London SW3 6JB, UK
>
> Phone +44-207-970 6045 : Secretary +44-207-970 6046
> FAX +44-207-970 6051 : E-Mail [email protected]
>
------------------------------------------------------------------------
> --
> " Live Simply and do Serious Things .. " - Dorothy Crowfoot Hodgkin
>
------------------------------------------------------------------------
> --
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users