<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[vec3.angle(a,b)]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am new to jscad. I was using OpenSCAD and didn't know about jscad until recently but I'm loving it.</p>
<p dir="auto">On to my comment:</p>
<p dir="auto">vec3.angle(a, b) returns the angle using acos. Because acos(-x) = acos(x) it returns the absolute value of the angle, i.e. it leaves out the direction. Maybe the absolute angle is useful but my use case is to roll geometry from a to b, so I want not only the magnitude but the direction. I can still get it another way.</p>
<p dir="auto">But thank you for all the hard work.</p>
]]></description><link>https://openjscad.nodebb.com/topic/442/vec3-angle-a-b</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 03:12:33 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/442.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 May 2025 17:53:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to vec3.angle(a,b) on Wed, 29 Apr 2026 00:08:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://openjscad.nodebb.com/uid/859">@sopatt</a> Sorry to the late reply.</p>
<p dir="auto">You probably already know this but an ''orientation" is required to determine the rotation, and sign of the angle.</p>
<p dir="auto">This is probably the best implementation out there. And if you want then this could be added to the vec3 functions.</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/5188561/signed-angle-between-two-3d-vectors-with-same-origin-within-the-same-plane" rel="nofollow ugc">https://stackoverflow.com/questions/5188561/signed-angle-between-two-3d-vectors-with-same-origin-within-the-same-plane</a></p>
]]></description><link>https://openjscad.nodebb.com/post/1493</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1493</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Wed, 29 Apr 2026 00:08:29 GMT</pubDate></item><item><title><![CDATA[Reply to vec3.angle(a,b) on Mon, 02 Jun 2025 11:41:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://openjscad.nodebb.com/uid/859">@sopatt</a> Thanks for the feedback.</p>
<p dir="auto">FYI, Most computations are based upon the glMatrix library (<a href="http://glmatrix.net" rel="nofollow ugc">glmatrix.net</a>)</p>
<p dir="auto">I will double check but this is probably the same functionality as glmatrix.</p>
]]></description><link>https://openjscad.nodebb.com/post/1470</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/1470</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Mon, 02 Jun 2025 11:41:04 GMT</pubDate></item></channel></rss>