<?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: Move by custom space (pivot orientation) in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13330755#M60</link>
    <description>&lt;P&gt;&lt;SPAN&gt;This is exactly what I’ve been looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 18:34:27 GMT</pubDate>
    <dc:creator>ondrej_malota</dc:creator>
    <dc:date>2025-02-20T18:34:27Z</dc:date>
    <item>
      <title>Move by custom space (pivot orientation)</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13328185#M58</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am working on a simple script that creates a widget with XYZ inputs the same way as there is “Input line menu of operation” with relative transform, but it works only in World/Object/Component space orientation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the XYZ relative transform was according to Custom space orientation of pivot. Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Select a vertex &amp;gt; press D &amp;gt; change orientation as I need &amp;gt; run a script that moves the vertex by 5 units along the custom X pivot orientation, not the World/Local/Object/Component X space.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 15:53:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13328185#M58</guid>
      <dc:creator>ondrej_malota</dc:creator>
      <dc:date>2025-02-19T15:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Move by custom space (pivot orientation)</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13330159#M59</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can learn a lot of stuff from the scripts included with Maya. For example &lt;STRONG&gt;bakeCustomToolPivot.mel&lt;/STRONG&gt; shows how you can detect and extract the custom axis orientation values from the tool. (which could be used to work out the axis directions etc.)&lt;BR /&gt;&lt;BR /&gt;However, in this case you can just use the &lt;STRONG&gt;Move&amp;nbsp;Tool&lt;/STRONG&gt; itself to do the transformation for you.&lt;BR /&gt;Note: This is how the input fields for the &lt;STRONG&gt;Move Tool&lt;/STRONG&gt;&amp;nbsp;work in the &lt;STRONG&gt;Modeling Toolkit&lt;/STRONG&gt; panel.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;// Get existing translation values for the current axis mode
float $v[] = `manipMoveContext -q -translate Move`;

// Translate one additional unit along tool's Y axis
$v[1] += 1.0;

// Apply new values
manipMoveContext -e -translate $v[0] $v[1] $v[2] Move;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 13:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13330159#M59</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2025-02-20T13:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Move by custom space (pivot orientation)</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13330755#M60</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is exactly what I’ve been looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 18:34:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/move-by-custom-space-pivot-orientation/m-p/13330755#M60</guid>
      <dc:creator>ondrej_malota</dc:creator>
      <dc:date>2025-02-20T18:34:27Z</dc:date>
    </item>
  </channel>
</rss>

