<?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: Post is making thread LH instead of RH in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883989#M11085</link>
    <description>&lt;P&gt;Okay so the dreamteam at Autodesk Support figured out that it's forcing G03 over G02 for the "OnCircular" function. So I just forced it the other way. I'm not a programmer so don't try this at home.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;function onCircular(clockwise, cx, cy, cz, x, y, z, feed) {
  var directionCode = (getSpindle(true) == SPINDLE_SUB) ? &lt;STRONG&gt;(clockwise ? 2 : 3)&lt;/STRONG&gt; : (clockwise ? 2 : 3);&lt;/PRE&gt;&lt;P&gt;Swapped the results for the nested ternary so that it would output the same regardless of the outside ternary.&lt;/P&gt;&lt;P&gt;This is just a shaking patch at best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Aaron&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2019 21:43:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-01T21:43:28Z</dc:date>
    <item>
      <title>Post is making thread LH instead of RH</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883438#M11082</link>
      <description>&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;Okay, So the machine I'm programming for is an NLX1500SY-500 (Celos and Mitsubishi controllers).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Heimatech live tools straight out of the points Axial tools. No gearing change or anything. As your looking at the turret an M13 rotates the tool clockwise (Which is the wrong direction for most standard endmills) and M14 rotates counter-clockwise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I changed the live tool in the tool library to be unchecked for "Clockwise spindle rotation". Now the post outputs the M14 code I wanted. Except...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my example threading operation it's acting goofy. I'm using a single point 4fl threadmill. It outputs Left handed threads in post when I selected RH threads. I'm sure it's trying to compensate for my tool direction. But that's super annoying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know where in the post processor is would be flipping the direction on me? Is there a better method than checking/unchecking the spindle rotation option in the tool library?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example file provided demonstrating the conditions that produce this issue. I'm using an unedited stock Post-Processor for the DMG Mori/NLX1500 from the Autodesk library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS ALL! - Aaron&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 17:23:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883438#M11082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-01T17:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Post is making thread LH instead of RH</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883479#M11083</link>
      <description>&lt;P&gt;I just noticed that regardless of clockwise spindle direction selecting in the tool library, ALL helical moves are flipped in the posted. This includes boring, lead-ins, lead-outs, etc. I'm not experienced enough to know if this is happening before or after the post-processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 17:42:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883479#M11083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-01T17:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Post is making thread LH instead of RH</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883811#M11084</link>
      <description>&lt;P&gt;Okay, So I've done some more digging. I don't have a solution yet, just for observations that might lead to a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In reality this part is being programmed for the Sub-spindle on my NLX1500SY. So in the CAM Setup I've selected Secondary spindle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an experiment I selected Primary Spindle and reposted the code. All of the G02 moves are now G03 moves and look correct. Where I expect clockwise helical movements I get clockwise helical movements. This is Great! except that I can't run this code on the sub-spindle because the XY plane is flipped for the main spindle. So is this something in the post?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Aaron&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 20:10:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883811#M11084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-01T20:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Post is making thread LH instead of RH</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883989#M11085</link>
      <description>&lt;P&gt;Okay so the dreamteam at Autodesk Support figured out that it's forcing G03 over G02 for the "OnCircular" function. So I just forced it the other way. I'm not a programmer so don't try this at home.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;function onCircular(clockwise, cx, cy, cz, x, y, z, feed) {
  var directionCode = (getSpindle(true) == SPINDLE_SUB) ? &lt;STRONG&gt;(clockwise ? 2 : 3)&lt;/STRONG&gt; : (clockwise ? 2 : 3);&lt;/PRE&gt;&lt;P&gt;Swapped the results for the nested ternary so that it would output the same regardless of the outside ternary.&lt;/P&gt;&lt;P&gt;This is just a shaking patch at best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Aaron&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 21:43:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8883989#M11085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-01T21:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Post is making thread LH instead of RH</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8889588#M11086</link>
      <description>&lt;P&gt;Issue solved. Added logic int he OnCircular command based the machine state being turning or milling. So far it seems stable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- AML from FML&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 05:02:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/post-is-making-thread-lh-instead-of-rh/m-p/8889588#M11086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T05:02:27Z</dc:date>
    </item>
  </channel>
</rss>

