+1... Would be a goodie to throw on the wiki.
Thanks!
F
On Dec 20, 2011, at 1:47 PM, Jason Vertrees wrote:
> python
>
> from pymol import cmd
>
> def crosshair_put_center():
> t = cmd.get_position()
> m = [1, 0, 0, t[0], 0, 1, 0, t[1], 0, 0, 1, t[2], 0, 0, 0, 1]
> cmd.set_object_ttt('crosshair', m, homogenous=1)
>
> cmd.load_callback(crosshair_put_center, '_crosshair_cb')
>
> cmd.pseudoatom('crosshair', pos=(0,0,0))
> cmd.show_as('nonbonded', 'crosshair')
>
> python end
---------------------------------------------
Francis E. Reyes M.Sc.
215 UCB
University of Colorado at Boulder
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]