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

2014-02-17 Thread Paweł Tomaszewski
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=121054471iu=/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

Re: [PyMOL] loading a cube file from the API

2014-02-17 Thread Thomas Holder
Hi Raul,

there should be no difference between loading from the GUI or using the load 
(not Load) command.

The cube file needs to have a .cube extension.

Cheers,
  Thomas

On 16 Feb 2014, at 19:45, Raúl Mera Adasme rme...@gmail.com wrote:
 Hi all,
 
 I am trying to code a little script that needs to load Guassian cube
 files (to later create some isusurfaces). The cube format is
 supported, and one can easily use the TK interface (file-open) to
 load the file into PyMOL. I have been looking for the command to do it
 automatically in a script, but have not found it. Load is unable to
 open the files.
 
 Any ideas?
 
 Cheers,
 
 Raul

-- 
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=121054471iu=/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


Re: [PyMOL] loading a cube file from the API

2014-02-17 Thread Raúl Mera Adasme
Hi Thomas,
I am using the build that comes with Fedora. One could think they
skipped the plugin when compiled, as the error I get is:

load something.cube
 ObjectMolecule: plugin 'cube' cannot open 'kim-dense.cube'.


Nevertheless,  it does load it correctly when I use Open from the gui.

Thanks!

Raul

On Mon, Feb 17, 2014 at 11:41 PM, Thomas Holder
thomas.hol...@schrodinger.com wrote:
 Hi Raul,

 there should be no difference between loading from the GUI or using the 
 load (not Load) command.

 The cube file needs to have a .cube extension.

 Cheers,
   Thomas

 On 16 Feb 2014, at 19:45, Raúl Mera Adasme rme...@gmail.com wrote:
 Hi all,

 I am trying to code a little script that needs to load Guassian cube
 files (to later create some isusurfaces). The cube format is
 supported, and one can easily use the TK interface (file-open) to
 load the file into PyMOL. I have been looking for the command to do it
 automatically in a script, but have not found it. Load is unable to
 open the files.

 Any ideas?

 Cheers,

 Raul

 --
 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=121054471iu=/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

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

2014-02-17 Thread Camilo Andrés Jimenez Cruz
Hi everybody

I installed pymol 1.6.x unofficial in windows 7 home. As far as I have
tested it works well, but the console (as in the screen that the GL window
shows when I press escape) and the main window keep constantly showing the
message

 WARNING: glDrawBuffer caused GL error

which is annoying because I can't see the help or any other output to there.

Any ideas on how to tackle this?

Thanks

-- Camilo Jiménez
--
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=121054471iu=/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