<?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: LUA scripting Netfabb: problem with mesh:move(X, Y, Z) in Netfabb Forum</title>
    <link>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13395706#M33</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your &lt;CODE&gt;mesh&lt;/CODE&gt; out of &lt;CODE&gt;root:addmesh(MESH)&lt;/CODE&gt; is a LUATrayMesh, so &lt;CODE&gt;mesh:translate()&lt;/CODE&gt; applies.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/NETF/2025/ENU/?guid=NETF-LUA-FPTRAYMESH" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/NETF/2025/ENU/?guid=NETF-LUA-FPTRAYMESH&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Steffen&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 08:32:43 GMT</pubDate>
    <dc:creator>steffen_anders_adsk</dc:creator>
    <dc:date>2025-03-28T08:32:43Z</dc:date>
    <item>
      <title>LUA scripting Netfabb: problem with mesh:move(X, Y, Z)</title>
      <link>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13394293#M32</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to automate operation based on CAD files, and I find issues to to move the mesh. following script runs well&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;importer = system:createcadimport(0);&lt;BR /&gt;CAD_MODEL = importer:loadmodel(filename, 3);&lt;BR /&gt;MESH = CAD_MODEL:createmesh();&lt;BR /&gt;mesh = root:addmesh(MESH);&lt;BR /&gt;mesh:movetoorigin();&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I replace the last line by&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;mesh:move(100, 100, -3.0)&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;LUA Runtime Error: [string ""]:27: invalid object method or property: move&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;even though it seems to be consistent with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/NETF/2025/ENU/?guid=NETF-LUA-MESH-TRANS" target="_blank"&gt;Help | Transformation | Autodesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 14:53:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13394293#M32</guid>
      <dc:creator>quentin_schmidBRKQZ</dc:creator>
      <dc:date>2025-03-27T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: LUA scripting Netfabb: problem with mesh:move(X, Y, Z)</title>
      <link>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13395706#M33</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your &lt;CODE&gt;mesh&lt;/CODE&gt; out of &lt;CODE&gt;root:addmesh(MESH)&lt;/CODE&gt; is a LUATrayMesh, so &lt;CODE&gt;mesh:translate()&lt;/CODE&gt; applies.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/NETF/2025/ENU/?guid=NETF-LUA-FPTRAYMESH" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/NETF/2025/ENU/?guid=NETF-LUA-FPTRAYMESH&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Steffen&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 08:32:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13395706#M33</guid>
      <dc:creator>steffen_anders_adsk</dc:creator>
      <dc:date>2025-03-28T08:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: LUA scripting Netfabb: problem with mesh:move(X, Y, Z)</title>
      <link>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13395938#M34</link>
      <description>&lt;P&gt;Thanks Steffen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interestingly the method mesh:movetoorigin() works for this Lua mesh even thought it is not listed in the help&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 10:32:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/netfabb-forum/lua-scripting-netfabb-problem-with-mesh-move-x-y-z/m-p/13395938#M34</guid>
      <dc:creator>quentin_schmidBRKQZ</dc:creator>
      <dc:date>2025-03-28T10:32:31Z</dc:date>
    </item>
  </channel>
</rss>

