Hi All,
I am trying to ray trace an empty cone. I can find no way to get an image of
the inside of the cone. Does anyone have a work around. Example attached.
run test.py
cone
ray
when the ray command is issued the cone disappears from view.
robert
#
# test.py
#
from pymol import cmd
from pymol.cgo import *
def cone(name='cone'):
o = []
o.extend( [ CONE,
0.0, 0.0, 0.0, # XYZ 1
0.0, 0.0, 1.5, # XYZ 2
0.0, # Radius 1
0.3, # Radius 2
1.0, 0.0, 0.0, # RGB Color 1
0.0, 0.0, 1.0, # RGB Color 2
0.0, 0.0, # Caps 1 & 2
] )
cmd.load_cgo(o, name)
cmd.extend('cone', cone)
--
R. Bryn Fenwick,
Structural and Computational Biology,
The Scripps Research Institute,
10550 North Torrey Pines Rd.,
La Jolla, CA 92037, USA.
[email protected]
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]