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)
- VRML [.wrl, .vrml] - Virtual Reality Markup Language
- 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 from
3D Systems®
- OBJ [.obj]
- Wavefront OBJ (surfaces only);
colors are written to a separate material definition file [.mtl]
- 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:
save,
write,
copy,
pdbrun,
Write DMS,
exporting a scene,
raytracing with POV-Ray