[PyMOL] Fw: How to compile pymol with --glut?

2020-02-14 Thread sunyeping via PyMOL-users


Using yum of centos or apt of Ubuntu cannot install the latest version.
--
From:Robi Gus 
Sent At:2020 Feb. 14 (Fri.) 22:00
To:孙业平 
Subject:Re: [PyMOL] How to compile pymol with --glut?

much easier to use apt to install open source pymol binaries
Sent: Friday, February 14, 2020 at 7:47 AM
From: "sunyeping via PyMOL-users" 
To: "Thomas Holder" 
Cc: pymol-users 
Subject: Re: [PyMOL] How to compile pymol with --glut?
Hi Thomas,
Thank you and I know this has been asked before, but following the suggestion 
posted by you does not solve the problem.
After run the two commands:
rm -rf build
python2 setup.py --glut install --prefix=~/pymol-install-py2
The same error still comes out.
--
From:Thomas Holder 
Sent At:2020 Feb. 11 (Tue.) 17:34
To:孙业平 
Cc:pymol-users 
Subject:Re: [PyMOL] How to compile pymol with --glut?
 Hi Yeping,

 This has been asked before (by you :-)), see here:

https://sourceforge.net/p/pymol/mailman/message/36766620/

 Cheers,
   Thomas

 > On Feb 8, 2020, at 2:12 PM, 孙业平 via PyMOL-users 
 >  wrote:
 > 
 > Dear pymol users,
 > 
 > I compiled pymol following the guide at 
 > https://pymolwiki.org/index.php/Linux_Install in my CentOS 8 system.
 > When I tried to launch pymol by the "./pymol" command, I got the following 
 > error:
 > 
 > Qt not available, using GLUT/Tk interface
 > Traceback (most recent call last):
 >   File 
 > "/home/sunyp/software/Pymol/pymol-install/lib64/python/pymol/__init__.py", 
 > line 65, in 
 > pymol.launch(args)
 >   File 
 > "/home/sunyp/software/Pymol/pymol-install/lib64/python/pymol/__init__.py", 
 > line 441, in launch
 > _cmd.runpymol(_cmd._get_global_C_object(), block_input_hook)
 > NotImplementedError: compile with --glut
 > 
 > I then removed the "bin" and the "lib64" directories in the 
 > "pymol-open-source-build" directory and recompiled pymol with the following 
 > command:
 >python3 setup --glut install 
 > --prefix=~/software/Pymol/pymol-open-source-build
 > 
 > However, the newly generated pymol binary file does not work either. Launch 
 > pymol give the same "Qt not available, using GLUT/Tk interface" error.
 > 
 > Could you help me with this?Thank you in advance.
 > 
 > Best regards.
 > 
 > 
 > ___
 > PyMOL-users mailing list
 > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
 > Unsubscribe: 
 > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

 --
 Thomas Holder
 PyMOL Principal Developer
 Schrödinger, Inc. 
 ___ PyMOL-users mailing list 
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net 
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe


___
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

[PyMOL] Accessing vertex normals from surface representation within PyMOL session

2020-02-14 Thread Jared Sampson
Hi all -

Is it possible to access surface triangle mesh position and normal values on a 
per-selection basis within a PyMOL session?  I know it's possible to get these 
by writing out and parsing .obj files, but to do this for an entire protein 
surface in a per-atom/residue fashion would be inefficient.  I imagine there 
must be a function to access this similar to "dump" for isosurfaces, but 
haven't been able to find it.

Thanks a lot!

Cheers,
Jared

___
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

[PyMOL] cmd.add_state_loop() function

2020-02-14 Thread Zheng Ruan
Hi,

I'm trying to only add a given fraction of my structure ensemble to
the movie frames. I see that there is a "first" and "last" option in
the cmd.add_state_loop() function. However, the "last" option doesn't
seem to be used by the body of the cmd.add_state_loop() function (at
least the code in github). I guess this can be fixed easily?

Thank you!
Zheng


___
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe


Re: [PyMOL] How to compile pymol with --glut?

2020-02-14 Thread sunyeping via PyMOL-users
Hi Thomas,

Thank you and I know this has been asked before, but following the suggestion 
posted by you does not solve the problem.

After run the two commands:
rm -rf build
python2 setup.py --glut install --prefix=~/pymol-install-py2

The same error still comes out.
--
From:Thomas Holder 
Sent At:2020 Feb. 11 (Tue.) 17:34
To:孙业平 
Cc:pymol-users 
Subject:Re: [PyMOL] How to compile pymol with --glut?

Hi Yeping,

This has been asked before (by you :-)), see here:

https://sourceforge.net/p/pymol/mailman/message/36766620/

Cheers,
  Thomas

> On Feb 8, 2020, at 2:12 PM, 孙业平 via PyMOL-users 
>  wrote:
> 
> Dear pymol users,
> 
> I compiled pymol following the guide at 
> https://pymolwiki.org/index.php/Linux_Install in my CentOS 8 system.
> When I tried to launch pymol by the "./pymol" command, I got the following 
> error:
> 
> Qt not available, using GLUT/Tk interface
> Traceback (most recent call last):
>   File 
> "/home/sunyp/software/Pymol/pymol-install/lib64/python/pymol/__init__.py", 
> line 65, in 
> pymol.launch(args)
>   File 
> "/home/sunyp/software/Pymol/pymol-install/lib64/python/pymol/__init__.py", 
> line 441, in launch
> _cmd.runpymol(_cmd._get_global_C_object(), block_input_hook)
> NotImplementedError: compile with --glut
> 
> I then removed the "bin" and the "lib64" directories in the 
> "pymol-open-source-build" directory and recompiled pymol with the following 
> command:
>python3 setup --glut install 
> --prefix=~/software/Pymol/pymol-open-source-build
> 
> However, the newly generated pymol binary file does not work either. Launch 
> pymol give the same "Qt not available, using GLUT/Tk interface" error.
> 
> Could you help me with this?Thank you in advance.
> 
> Best regards.
> 
> 
> ___
> PyMOL-users mailing list
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
> Unsubscribe: 
> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

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

___
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe