<?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: Error: ReferenceError: tapping is not defined in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10955689#M4159</link>
    <description>&lt;P&gt;HI &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11907327"&gt;@kevinw8GL25&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share you CAM project? I'm getting expected output in turning thread canned cycle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 05:36:14 GMT</pubDate>
    <dc:creator>KrupalVala</dc:creator>
    <dc:date>2022-02-17T05:36:14Z</dc:date>
    <item>
      <title>Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10943051#M4153</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;After some editing, I had a working Prototrak post processor, but my machine needs a one line G76 threading cycle, and this post was outputting two line format.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I took the HAAS turning post (which uses a single line G76) and did my best to copy everything related to threading into my post. When I post inside the debugger for visual studio code, I get this error:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Error&lt;/SPAN&gt;&lt;SPAN&gt;: The turning thread cycle is machine specific and must always be handled in the post configuration.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt; in operation: &lt;/SPAN&gt;&lt;SPAN&gt;'Turning Thread1 with cycle'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;!DEBUG: &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt; prototrak turning- g76 &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt; line &lt;/SPAN&gt;&lt;SPAN&gt;TEST.cps&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;1082&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Failed while processing onCycle() for record &lt;/SPAN&gt;&lt;SPAN&gt;319&lt;/SPAN&gt;&lt;SPAN&gt;."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;When I post the code through fusion 360 from my actual part file this is the error I recieve:&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Error&lt;/SPAN&gt;&lt;SPAN&gt;: ReferenceError: tapping is not defined&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt; at line: &lt;/SPAN&gt;&lt;SPAN&gt;1069&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt; in operation: &lt;/SPAN&gt;&lt;SPAN&gt;'Thread1' "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can someone please look at my post and help me resolve this issue. I have attached my test post file as well as the Haas turning post. Thank you so much for the assistance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_Kevin&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Feb 2022 19:31:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10943051#M4153</guid>
      <dc:creator>kevinw8GL25</dc:creator>
      <dc:date>2022-02-10T19:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10943912#M4154</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11907327"&gt;@kevinw8GL25&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does you controller support G138 Cycle format? If yes, Please use the latest&amp;nbsp;&lt;A class="title" href="https://cam.autodesk.com/posts/post.php?name=prototrak%20turning" target="_blank" rel="noopener"&gt;ProtoTRAK Turning&lt;/A&gt;&amp;nbsp;Post processor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 05:43:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10943912#M4154</guid>
      <dc:creator>KrupalVala</dc:creator>
      <dc:date>2022-02-11T05:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10945430#M4155</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8053349"&gt;@KrupalVala&lt;/a&gt;&amp;nbsp; When running this machine with a G code program, it only accepts G76 for threading. I had it working with a two line G76 code and all the parameters were coming out correct, problem is that this machine only takes a one line G76 code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you look at the post and try to edit it to post a one line G76? Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 18:26:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10945430#M4155</guid>
      <dc:creator>kevinw8GL25</dc:creator>
      <dc:date>2022-02-11T18:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10948875#M4156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11907327"&gt;@kevinw8GL25&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please add missing variable, correct the post properties format, and update the logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step :1, Add Variable&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var integerFormat = createFormat({decimals:0, forceDecimal:false, trim:true});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step : 2 Change the properties from this to&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;if (getProperty("useSimpleThread")) {&lt;/LI-CODE&gt;
&lt;P&gt;this&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;if (properties.useSimpleThread) {&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3 : Remove the following irrelevant logic( from the&amp;nbsp;&lt;SPAN&gt;function&lt;/SPAN&gt; &lt;SPAN&gt;onCyclePoint&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;z&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;  if (!getProperty("useCycles") || currentSection.isMultiAxis()) {
    if (tapping) {
      error(localize("Tapping cycles cannot be expanded."));
      return;
    }
    expandCyclePoint(x, y, z);
    return;
  }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Save the post modification and test the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 11:42:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10948875#M4156</guid>
      <dc:creator>KrupalVala</dc:creator>
      <dc:date>2022-02-14T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10954489#M4157</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8053349"&gt;@KrupalVala&lt;/a&gt;&amp;nbsp; Thank you.&amp;nbsp; I will give it a try and report back if it is successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:02:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10954489#M4157</guid>
      <dc:creator>kevinw8GL25</dc:creator>
      <dc:date>2022-02-16T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10954521#M4158</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8053349"&gt;@KrupalVala&lt;/a&gt;&amp;nbsp; This is what I get after making the changes you recommend. If I debug and use the sample threading cycle in Visual studio code it outputs the thread correctly, but does not when posting the code through fusion360 with my actual part. I've attached the updated post with all current changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise on what to do. Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;###############################################################################&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt;: ReferenceError: tapping is not defined&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt; at line: &lt;/SPAN&gt;&lt;SPAN&gt;1069&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt; in operation: &lt;/SPAN&gt;&lt;SPAN&gt;'Thread1'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Stack dump:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;onCyclePoint(&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;05914998336101141&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;-0.14350000328905&lt;/SPAN&gt;&lt;SPAN&gt;)@C:\Users\admin\AppData\Roaming\Autodesk\Fusion &lt;/SPAN&gt;&lt;SPAN&gt;360&lt;/SPAN&gt;&lt;SPAN&gt; CAM\Posts\prototrak turning- g76 &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt; line &lt;/SPAN&gt;&lt;SPAN&gt;TEST.cps&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;1068&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Failed while processing onCycle() for record &lt;/SPAN&gt;&lt;SPAN&gt;1572&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;###############################################################################&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;SPAN&gt;: Failed to execute configuration.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Stop time: Wednesday, February &lt;/SPAN&gt;&lt;SPAN&gt;16&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;2022&lt;/SPAN&gt; &lt;SPAN&gt;4:10:07&lt;/SPAN&gt;&lt;SPAN&gt; PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Post processing failed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:27:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10954521#M4158</guid>
      <dc:creator>kevinw8GL25</dc:creator>
      <dc:date>2022-02-16T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10955689#M4159</link>
      <description>&lt;P&gt;HI &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11907327"&gt;@kevinw8GL25&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share you CAM project? I'm getting expected output in turning thread canned cycle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 05:36:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10955689#M4159</guid>
      <dc:creator>KrupalVala</dc:creator>
      <dc:date>2022-02-17T05:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10959731#M4160</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8053349"&gt;@KrupalVala&lt;/a&gt;&amp;nbsp; Here is a link to the part file. If I use the built in threading cycle on visual studio code I have no issues. Threading cycle posts out ok. But if I use my part file and post the code through fusion 360, it errors out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: after loading up a few different projects that have threads, it turns out the code posts fine. I am confused why the other file I linked to will not post the threading code, but at this point I am just happy it works, and it must just be a unique issue with that file causing the threading to malfunction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for all the help! I really appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://a360.co/3I1l5Up" target="_blank" rel="noopener"&gt;https://a360.co/3I1l5Up&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:10:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10959731#M4160</guid>
      <dc:creator>kevinw8GL25</dc:creator>
      <dc:date>2022-02-18T20:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10959778#M4161</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8053349"&gt;@KrupalVala&lt;/a&gt;&amp;nbsp; turns out something is up with the drilling cycle. That is what is causing the errors. If I post with a deep drilling cycle it will not compute the code and it errors out. Without drilling, the code comes out great...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made many other changes to this post to make it work excellent with the Prototrak TRL1630RX lathe with 8 position turret. After this one problem is resolved I will have a rock-solid post with absolutely zero hand editing of code! It has been a mission, but worth the trouble...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:22:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10959778#M4161</guid>
      <dc:creator>kevinw8GL25</dc:creator>
      <dc:date>2022-02-18T20:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ReferenceError: tapping is not defined</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10962035#M4162</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11907327"&gt;@kevinw8GL25&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have released many updates in these 4 years so I would recommend you to use the latest &lt;A class="title" href="https://cam.autodesk.com/posts/post.php?name=prototrak%20turning" target="_blank" rel="noopener"&gt;ProtoTRAK Turning&lt;/A&gt; post-processor and change the threading cycle depending on your controller configuration.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 05:11:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/error-referenceerror-tapping-is-not-defined/m-p/10962035#M4162</guid>
      <dc:creator>KrupalVala</dc:creator>
      <dc:date>2022-02-21T05:11:41Z</dc:date>
    </item>
  </channel>
</rss>

