Hi Adam:

The commands for shadow rendering are: 

util.ray_shadows('black')
util.ray_shadows('heavy')
util.ray_shadows('medium')
util.ray_shadows('light')
util.ray_shadows('none')

How to find out what commands a menu item corresponds to:
Set a log file (Pull-down Menu File:Log…). As you select different commands 
from the graphical user interface, 
the commands activated by the menu items get written to the log file. You can 
now open the log file in a text editor 
and copy-paste the command to your .pml script.

best regards

Annemarie
_______________________________

Dr. Annemarie Honegger PhD
Department 
of Biochemistry
Zürich University
Winterthurerstrasse 190
CH-8057 Zürich
Switzerland

e-Mail: honeg...@bioc.uzh.ch

websites
http://www.bioc.uzh.ch/plueckthun
http://www.bioc.uzh.ch/plueckthun/antibody
http://www.bioc.uzh.ch/plueckthun/nanowelt



> On 06 Apr 2016, at 05:57, pymol-users-requ...@lists.sourceforge.net wrote:
> 
> Message: 5
> Date: Tue, 5 Apr 2016 16:28:06 -0500
> From: harold steinberg <h.adam.steinb...@gmail.com 
> <mailto:h.adam.steinb...@gmail.com>>
> Subject: [PyMOL] shadows commands
> To: pymol-users <pymol-users@lists.sourceforge.net 
> <mailto:pymol-users@lists.sourceforge.net>>
> Message-ID: <be6cda86-7873-49dd-88d4-29e9a9650...@gmail.com 
> <mailto:be6cda86-7873-49dd-88d4-29e9a9650...@gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi All,
> 
> I?m trying to write scripts that include shadow options.
> 
> In the menus at the top of the program users can choose: 
> Setting/Rendering/Shadows and then they can pick: None, light, medium, heavy, 
> black, matte, soft, occlusion 1, and occlusion 2.
> 
> How do I put those shadows into a script? (I reached the web and the wiki to 
> no avail).
> 
> and where are they in the settings? I?d like to modify them.
> 
> 
> H. Adam Steinberg
> 7904 Bowman Rd
> Lodi, WI 53555
> 608/592-2366

------------------------------------------------------------------------------
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to