Thank you very much! Really cool!
Gudrun
Am 28.03.2012 um 17:38 schrieb Jason Vertrees:
> Hi Gudrun,
>
> The quickest way would be to center the camera on your selection/protein:
>
> # create the axes
>
> run axes.py
>
> # put camera center at center of protein geometry
>
> orient 6lys
>
> x = cmd.get_position()
>
> # move the axes
>
> cmd.set_object_ttt("axes", [1, 0, 0, x[0], 0, 1, 0, x[1], 0, 0, 1,
> x[2], 0, 0, 0, 1])
>
> Cheers,
>
> -- Jason
>
> On Wed, Mar 28, 2012 at 9:00 AM, Gudrun Lotze <[email protected]> wrote:
>> Dear all,
>>
>> I used the second script from page http://www.pymolwiki.org/index.php/Axes
>> to draw those axes.
>>
>> However they are not plotted within my 6Lys.pdb file, those axes are located
>> next to the crystal structure. I honestly don't know whee is the center of
>> 6Lys.pdb, but is there a chance to bring 6Lys.pdb and axes.py with regard to
>> their centers into one point, please? Basically, the axes.py sits in the
>> center of the molecule.
>> Is there a defined way to achieve this without random try & fail
>> translations, please?
>>
>> Thank you for your help.
>> Kind regards
>> Gudrun
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> PyMOL-users mailing list ([email protected])
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives: http://www.mail-archive.com/[email protected]
>
>
>
> --
> Jason Vertrees, PhD
> PyMOL Product Manager
> Schrödinger, LLC
>
> (e) [email protected]
> (o) +1 (603) 374-7120
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]