var jsVar =
jmolGetPropertyAsJavaObject("auxiliaryinfo.models[1].infoUnitcell")

jsVar[0]  (a)
jsVar[1]  (b)
jsVar[2]  (c)
jsVar[3]  (alpha)
jsVar[4]  (beta)
jsVar[5]  (gamma)
jsVar[6-8] Va
jsVar[9-11] Vb
jsVar[12-14] Vc
jsVar[15] dimensionality (1, 2, or 3)
jsVar[16] volume




On Tue, Jun 12, 2012 at 12:53 PM, James Wonsever <[email protected]> wrote:

>
> Is there any way to take unit cell data, from a loaded CIF file for
> example, and send it from the jMol applet to javascript on the page.  (I do
> not want to use show w/ set MessageCallback, because that fails on the
> Ubuntu machine I am using.)
>
> I also want to know if its possible to import and display unit cell data,
> on non-crystal molecule formats.  The goal is for the user to create a unit
> cell around a molecule (designed in Modelkit for example) by inputting
> A,B,C,alpha,beta,gamma data.
>
> Thanks,
> -James Wonsever
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to