Hi Pawel,

have you tried using the camera=0 argument?

cmd.rotate(axis, angle, object='yourcone', camera=0)

Cheers,
  Thomas

On 05 Feb 2014, at 15:46, Павел Томашевский <croov...@gmail.com> wrote:

> Hello
> I've made a cone CGO (something like a pointer) and now I need to make a 
> rotation of the cone. I have got yaw, pitch and roll angle values, but when I 
> do 'rotate' command it rotates about axis of the global coordinate system.
>  
> My question is, how to make a rotation of the CGO about axis that is NOT of 
> the global pymol coordinate system but goes through the CGO itself? 
> 
> I hope it's clear what I mean ;)
> 
> Thank you
> Pawel


-- 
Thomas Holder
PyMOL Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to