Re: [PyMOL] Question on rotation

2006-04-26 Thread Terry Jones
Hi Tsjerk > "Tsjerk" == Tsjerk Wassenaar writes: Tsjerk> There's a bit more to it. In the pymol view, the camera is located Tsjerk> at the origin, so to rotate your coordinates you first have to move Tsjerk> the center to the origin, do the rotation and move the thing Tsjerk> back. I've scrip

Re: [PyMOL] Question on rotation

2006-04-26 Thread Tsjerk Wassenaar
Hi Terry, There's a bit more to it. In the pymol view, the camera is located at the origin, so to rotate your coordinates you first have to move the center to the origin, do the rotation and move the thing back. I've scripted this in Povray. If you're interested, I can send you the script. You can

[PyMOL] Question on rotation

2006-04-25 Thread Terry Jones
I wrote a pymol plugin that produces a bunch of cgo. The images I generate have a cube drawn around them. I've been asked if it's possible to allow the user to initially rotate the image to their heart's content and then have the plugin draw the surrounding cube. I.e., once the image is rotated, t