<div dir="ltr"><div><div>Hi Elaine,<br><br></div>I am able to stretch the axis now! Thank you so much! <br><br></div>- Catherine<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 7:28 PM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Catherine,<br>
It’s just standard geometry to find the second point farther away on the same line. First you would need to know how much longer you want the line (cylinder). If the two points that you have now are are x1,y1,z1 and x2,y2,z2, find<br>
<br>
a = x2 - x1<br>
b = y2 - y1<br>
c = z2 - z1<br>
<br>
Then multiply a,b,c by the factor (if you want 2x as long, multiply by two) and add them back to x1,y1,z1 to get the new other end of the cylinder.<br>
<br>
BILD format:<br>
<<a href="http://plato.cgl.ucsf.edu/chimera/docs/UsersGuide/bild.html" rel="noreferrer" target="_blank">http://plato.cgl.ucsf.edu/<wbr>chimera/docs/UsersGuide/bild.<wbr>html</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D.<br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<div class="HOEnZb"><div class="h5"><br>
> On Jul 14, 2017, at 2:37 PM, Catherine Jenifer Rajam Rajendran <<a href="mailto:catrajen@umail.iu.edu">catrajen@umail.iu.edu</a>> wrote:<br>
><br>
> Hi,<br>
> I am trying to display an axis in chimera. I have one point - x,y,z co-ordinates and centroid's x,y,z co-ordinates. I want to extend the length of the axis generated using this two points. I tried to create a bild format file.<br>
><br>
> .cylinder 0.584 0.048 0.810 20.912 5.823 19.703 1<br>
><br>
> where, second 3 co-ordinates are centroid. It creates an axis but i want to extend the length from centroid point to the other end too. Or, Is there any other way to define it? Please help me.<br>
> Thanks,<br>
> Catherine<br>
</div></div></blockquote></div><br></div>