Hi Pawel, you should read
PyMOL> help(cmd.rotate) This would tell you that the rotate function has a "origin" argument. Hope that helps. Cheers, Thomas On 17 Feb 2014, at 14:40, Paweł Tomaszewski <croov...@gmail.com> wrote: > Thank you Thomas > Using camera=0 caused my cone not to do rotations related to the camera > position. > Cone still rotates not about itself, but about axis of global coordinate > system. > Do you have any other ideas? > > Cheers, > Paweł > > > 2014-02-06 17:00 GMT+01:00 Thomas Holder <thomas.hol...@schrodinger.com>: > 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=121054471&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