<?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 Re: Rotate UVW +90 &amp;amp; -90 in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173546#M21285</link>
    <description>From the maxscript help &amp;gt; Unwrap_UVW &amp;gt; Transform Selected: &lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;void&amp;gt;&amp;lt;Unwrap_UVW&amp;gt;.rotateSelectedCenter &amp;lt;float&amp;gt;angle&lt;BR /&gt;&lt;BR /&gt;Rotates the selected sub-objects at the specified angle using the selection center.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;void&amp;gt;&amp;lt;Unwrap_UVW&amp;gt;.rotateSelected &amp;lt;float&amp;gt;angle &amp;lt;point3&amp;gt;axis&lt;BR /&gt;&lt;BR /&gt;Moves the selected sub-objects at the specified offset about the specified axis.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;The second one should be rotates, but that is copied direct from the Maxscript Help.&lt;BR /&gt;&lt;BR /&gt;-Eric</description>
    <pubDate>Wed, 13 Oct 2010 18:56:36 GMT</pubDate>
    <dc:creator>PiXeL_MoNKeY</dc:creator>
    <dc:date>2010-10-13T18:56:36Z</dc:date>
    <item>
      <title>Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173545#M21284</link>
      <description>I'm trying to rotate a selected face via maxscript +90 degrees and -90 degrees in the Unwrap UVW Modifier.&lt;BR /&gt;&lt;BR /&gt;I can mirror using...&lt;BR /&gt;&lt;BR /&gt;$.modifiers.unwrap.mirrorv ()&lt;BR /&gt;$.modifiers.unwrap.mirrorh ()&lt;BR /&gt;&lt;BR /&gt;But can't figure out how to rotate +90 and -90, listener doesn't pick up anything when I use the rotate buttons in the Unwrap dialogue.&lt;BR /&gt;&lt;BR /&gt;tia</description>
      <pubDate>Wed, 13 Oct 2010 09:57:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173545#M21284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-13T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173546#M21285</link>
      <description>From the maxscript help &amp;gt; Unwrap_UVW &amp;gt; Transform Selected: &lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;void&amp;gt;&amp;lt;Unwrap_UVW&amp;gt;.rotateSelectedCenter &amp;lt;float&amp;gt;angle&lt;BR /&gt;&lt;BR /&gt;Rotates the selected sub-objects at the specified angle using the selection center.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;void&amp;gt;&amp;lt;Unwrap_UVW&amp;gt;.rotateSelected &amp;lt;float&amp;gt;angle &amp;lt;point3&amp;gt;axis&lt;BR /&gt;&lt;BR /&gt;Moves the selected sub-objects at the specified offset about the specified axis.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;The second one should be rotates, but that is copied direct from the Maxscript Help.&lt;BR /&gt;&lt;BR /&gt;-Eric</description>
      <pubDate>Wed, 13 Oct 2010 18:56:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173546#M21285</guid>
      <dc:creator>PiXeL_MoNKeY</dc:creator>
      <dc:date>2010-10-13T18:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173547#M21286</link>
      <description>Thx Eric...that's the code i was trying to get to work, but in that format makes no sense to me.&lt;BR /&gt;I rotate in the Unwrap uvw with angle snap set to 90 degrees, and get this from the listener....&lt;BR /&gt;&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.85878&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 0.933751&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.19555&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.14319&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 0.898845&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.40499&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.62316&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.16064&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.78024&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.46608&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.13446&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.37881&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.16064&lt;BR /&gt;$.modifiers.unwrap2.RotateSelectedCenter 1.19555&lt;BR /&gt;&lt;BR /&gt;It seems to work, but I'm not sure how precise the 1.85878 is or what value to use for a precise 90 degrees.&lt;BR /&gt;&lt;BR /&gt;thx</description>
      <pubDate>Thu, 14 Oct 2010 09:00:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173547#M21286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-14T09:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173548#M21287</link>
      <description>Ahh...s'ok got it fixed.... I typed "90 degrees in decimal" in google and got 1.57079633 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;That's much better &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 14 Oct 2010 14:04:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173548#M21287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-14T14:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173549#M21288</link>
      <description>2*PI radians = 360 degrees.&lt;BR /&gt;2*PI/4 = 1.57079633 = 90 degrees &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Thu, 14 Oct 2010 15:48:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173549#M21288</guid>
      <dc:creator>Steve_Curley</dc:creator>
      <dc:date>2010-10-14T15:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173550#M21289</link>
      <description>Or simply use the built in conversion tools:&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;B&gt;&lt;U&gt;Angle Conversion Methods&lt;/U&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;degToRad&lt;/B&gt; &amp;lt;number&amp;gt;&lt;BR /&gt;Returns the conversion of the number from degrees to radians. The result is always a float.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;radToDeg&lt;/B&gt; &amp;lt;number&amp;gt;&lt;BR /&gt;Returns the conversion of the number from radians to degrees. The result is always a float.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;A lot of the time when it comes to rotations the values will be a float radians rather than degrees.&lt;BR /&gt;&lt;PRE&gt;$.modifiers.unwrap2.RotateSelectedCenter (degToRad 90.0)&lt;/PRE&gt;&lt;BR /&gt;-Eric</description>
      <pubDate>Thu, 14 Oct 2010 20:09:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173550#M21289</guid>
      <dc:creator>PiXeL_MoNKeY</dc:creator>
      <dc:date>2010-10-14T20:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate UVW +90 &amp; -90</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173551#M21290</link>
      <description>Thx guys, that's comprehensively covered, and it works a treat.</description>
      <pubDate>Thu, 14 Oct 2010 21:45:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/rotate-uvw-90-amp-90/m-p/4173551#M21290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-14T21:45:07Z</dc:date>
    </item>
  </channel>
</rss>

