Line smooth: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:
==Syntax==
==Syntax==
To turn off antialiasing:
To turn off antialiasing:
set line_smooth, 0
<source lang="python">
 
set line_smooth, 0
</source>
To turn on antialising (default):
To turn on antialising (default):
set line_smooth, 1
<source lang="python">
set line_smooth, 1
</source>


From python:
From python:
cmd.set('line_smooth', '0')
<source lang="python">
cmd.set('line_smooth', '0')
</source>
or
or
cmd.set('line_smooth', '1')
<source lang="python">
cmd.set('line_smooth', '1')
</source>




[[Category:Settings|Line smooth]]
[[Category:Settings|Line smooth]]
[[Category:Lines]]

Latest revision as of 11:59, 2 September 2008

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')