<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Betreff: there is an issue with 3d rotate command in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12622500#M20367</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Thank you for your responds.&lt;/P&gt;&lt;P&gt;It is very simple, I want to rotate a point with coordinates of (15,15,15) around Y axis. The angle of rotation is 90 degrees, and the coordinates of base point are (10,10,10). The result from AutoCAD is different with the mathematical calculation.&lt;/P&gt;&lt;P&gt;I am lucky to pick up this issue before uploading thousands of thousands points into AutoCAD for processing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 04:50:39 GMT</pubDate>
    <dc:creator>pv-5678</dc:creator>
    <dc:date>2024-03-07T04:50:39Z</dc:date>
    <item>
      <title>there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12589877#M20364</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I wanted to rotate point (15,15,15) around Y axis with based point (10,10,10) and rotation angle of (90D). The result must be (15,15,-15), but the output from AutoCAD is (15,15,5). Is anyone knows what is the issue?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASH&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 05:55:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12589877#M20364</guid>
      <dc:creator>pv-5678</dc:creator>
      <dc:date>2024-02-29T05:55:06Z</dc:date>
    </item>
    <item>
      <title>Betreff: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12590046#M20365</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;
&lt;DIV class="MessageSubjectIcons "&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;gt;&amp;gt;"there is an issue with 3d rotate command"&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;Which command? There are two of them!&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;gt;&amp;gt;point (15,15,15)&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;gt;&amp;gt;around Y axis&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;gt;&amp;gt;based point (10,10,10)&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;gt;&amp;gt;rotation angle of (90D).&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;Will be 5,15,15 (3drotate)&amp;nbsp; or 15,15,5 (rotate3d)&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;gt;&amp;gt;The result must be (15,15,-15)&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;No!? I don't know what you doing exactly, but 15,15,-15 doesn't make sense.&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;Please share your inputs in details, step by step, starting with the command name (you can see the name after starting in your textlog [F2])&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;
Your orientation / rotation setting in Acad are standard settings?&lt;/DIV&gt;
&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;It sounds it is not, we have to know your settings.&lt;/DIV&gt;
&lt;DIV id="simple-translate" class="simple-translate-system-theme"&gt;
&lt;DIV&gt;
&lt;DIV class="simple-translate-button isShow" style="background-image: url('moz-extension://bdcf6203-1d8d-4f0c-b98e-eba5f03789eb/icons/512.png'); height: 22px; width: 22px; top: 479px; left: 123px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-panel " style="width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px;"&gt;
&lt;DIV class="simple-translate-result-wrapper" style="overflow: hidden;"&gt;
&lt;DIV class="simple-translate-move" draggable="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-result-contents"&gt;
&lt;P class="simple-translate-result"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="simple-translate-candidate"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Feb 2024 07:50:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12590046#M20365</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2024-02-29T07:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12590205#M20366</link>
      <description>&lt;P&gt;Depending on ANGDIR, you will find 5,15,15 or 15,15,5&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 09:28:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12590205#M20366</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2024-02-29T09:28:17Z</dc:date>
    </item>
    <item>
      <title>Betreff: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12622500#M20367</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Thank you for your responds.&lt;/P&gt;&lt;P&gt;It is very simple, I want to rotate a point with coordinates of (15,15,15) around Y axis. The angle of rotation is 90 degrees, and the coordinates of base point are (10,10,10). The result from AutoCAD is different with the mathematical calculation.&lt;/P&gt;&lt;P&gt;I am lucky to pick up this issue before uploading thousands of thousands points into AutoCAD for processing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 04:50:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12622500#M20367</guid>
      <dc:creator>pv-5678</dc:creator>
      <dc:date>2024-03-07T04:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12623047#M20368</link>
      <description>&lt;P&gt;there is no issue, this is the mathematical calculation:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To rotate a point around the Y-axis, you can use the following rotation matrix for a 3D rotation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_0-1709800115079.png" style="width: 254px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334320iED7B3245D5B20EBA/image-dimensions/254x79?v=v2" width="254" height="79" role="button" title="MichielValcke_0-1709800115079.png" alt="MichielValcke_0-1709800115079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this case, since you want to rotate around the Y-axis by 90 degrees, the rotation matrix becomes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_1-1709800156730.png" style="width: 229px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334321iFE1CC30B67CC9D29/image-dimensions/229x95?v=v2" width="229" height="95" role="button" title="MichielValcke_1-1709800156730.png" alt="MichielValcke_1-1709800156730.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To apply this rotation matrix to the point (15, 15, 15) with a base point of (10, 10, 10), you subtract the base point from the point you want to rotate, apply the rotation, and then add the base point back:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;New&amp;nbsp;point=&lt;EM&gt;Ry&lt;/EM&gt;(90∘)⋅(Point−Base&amp;nbsp;point)+Base&amp;nbsp;point&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_2-1709800257945.png" style="width: 346px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334324iFB492D81EAAE6D0A/image-dimensions/346x135?v=v2" width="346" height="135" role="button" title="MichielValcke_2-1709800257945.png" alt="MichielValcke_2-1709800257945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;First, calculate the vector difference:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_3-1709800306300.png" style="width: 192px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334325iB510F564D959EF38/image-dimensions/192x95?v=v2" width="192" height="95" role="button" title="MichielValcke_3-1709800306300.png" alt="MichielValcke_3-1709800306300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, apply the rotation matrix:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_4-1709800339191.png" style="width: 242px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334326iDA1745026728AFFC/image-dimensions/242x100?v=v2" width="242" height="100" role="button" title="MichielValcke_4-1709800339191.png" alt="MichielValcke_4-1709800339191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Finally, add the base point:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_5-1709800373726.png" style="width: 226px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334327iB10DE74DF8108BF3/image-dimensions/226x104?v=v2" width="226" height="104" role="button" title="MichielValcke_5-1709800373726.png" alt="MichielValcke_5-1709800373726.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Therefore, the new coordinates after rotating the point (15, 15, 15) around the Y-axis by 90 degrees with a base point of (10, 10, 10) are (15, 15, 5).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If you rotate by an angle of -90 the new transformation matrix becomes:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichielValcke_6-1709800461615.png" style="width: 254px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334328iADCD65321F843C3D/image-dimensions/254x94?v=v2" width="254" height="94" role="button" title="MichielValcke_6-1709800461615.png" alt="MichielValcke_6-1709800461615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From there you can easily see that the new coördinate is either (15,15,5) or (5,15,15) depending on the direction of your rotation.&lt;BR /&gt;&lt;BR /&gt;There is no issue, your math was wrong.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 08:37:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12623047#M20368</guid>
      <dc:creator>Michiel.Valcke</dc:creator>
      <dc:date>2024-03-07T08:37:19Z</dc:date>
    </item>
    <item>
      <title>Betreff: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12623189#M20369</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1. You still not said what command you are talking about. As stated above, there are two of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It sounds you are talking command "ROTATE3d", not 3Drotate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. &amp;gt;&amp;gt;It is very simple, I want to rotate a point with coordinates of (15,15,15) around Y axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The angle of rotation is 90 degrees, and the coordinates of base point are (10,10,10).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;The result must be (15,15,-15),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have a point at z=15 and you want a result of z=-15 after "90"rotation, your basepoint&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; has to be on Z=0, but you want to rotate around Z=10, this will never work this way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. &amp;gt;&amp;gt;The result from AutoCAD is different with the mathematical calculation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The fail is your math and the three-dimensional imagination&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also: You still not talking about your rotation direction, what is default anti-clockwise, how is it in your case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. &amp;gt;&amp;gt;I am lucky to pick up this &lt;STRIKE&gt;issue&lt;/STRIKE&gt; before uploading thousands of thousands points into AutoCAD for processing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right, you have to learn a tool before using in in the productive system, especially when it comes to mass processing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cadffm_0-1709803999998.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1334356iFAE9C03DA31F8C59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cadffm_0-1709803999998.png" alt="cadffm_0-1709803999998.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't know where you stumble, but something is wrong between your imagination and your applied mathematical path.&lt;/P&gt;
&lt;P&gt;Often it is just a wording, but your sample data (15,15,15, 90°around 10,10,10 =&amp;gt; 15,15,-15 will never true.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 09:38:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12623189#M20369</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2024-03-07T09:38:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12625108#M20370</link>
      <description>I calculated manually something that I had to do at the first time before bringing it out and I believe you are correct, and I made a mistake.&lt;BR /&gt;Thank you for you respond and apologizing everyone.</description>
      <pubDate>Thu, 07 Mar 2024 20:50:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12625108#M20370</guid>
      <dc:creator>pv-5678</dc:creator>
      <dc:date>2024-03-07T20:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: there is an issue with 3d rotate command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12625126#M20371</link>
      <description>&lt;P&gt;There's no need to apologize, mistakes happen to us all. It looks like you did the calculation starting from z=0 instead of z=10.&amp;nbsp; Usually when it comes to matters of calculations, the kernel (mathematical engine) used by AutoCAD is quite strong. And such a mistake would have been noticed very fast because any cause for that error would also have implications in other calculations.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 20:59:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/there-is-an-issue-with-3d-rotate-command/m-p/12625126#M20371</guid>
      <dc:creator>Michiel.Valcke</dc:creator>
      <dc:date>2024-03-07T20:59:48Z</dc:date>
    </item>
  </channel>
</rss>

