[PyMOL] How to ray trace clipped image without clipping spheres.

2013-03-11 Thread Yarrow Madrona
Hi, Does anyone know how to ray trace an image of an active site in sphere representation that is clipped, without getting a weird result that I assume comes from clipping the spheres? It looks like unfilled circles. Thank you -Yarrow -- Yarrow Madrona Graduate Student Molecular Biology and

Re: [PyMOL] How to ray trace clipped image without clipping spheres.

2013-03-11 Thread Jason Vertrees
Hi Yarrow, This is a known problemhttp://sourceforge.net/p/pymol/feature-requests/53/. We'll try to fix this soon. Cheers, -- Jason On Mon, Mar 11, 2013 at 2:05 PM, Yarrow Madrona amadr...@uci.edu wrote: Hi, Does anyone know how to ray trace an image of an active site in sphere

Re: [PyMOL] How to ray trace clipped image without clipping spheres.

2013-03-11 Thread Tsjerk Wassenaar
# Hey :) # Here is a work around... # First import the numpy module import numpy # Then store the viewing matrix as 6 by 3 numpy array. M=numpy.array(cmd.get_view()).reshape(6,3) # Now place a pseudoatom at the position of the camera # Turn off autozoom to keep the view set auto_zoom, 0

Re: [PyMOL] How to ray trace clipped image without clipping spheres.

2013-03-11 Thread Thomas Holder
Along those lines: The script SelectClipped from the PyMOLWiki does a good job here, at least for spheres. http://pymolwiki.org/index.php/SelectClipped Example (after having loaded the script or installed it with the plugin manager): PyMOL select_clipped PyMOL hide everything, not clipped