<div dir="ltr"><div>You may try this solution:<br></div><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Tips_and_Tricks#Drawing_.22lines.22_in_OpenSCAD">Drawing lines...</a><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-12 22:26 GMT-03:00 tony873004 <span dir="ltr"><<a href="mailto:tony@gravitysimulator.com" target="_blank">tony@gravitysimulator.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a column with a radius of 1.<br>
The column's base is located at 0,0,0, and its top is located at 3,4,5.<br>
As I understand it, to orient the column I need to use rotate, rather than<br>
specify the endpoint.<br>
[code]<br>
translate([0,0,0]) {<br>
  rotate([a,b,c]) {<br>
    cylinder(r = 1, h = 7.071);<br>
}<br>
}<br>
[/code]<br>
How would I go about finding the angles a,b,c, knowing the endpoint?<br>
Thanks!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.openscad.org/finding-angle-from-a-coordinate-tp18684.html" rel="noreferrer" target="_blank">http://forum.openscad.org/<wbr>finding-angle-from-a-<wbr>coordinate-tp18684.html</a><br>
Sent from the OpenSCAD mailing list archive at Nabble.com.<br>
<br>
______________________________<wbr>_________________<br>
OpenSCAD mailing list<br>
<a href="mailto:Discuss@lists.openscad.org">Discuss@lists.openscad.org</a><br>
<a href="http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org" rel="noreferrer" target="_blank">http://lists.openscad.org/<wbr>mailman/listinfo/discuss_<wbr>lists.openscad.org</a><br>
</blockquote></div><br></div>