Re: [PyMOL] Yaw, Pitch and Roll of CGO

2014-02-18 Thread Thomas Holder
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

Re: [PyMOL] Yaw, Pitch and Roll of CGO

2014-02-18 Thread Sampson, Jared
Hi Pawel - If you can determine the primary axis of the cone from the tip and the center of the circle at the base, you can give `rotate` an arbitrary [x,y,z] float vector as its first argument instead of x, y or z. For example, if you generate your cone using something like the following

[PyMOL] selecting atoms ..

2014-02-18 Thread Sampsa Riikonen
Hi, I am trying to select a large number of atoms, using a pymol script. The first script file looks like this: --- select paska, id 36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58 The second one like this: select isopaska, id

Re: [PyMOL] Yaw, Pitch and Roll of CGO

2014-02-18 Thread Paweł Tomaszewski
Jared, Thomas thank you guys! Now everything works great :) The solution was pretty simple and I don't know why it took me so long... I have a X,Y and Z coordinates from my SensAble Pantom haptic device and quaternions to do rotations of cone. The problem was, that in 'translate' function I

Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7

2014-02-18 Thread Paweł Tomaszewski
Hi Camilo. I've got the same error! But it seems, there's no simple solution for this. Where do you have your PyMOL from? Cheers Pawel 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz camilo.jimen...@gmail.com: Hi everybody I installed pymol 1.6.x unofficial in windows 7 home. As far

Re: [PyMOL] Yaw, Pitch and Roll of CGO

2014-02-18 Thread Sampson, Jared
Hi Pawel - Glad you were able to make it work. Also, that haptic device (I guess the new version is the Geomagic Touch?) looks pretty neat. I'm now realizing that when you asked how to make a rotation of the CGO about axis that is NOT of the global pymol coordinate system but goes through the

Re: [PyMOL] selecting atoms ..

2014-02-18 Thread Sampson, Jared
Hi Sampsa - The long list of ids crashes for me as well. Instead of listing each id separately, you can use ranges to define your selections. select paska, id 36-58 select isopaska, id 36-350 If you need to use non-continuous ids, you can use Boolean logic to join the ranges: select

Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7

2014-02-18 Thread Camilo Andrés Jimenez Cruz
I downloaded it from the link here http://www.pymolwiki.org/index.php/Windows_Install -- Camilo Jiménez On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski croov...@gmail.comwrote: Hi Camilo. I've got the same error! But it seems, there's no simple solution for this. Where do you have your

Re: [PyMOL] Yaw, Pitch and Roll of CGO

2014-02-18 Thread Paweł Tomaszewski
Jared, my haptic device is SensAble Phantom Omni and now it is called Geomagic Touch. I work on integration it with PyMOL and VRPN. So far so good, but now I have a little more complicated problem with rotate and translate functions. When I set camera=0 in both of them, it doesn't matter if I