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: [email protected]

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, [email protected] wrote:
> 
> Message: 5
> Date: Tue, 5 Apr 2016 16:28:06 -0500
> From: harold steinberg <[email protected] 
> <mailto:[email protected]>>
> Subject: [PyMOL] shadows commands
> To: pymol-users <[email protected] 
> <mailto:[email protected]>>
> Message-ID: <[email protected] 
> <mailto:[email protected]>>
> 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 ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to