Re: [PyMOL] Clip surface only

2015-01-21 Thread Markus Heller
, 2015 1:49 PM To: H. Adam Steinberg Cc: Markus Heller; pymol-users@lists.sourceforge.net Subject: Re: [PyMOL] Clip surface only Hey :) If you want to do it using only Pymol in just a few minutes, try this: set auto_zoom, 0 scale=1.0 import numpy M=numpy.array(cmd.get_view()).reshape(6,3

Re: [PyMOL] Clip surface only

2015-01-21 Thread Tsjerk Wassenaar
Hey :) If you want to do it using only Pymol in just a few minutes, try this: set auto_zoom, 0 scale=1.0 import numpy M=numpy.array(cmd.get_view()).reshape(6,3) cmd.pseudoatom("dummy",pos=list(M[4,:]-scale*numpy.dot(M[:3,:3],M[3,:]))) hide everything, (not ligand) within 150 of dummy Adjust the

Re: [PyMOL] Clip surface only

2015-01-21 Thread H. Adam Steinberg
if you have access to Gimp or photoshop and want to do this in just a few minutes… clip and render the surface how you want it, then without moving anything, unclip and render just the ligand. In any bitmap editing program layer the ligand image over the clipped surface image and merge the two i

[PyMOL] Clip surface only

2015-01-21 Thread Markus Heller
Hello all, I'm trying to show a ligand in a binding site, and I'd like to selectively clip the surface only.  I haven't found anything on the web, only that it was not possible a few years ago. Surely this has changed? Thanks and Cheers Markus -- Markus Heller, Ph.D. NMR Scientist CDRD - Th