This is a read-only mirror of pymolwiki.org
Geometry export mode
Revision as of 19:49, 5 January 2014 by Jaredsampson (talk | contribs) (Added basic description, example, and syntax for geometry_export_mode setting.)
Overview
Geometry export mode is a partially-implemented setting that can be useful for exporting PyMOL geometry to other programs. When enabled, scene information, such as the viewport location and lighting, is omitted from the output.
Example
For a simple scene with a single pseudoatom, the top of the VRML2 output file (from save test.wrl
) looks like this:
#VRML V2.0 utf8 Viewpoint { position 0 0 50.00000000 orientation 1 0 0 0 description "Z view" fieldOfView 0.465421 } DirectionalLight { direction -0.348155 -0.348155 -0.870 } NavigationInfo { headlight TRUE type "EXAMINE" } ...
However, with geometry_export_mode
enabled, the Viewpoint
and DirectionalLight
sections are omitted:
#VRML V2.0 utf8 NavigationInfo { headlight TRUE type "EXAMINE" } ...
Syntax
set geometry_export_mode, 0 # off (default)
set geometry_export_mode, 1 # on