slib_lang_exists_tmp=yes

slib_title=Format off to xyz
slib_parms=3\
,file at format off\
[_SS,_AA,_FF],button on sommets, edges, faces\
[blue,red,yellow],color in the order sommets, edges, faces

slib_out=translate format "off" in "xyz" extended (as in LatticeViewer)
slib_comment=small buttons may be added to represent the sommets, edges and faces.
An example of utilisation in oef :

\text{jmol_poly=wims(record 0 of data/polyedre_off/cube.off)}\

\text{jmol_poly=slib(geo3D/off2jmol \jmol_poly,[_AA,,_BB],[brown,,blue])}\

\text{jmol_file=\jmol_poly[2]}\

\text{jmol_script=\jmol_poly[1]}\

\text{jmol_script=wims(declosing \jmol_script)}\

\text{filescript=slib(oef/newfile spt,jmol_file)}\

\text{jmol_applet=slib(chemistry/jmolshow \jmol_file,400,400,white,\jmol_script)}
