Difference between revisions of "User:AngelHerraez/Sandbox"

From Jmol
Jump to navigation Jump to search
(The Toolbar)
(The Toolbar)
Line 1: Line 1:
 
== The Toolbar ==
 
== The Toolbar ==
 
[[File:Toolbar.png‎]]
 
[[File:Toolbar.png‎]]
 +
 +
<ol>
 +
<li>'''Open file''' - allows to choose a file from disk or to give a URL.
 +
<li>'''Export image''' - saves to disk the current view as an image, in one of several possible file formats.
 +
<li>'''Export to web page''' - opens the Jmol Export to Web application.
 +
<li>'''Export to POV-Ray''' - saves high-quality image files that can be opened in the POV-Ray ray-tracing software.
 +
<li>'''Save state''' - saves the current view to disk as a state script.
 +
<li>'''Print''' - sends the current view to the printer.
 +
</ol>
 +
This group contains mutually exclusive options:
 +
<ol start="7">
 +
<li>'''Rotate mode''' - dragging the mouse will rotate the model (default).
 +
<li>'''Select mode''' - several atoms can be selected by surrounding them with a rectangle drawn using the mouse pointer.
 +
<li>'''Measurement mode''' -
 +
<li>'''Center mode''' -
 +
<li>'''Model Kit mode''' -
 +
</ol>
  
 
== Testing accented characters in links set by Jmol MediaWiki Extension ==
 
== Testing accented characters in links set by Jmol MediaWiki Extension ==

Revision as of 21:16, 7 November 2010

The Toolbar

File:Toolbar.png‎

  1. Open file - allows to choose a file from disk or to give a URL.
  2. Export image - saves to disk the current view as an image, in one of several possible file formats.
  3. Export to web page - opens the Jmol Export to Web application.
  4. Export to POV-Ray - saves high-quality image files that can be opened in the POV-Ray ray-tracing software.
  5. Save state - saves the current view to disk as a state script.
  6. Print - sends the current view to the printer.

This group contains mutually exclusive options:

  1. Rotate mode - dragging the mouse will rotate the model (default).
  2. Select mode - several atoms can be selected by surrounding them with a rectangle drawn using the mouse pointer.
  3. Measurement mode -
  4. Center mode -
  5. Model Kit mode -

Testing accented characters in links set by Jmol MediaWiki Extension

All these links should read atención

Directly entered (ó):

Hex Unicode entity (&#x00F3;):

Dec Unicode entity (&#0243;):

Hex Unicode percent (%F3):

In a button:

Embedding applet in wiki page

Jmol can read this format (not from file, just from a text string) as long as it can connect to a server that will do the conversion to a 2D or 3D format. To do this, you put a dollar sign before the SMILES string, or you use the smiles parameter. Note that the unsigned applet is not allowed connection to external servers ad so does not support this method.

Example, for isopentane:

load $CCC(C)C
load "$CCC(C)C"
load smiles "CCC(C)C"

Test here:

Contributors

AngelHerraez