I am in the process of rewriting some Chime pages to make use of Jmol. I have a couple of questions about the syntax of the Jmol commands.

 

1)       “spin” this seems to default to a rotation about the Y axis. Is there a way to change the rotation to the X or Z axis?

2)       Loop command: I understand this causes the entire script to repeat (after a delay). Is there a way to get only part of the script to loop? i.e. I have a check box:

 

           jmolCheckbox("spin off; reset; move 0 0 120 0 0 0 0 0 1; loop 1;”, "reset; rotate X 90;  spin on", "Animation on/off");

 

            the spin off and reset commands reorients the molecule to the correct position, then I want the move command to loop. Any ideas how to achieve this effect?

 

Thanks, Rick

 

 

Richard Spinney

Dept of Chemistry

Ohio State University

100 West 18th Ave

Columbus OH 43210

email: [EMAIL PROTECTED]

Phone: (614) 247-6847

Office: MP0008

 

Reply via email to