Changes between Version 6 and Version 7 of FAQ_MoleculeViewer


Ignore:
Timestamp:
Jul 6, 2014 1:28:11 PM (10 years ago)
Author:
ldelgass
Comment:

Document parallelepiped, add outline links, add link to drawing output doc.

Legend:

Unmodified
Added
Removed
Modified
  • FAQ_MoleculeViewer

    v6 v7  
     1[[PageOutline]]
     2
    13= Molecule Viewers In and Out =
    24
    3 Topics discussed:
    4   1. Molecule Viewer Basics
    5   2. Molecule Viewers as Inputs
    6   3. Molecule Viewers as Output
    7   4. Sending PDB files to the Molecule Viewer
    8   5. Sending LAMMPS files to the Molecule Viewer
    9   6. Displaying trajectories as sequences
    10 
    11 ----
     5This document describes how to use the Pymol-based molecule viewer through '''<structure>''' outputs in Rappture.  For the VTK-based molecule viewer through '''<drawing>''' outputs, see [wiki:rp_xml_ele_drawing_output#Molecules drawing (output)]
    126
    137== Molecule Viewer Basics ==
     
    257251}}}
    258252
     253== Creating unit cells with Parallelepiped ==
     254
     255You can create a wireframe parallelepiped shape to display crystal unit cells.  The shape is specified with an x,y,z '''<origin>''' position, three edge '''<vector>''' elements pointing out from the origin, and x,y,z '''<scale>''' factors to set the length of the edges.  If a single value is given for '''<scale>''', all edges will be scaled by the same amount.
     256
     257{{{
     258  <structure>
     259    <components>
     260      <molecule>...</molecule>
     261      <parallelepiped>
     262        <origin>0.0 0.0 0.0</origin>
     263        <scale>1.0 1.0 2.0</scale>
     264        <vector id="1">0.5 0.5 0.0</vector>
     265        <vector id="2">0.5 0.0 0.5</vector>
     266        <vector id="3">0.0 0.5 0.5</vector>
     267      </parallelepiped>
     268    </components>
     269  </structure>
     270}}}
     271
     272See the [browser:trunk/examples/zoo/parallelepiped parallelepiped example] in the zoo of examples.
     273
    259274[wiki:FAQ Back to Frequently Asked Questions]