Re: [Jmol-users] labeling residue by position relative to observer

2017-05-15 Thread Robert Hanson
"sz" stands for "screen z"; smaller is closer. select on sz = @{all.sz.min} highlights closest atom (sorry, Eric!) ​Bob -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.o

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-15 Thread Eric Martz
Dear Luciano, Below is a script that selects the frontmost atom as the molecule is rotated by the mouse. It defines a set of 4 atoms, and whichever becomes frontmost is selected. This script can be adapted to run any arbitrary script triggered by one of a specified set of atoms becoming frontm

Re: [Jmol-users] State of the world of WebGL "alternatives" to JSmol

2017-05-15 Thread Paul PILLOT
Dear Jmolers, the original message of this thread was posted one year and a half ago… and discussed about libraries using WebGL to display macromolecules. Since then, the landscape of webGL molecular viewers has reshaped: - PV is now in maintenance mode : "This project is currently in maintenance

Re: [Jmol-users] labeling residue by position relative to observer

2017-05-15 Thread Luciano Abriata
Thank you Angel. Actually now that you wrote the word "screen-Z" I could refine my searches and found this: | x = point({sx,sy,sz}, false) | gives the 3D coordinates {x, y, z} cooresponding to the screen coordinates {sx, sy, sz}. which I think is a good starting point for what I want! Luciano

[Jmol-users] saving and retrieving orbital surfaces working well with JSmol

2017-05-15 Thread Bruce Tattershall
I am pleased to say that the new facilities for saving and retrieving orbital surfaces or contour plots on a plane, available from version 14.15.2, seem to work well for me. My webpage https://www.staff.ncl.ac.uk/bruce.tattershall/structs/p5e2x.php for the molecule P5 S2 Cl offers the ability to