This is a read-only mirror of pymolwiki.org

Difference between revisions of "Pymolrc"

From PyMOL Wiki
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
When Pymol launches, it will read custom settings and functions from a .pymolrc file.
+
When Pymol [[Launching PyMOL|launches]], it will read custom settings and functions from a .pymolrc file.
  
 
On a linux-type system, this file will be located in /path/to/home/.pymolrc.  
 
On a linux-type system, this file will be located in /path/to/home/.pymolrc.  
Line 5: Line 5:
 
An example of a .pymolrc file is:
 
An example of a .pymolrc file is:
  
<pre>
+
<source lang="python">
 
# this will run the script in the specified location
 
# this will run the script in the specified location
 
run /path/to/home/pymol/load_sep.py
 
run /path/to/home/pymol/load_sep.py
Line 24: Line 24:
 
set stick_radius = 0.3
 
set stick_radius = 0.3
  
</pre>
+
</source>
  
  
 
== See Also ==
 
== See Also ==
 
[[Launching PyMOL]]
 
[[Launching PyMOL]]

Revision as of 18:35, 11 March 2009

When Pymol launches, it will read custom settings and functions from a .pymolrc file.

On a linux-type system, this file will be located in /path/to/home/.pymolrc.

An example of a .pymolrc file is:

# this will run the script in the specified location
run /path/to/home/pymol/load_sep.py

set movie_loop, 0
set two_sided_lighting, 1

set label_size, 60
set label_outline_color, 1
set label_color, 0
set label_position, [0, 0, 10]

# for images:
#   antialias =1 smooths jagged edges, 0 turns it off
set antialias = 1

#   stick_radius -adjust thickness of atomic bonds
set stick_radius = 0.3


See Also

Launching PyMOL