C="connect delete; rotate y 15; rotate x 20; spacefill 80; background white; zoom 110;" for f in *.jmol; do echo "${f}"; echo "$C write $f.png; exit" | jmol -nL "${f}" -s - ; done
First line set up config, in this case we disable bonds, rotate in y-plane an about 15 degree and in x-plane 20 degree, set background to white, zoom molecule and set size of atoms to 80%;
No comments:
Post a Comment