<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Dec 11, 2008, at 3:43 PM, David Chenoweth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">Hi Eric,<div><span class="Apple-tab-span" style="white-space: pre; ">       </span>Thank you very much for the ellipsoid script! I really appreciate your help and I think this will do the trick for now. I have been learning some python on my own and I was wondering if you have some good beginner examples of scripts for making geometrical shapes, changing size and color, orientation, etc. that work in chimera.</div></span></blockquote><br></div><div>Hi David,</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>You can show cones, arrows, boxes, and a variety of simple geometric shapes by opening a BILD format file in Chimera: <a href="http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/bild.html">BILD format</a>.  It may be a little awkward having a script write a temporary file, so instead you can use a StringIO object, as described here: <a href="http://www.cgl.ucsf.edu/pipermail/chimera-users/2008-March/002447.html">[Chimera-users] BILD object question</a></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>You can also use the 'shape' command to draw spheres, cylinders, and icosahedrons.  You can run any Chimera command from Python by using Chimera's 'runCommand' function, e.g.:<br></div><div><br></div><div>from chimera import runCommand</div><div>runCommand("shape sphere center ligand color dodger blue radius 25")</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>Feel free to ask more questions!<br></div><div><br></div><div>--Eric</div><div><br></div></body></html>