This is a read-only mirror of

Difference between revisions of "Surface proximity"

From PyMOL Wiki
Jump to navigation Jump to search
m (1 revision)
(see also surface_smooth_edges)
Line 20: Line 20:
== See Also ==
== See Also ==
* [[surface_smooth_edges]]
* [[surface]] representation
* [[surface]] representation

Revision as of 19:08, 9 March 2017

When showing the molecular surface of a subset of atoms (not the entire molecule), then the surface_proximity setting controls whether triangles are shown which are between an included and an excluded atom.


  • surface_proximity=on: (default) Show all triangles which have at least one vertex belonging to the atom selection. In this case colors from hidden atoms can leak into the open surface edge.
  • surface_proximity=off: Show only triangles where all three vertices belong to the atom selection.


This example demonstrates the color "leaking" from atoms which don't belong to the surface selection.

fetch 5hpr, async=0
color red
color yellow, chain B
show surface, chain B
set surface_proximity, off

Surface proximity.png

See Also