> [EMAIL PROTECTED] wrote:
>> 1) checking for file read errors:
>>
>>   jmol -ons cmd.spt >> log
>>
>
> Thank You for this one!!! And half way on the road.
> There is a slight drawback with this solution. Each time
> my generated script contains an error, detected by Jmol,
> the execution stops with a compileError:
>
> --* console start *--
>  > sh jmol -ons /tmp/test.mol.spt
> Executing script: /tmp/test.mol.spt
> FileManager opening /tmp/test.mol.spt
> compileError(cannot SET:zoom)
> --* console stop *--

OK, this is not a file-read issue; it's a chime script issue. There have
been efforts to do this sort of conversion --
http://www.chem.umass.edu/people/cmartin/Jmol/Development/%20CHIME2Jmol.html
comes to mind. But this could be looked at again.

Eric Martz or Tim Driscoll could probably help you better than anyone.
You shouldn't have to start from scratch on this.

I do note that "set zoom center" has not been requested or implemented.
And, frankly, from this description, I can't imagine what it does (or that
it would be particularly valuable:

Set Zoom

Syntax:  set zoom center <boolean>

The Chime set zoom center This command enables (and disables) the use of
automatic centering of the 'translation center' or 'center of rotation'
while zooming. If no boolean is specified than 'true' is assumed. See
'translate center' for more information. In Chime this defaults to ON
(TRUE) at startup.

This sounds like a crude implementation of what I just recently added:
"zoomTo".

This particular set of Chime commands -- set zoom, center, and translate
-- have been implemented in a considerably more flexible way in Jmol, so
getting Chime scripts that implement those commands to do the exact same
thing in Jmol is probably not desireable anyway.

I recommend taking a look at the latest documentation on moveTo, zoomTo,
and set windowCentered prior to converting these Chime commands.

http://www.stolaf.edu/academics/chemapps/jmol/docs


Bob Hanson



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to