This is a read-only mirror of pymolwiki.org
Difference between revisions of "Grepset"
Jump to navigation
Jump to search
m (12 revisions) |
|||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Infobox script-repo | ||
+ | |type = script | ||
+ | |filename = grepset.py | ||
+ | |author = [[User:Zac|Ezequiel Panepucci]] | ||
+ | |license = BSD | ||
+ | }} | ||
+ | |||
+ | {{Infobox psico | ||
+ | |module = psico.helping | ||
+ | }} | ||
+ | |||
Use this little script to explore PyMOL's myriad settings. | Use this little script to explore PyMOL's myriad settings. | ||
Line 6: | Line 17: | ||
# put the script in a file called '''grepset.py''' | # put the script in a file called '''grepset.py''' | ||
− | # from within PyMOL execute '''run grepset.py''' | + | # from within PyMOL execute '''run grepset.py'''. If you have the Pymol-script library configured, then '''import grepset''' |
# try it out, see examples below. | # try it out, see examples below. | ||
Line 42: | Line 53: | ||
</pre> | </pre> | ||
− | + | [[Category:Script_Library|Grepset]] | |
− | + | [[Category:UI_Scripts]] | |
− | + | [[Category:Pymol-script-repo]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: |
Latest revision as of 06:13, 6 March 2017
Type | Python Script |
---|---|
Download | grepset.py |
Author(s) | Ezequiel Panepucci |
License | BSD |
This code has been put under version control in the project Pymol-script-repo |
Included in psico | |
Module | psico.helping |
---|
Use this little script to explore PyMOL's myriad settings.
Usefull for newbies and those with not so good memory skills...
To use:
- put the script in a file called grepset.py
- from within PyMOL execute run grepset.py. If you have the Pymol-script library configured, then import grepset
- try it out, see examples below.
Example 1: grepset light
cartoon_highlight_color default dot_lighting on light [ -0.40000, -0.40000, -1.00000 ] mesh_lighting off two_sided_lighting off 5 settings matched
Example 2: grepset trans
cartoon_transparency 0.00000 ray_transparency_contrast 1.00000 ray_transparency_shadows 1 ray_transparency_spec_cut 0.90000 ray_transparency_specular 0.40000 sphere_transparency 0.00000 stick_transparency 0.00000 transparency 0.00000 transparency_mode 2 transparency_picking_mode 2 10 settings matched
Example 3: grepset ^trans
transparency 0.00000 transparency_mode 2 transparency_picking_mode 2 3 settings matched