Difference between revisions of "Rendering"
Jump to navigation
Jump to search
Jmol / JSmol Tutorials
(added tutorials template) |
AngelHerraez (talk | contribs) (update of default syntax) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
To help with that, here's the way the standard styles (from the Jmol menu) may be rendered in Jmol script; the script elements are shown in quotation marks: | To help with that, here's the way the standard styles (from the Jmol menu) may be rendered in Jmol script; the script elements are shown in quotation marks: | ||
− | Space-filling: | + | Space-filling: |
+ | spacefill 100%; | ||
+ | // or | ||
+ | spacefill on; | ||
+ | // or | ||
+ | spacefill only; // disables all other styles | ||
− | Ball-and-stick: | + | Ball-and-stick: |
+ | wireframe 0.15; spacefill 23%; | ||
− | Stick model: | + | Stick model: |
+ | wireframe 0.3; spacefill off; | ||
− | Wireframe: | + | Wireframe: |
+ | wireframe 0.01; spacefill 0; | ||
+ | // or | ||
+ | wireframe on; spacefill off; | ||
+ | // or | ||
+ | wireframe only; // disables all other styles | ||
+ | |||
+ | Cartoon (macromolecules only): | ||
+ | select protein, nucleic; | ||
+ | cartoon only; | ||
+ | color cartoon structure; | ||
A note to Jmol developers: it would be helpful to have a single command within Jmol that would implement the standard Jmol rendering styles! | A note to Jmol developers: it would be helpful to have a single command within Jmol that would implement the standard Jmol rendering styles! | ||
− | |||
--[[User:BergerBluffton|BergerBluffton]] 18:33, 2 September 2007 (CEST) | --[[User:BergerBluffton|BergerBluffton]] 18:33, 2 September 2007 (CEST) |
Latest revision as of 14:21, 30 May 2014
- A list of Jmol / JSmol Tutorials written by users.
- Using the mouse (English · Español · Français · Japanese).
- Scripting quickstart: rendering options · selecting atoms.
- How to create surfaces and isosurfaces, including cavities, pockets and tunnels.
- Displaying shapes, polyhedra, orbitals, dipoles, distances, forces and vibrations.
- Creating movies.
- Customizing Jmol: macros · menus.
- Web pages without writing code by using the Jmol "Export to Web" function.
Rendering in Jmol can be needlessly complicated for a beginner, or one who is used to simple Chime scripting. The Jmol menu isn't much help, because it offers standard schemes under the Style submenu, but doesn't provide them in scripting!
To help with that, here's the way the standard styles (from the Jmol menu) may be rendered in Jmol script; the script elements are shown in quotation marks:
Space-filling:
spacefill 100%; // or spacefill on; // or spacefill only; // disables all other styles
Ball-and-stick:
wireframe 0.15; spacefill 23%;
Stick model:
wireframe 0.3; spacefill off;
Wireframe:
wireframe 0.01; spacefill 0; // or wireframe on; spacefill off; // or wireframe only; // disables all other styles
Cartoon (macromolecules only):
select protein, nucleic; cartoon only; color cartoon structure;
A note to Jmol developers: it would be helpful to have a single command within Jmol that would implement the standard Jmol rendering styles! --BergerBluffton 18:33, 2 September 2007 (CEST)