Line smooth: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
or
or
  cmd.set('line_smooth', '1')
  cmd.set('line_smooth', '1')
[[Category:Settings|Line smooth]]

Revision as of 16:21, 2 November 2007

Overview

This is a display setting.

The line_smooth setting determines whether lines are antialiased. The default is to use antialiased lines.

Syntax

To turn off antialiasing:

set line_smooth, 0

To turn on antialising (default):

set line_smooth, 1

From python:

cmd.set('line_smooth', '0')

or

cmd.set('line_smooth', '1')