https://wiki.pymol.org/index.php?title=Geometry_export_mode&feed=atom&action=historyGeometry export mode - Revision history2024-03-29T07:26:55ZRevision history for this page on the wikiMediaWiki 1.35.1https://wiki.pymol.org/index.php?title=Geometry_export_mode&diff=7378&oldid=prevPyadmin: 1 revision2014-03-28T02:00:46Z<p>1 revision</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:00, 28 March 2014</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Pyadminhttps://wiki.pymol.org/index.php?title=Geometry_export_mode&diff=7377&oldid=prevJaredsampson: Added basic description, example, and syntax for geometry_export_mode setting.2014-01-05T19:49:08Z<p>Added basic description, example, and syntax for geometry_export_mode setting.</p>
<p><b>New page</b></p><div>=Overview=<br />
'''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. <br />
<br />
=Example=<br />
For a simple scene with a single [[pseudoatom]], the top of the VRML2 output file (from <code>save test.wrl</code>) looks like this:<br />
<br />
#VRML V2.0 utf8<br />
<br />
Viewpoint {<br />
position 0 0 50.00000000<br />
orientation 1 0 0 0<br />
description "Z view"<br />
fieldOfView 0.465421<br />
}<br />
DirectionalLight {<br />
direction -0.348155 -0.348155 -0.870<br />
}<br />
NavigationInfo {<br />
headlight TRUE<br />
type "EXAMINE"<br />
}<br />
...<br />
<br />
However, with <code>geometry_export_mode</code> enabled, the <code>Viewpoint</code> and <code>DirectionalLight</code> sections are omitted:<br />
<br />
#VRML V2.0 utf8<br />
<br />
NavigationInfo {<br />
headlight TRUE<br />
type "EXAMINE"<br />
}<br />
...<br />
<br />
=Syntax=<br />
<source lang="python"><br />
set geometry_export_mode, 0 # off (default)<br />
set geometry_export_mode, 1 # on<br />
</source></div>Jaredsampson