Thanks for the extra information Bob. I'll incorporate it into my scripting.
Rich On Wed, December 3, 2008 9:57 am, Robert Hanson wrote: > how excellent! Good job, Rich. Thank you for sharing this. > > Just a couple of comments: > > The default for Jmol is to render a structure with 100% zoom scaled to > the larger of width and height. When using different dimensions (800 > width and 600 height in this case), I recommend you: > > 1) Use set zoomLarge false to ensure that the model at 100% is > fully visible. Not entirely necessary, but I always do this, myself. > 2) As you note there, you can generate JPG files at any dimension > regardless of the current Jmol window. Still, I suggest you make your > Jmol window also 800 x 600 so that you have no surprises in the images > created. With the application this can be done by starting Jmol with > > jmol -g 800x600 > > Also, with that in mind, note that the -j flag on the application now > allows scripting on the command line. So you could get all that on a > command line and create the movies entirely in batch mode. Other > command line flags such as -ion could be of use here. From jmol -h: > > -o,--noconsole no console -- all output to sysout > -g,--geometry window width x height, e.g. -g500x500 > -x,--exit exit after script (implicit with -n) > -i,--silent silent startup operation > -j,--jmolscript Jmol script to execute > -n,--nodisplay no display (and also exit when done) > > To combine command-line scripts with file-based scripts, use the -j > flag and include in it ".....;script file1.txt;script file2.txt" > > Quotes may be tricky -- use \" with the -j "...." for Jmol commands > that need quotation marks. > > Bob > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

