Re: [PyMOL] writing out the surface

2012-07-15 Thread Thomas Holder
Hi Michael, you need to reset the camera view. def writeSurfaceValue(objname, wrlname='/tmp/tmp.wrl', ptsname='/tmp/tmp.pts', pdbname='/tmp/tmp.pdb'): cmd.hide('everything') cmd.show('surface',objname) view = cmd.get_view() cmd.set_view([1.0, 0.0, 0.0, 0.0, 1.0, 0.0,

Re: [PyMOL] Dynamic Bonds based on connection table ?

2012-07-15 Thread Thomas Holder
Hi Thomas, if you load the molecules as "discrete" objects, then the states will be independant and each state will have its own connectivity. load testm.pqr, mov, discrete=1 PyMOL by default calculates connectivity based on distances. If you want to make sure that only your own CONECT records

Re: [PyMOL] writing out the surface

2012-07-15 Thread Michael Lerner
Thanks! Apparently I'd forgotten that fetch defaults to doing a zoom (which it obviously has to do to make things look reasonable), so I thought I didn't need to play with the view. Too much non-PyMOL work rots the brain, it seems. Cheers, -Michael On Sun, Jul 15, 2012 at 5:35 AM, Thomas Holder