Chimera Commands Index
Usage:
export [ format format ] [ filename ]
Usage:
export list
The command export saves the graphical scene as a file named
filename in the specified format
(see limitations):
- X3D [.x3d]
- X3D (default)
- ChimeraX [.py]
- Python file for regenerating the scene in
ChimeraX;
includes atomic models, molecular surfaces, volume models
(surface, mesh, image, plane/orthoplane, and box renderings),
per-model clipping, sequences and sequence alignments,
2D labels and arrows, and color key. Not supported:
per-vertex surface coloring (coloring by value, distance, or zone),
nucleotide representations, worms, other types of surface models, etc.
- COLLADA [.dae]
- COLLADA XML-based format;
can be viewed with Mac Preview and incorporated into iBooks
- OBJ [.obj]
- Wavefront OBJ (surfaces only);
colors are written to a separate material definition file [.mtl]
- POV-Ray [.pov] - input for the Persistence of Vision Raytracer
(alternatively, POV-Ray images can be
produced directly)
- RenderMan [.rib] - RenderMan® Interface Bytestream
- STL [.stl] - triangle-based format
(binary) native to stereolithography CAD software (see the
Chimera 3D Model Gallery)
- VRML [.wrl, .vrml] -
Virtual Reality Markup Language
- VTK [.vtk] - format used by
Visualization Toolkit
- WebGL [.html] - HTML5 format with embedded
WebGL,
to show a manipulable rendering of the scene in a web page
(experimental feature)
The format can be specified with the filename suffix
or separately with the keyword format. The keyword specification
is case-independent and will override any specification by suffix, and the
appropriate suffix will be added if filename does not already
include it. If filename is omitted,
a dialog
for specifying the file name and location will appear.
The command export list reports the available format settings
in the status line and
Reply Log. Chimera extensions that
enable further export types can add to the format list.
POV-Ray, RenderMan, STL, and VRML files are generated by postprocessing
an initial X3D file. The conversion programs
x3d2pov, x3d2RM, x3d2stl,
and x3d2vrml are included with Chimera (in the bin
directory) but can be used separately.
See also:
struts,
save,
write,
copy,
pdbrun,
Write DMS,
exporting a scene,
raytracing with POV-Ray,
saving data