Hi all,

I've been writing a small pymol script based on plane_wizard.py from the pymol wiki
http://www.pymolwiki.org/index.php/Plane_Wizard
(and also Warren's script cgo_plane.py )
However, I'm getting stuck with the modification I'd most like to make. I'd like the plane to be partially transparent. This seems to be possible ( http://delsci.com/img/pore.jpg ) but I think I must be overlooking something obvious in cgo syntax... I found an old message in the archive saying this can only be done at the time the object is created using something like

def makeSphere(name, x, y, z, r, transparency=0.5):
obj[]
obj.extend([cgo,1-transparency])
cmd.load_cgo(obj,name,1)

but have had no success in adapting/integrating this.

Thanks in advance for any ideas,
Robin

Reply via email to