<?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: MAJOR cam post process error in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7759137#M15632</link>
    <description>&lt;P&gt;Thanks! Did you make this just for me? I see that it was added just yesterday... I will check it on the machine tonight and let you know how it goes.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 15:39:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-07T15:39:29Z</dc:date>
    <item>
      <title>MAJOR cam post process error</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7757413#M15629</link>
      <description>&lt;P&gt;So i'm trying to cut these triangles in 2x1 aluminum tube on my mill and out of nowhere it decides to go rogue and cut straight through the remaining stock. After looking at the G-code and comparing coordinate values to the simulation in Fusion I noticed that no y coordinate was posted for line 41 where there should have been Y-1.62248. I have copied the body from the model i was using into a different file and re-camed the toolpath and I still get the same result. I have attached the gcode, the .F3D file for part and the post processor that I have been using extensively without issue. I hope this isnt due to a new fusion update as I really need to be able to run my machine without manually editing every gcode file...&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlTQ4USHvOEI%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlTQ4USHvOEI&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlTQ4USHvOEI%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Fusion 360 Post Error" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I have found a short term solution by changing "Minimum Cutting Radius" from 0 to 0.001.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 02:29:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7757413#M15629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T02:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: MAJOR cam post process error</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7757896#M15630</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting. Please could you try using the latest DX-32 post from &lt;A href="http://cam.autodesk.com/posts/?p=bridgeport_dx32" target="_blank"&gt;&amp;gt;&amp;gt;HERE&amp;lt;&amp;lt;&lt;/A&gt;. With this post processor, the issue doesn't seem to appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please test carefully and let us know the results&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:41:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7757896#M15630</guid>
      <dc:creator>GeorgeRoberts</dc:creator>
      <dc:date>2018-02-07T08:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: MAJOR cam post process error</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7757908#M15631</link>
      <description>&lt;P&gt;@Anonymous the issue is into your post processor. I assume this is a custom post?&lt;/P&gt;
&lt;P&gt;The reason why it will not output the required coordinates is that in onLinear the xyz output format gets called twice:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; var x = xOutput.format(_x);&lt;BR /&gt;&amp;nbsp; var y = yOutput.format(_y);&lt;BR /&gt;&amp;nbsp; var z = zOutput.format(_z);&lt;BR /&gt;&amp;nbsp; var f = feedOutput.format(feed);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; var xx = xOutput.format(getCurrentPosition().x);&lt;BR /&gt;&amp;nbsp; var yy = yOutput.format(getCurrentPosition().y);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since XYZ output are modal formats, the post will not output the needed Y-coordinate in this example since it did get assigned wrong.&lt;/P&gt;
&lt;P&gt;Here is the updated onLinear() function, please replace that into your post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;function onLinear(_x, _y, _z, feed) {
  if(properties.decelerationOverride) {
    writeBlock(gNineModal.format(9));
  }
  // at least one axis is required
  if (pendingRadiusCompensation &amp;gt;= 0) {
    // ensure that we end at desired position when compensation is turned off
    xOutput.reset();
    yOutput.reset();
  }
  var x = xOutput.format(_x);
  var y = yOutput.format(_y);
  var z = zOutput.format(_z);
  var f = feedOutput.format(feed);
  
  var xx = getCurrentPosition().x;
  var yy = getCurrentPosition().y;

  if (hasParameter("operation:makeSharpCorners")) {
    var makeSharpCorners = getParameter("operation:makeSharpCorners");
    } else {
    var makeSharpCorners = 0;
    }
    
  if (x || y || z) {
    if (pendingRadiusCompensation &amp;gt;= 0) {
      pendingRadiusCompensation = -1;
      var d = tool.diameterOffset;
      if (d &amp;gt; numberOfToolSlots) {
        warning(localize("The diameter offset exceeds the maximum value."));
      }
      
      switch (radiusCompensation) {
      case RADIUS_COMPENSATION_LEFT:
        writeBlock(gPlaneModal.format(17), gFormat.format(1), xOutput.format(xx), yOutput.format(yy));
        xOutput.reset();
        yOutput.reset();
        if (makeSharpCorners) {
            writeBlock(gCycleModal.format(48));
        } else {
            writeBlock(gCycleModal.format(49));
        }
        writeBlock(gFormat.format(41), xOutput.format(xx), yOutput.format(yy));
        writeBlock(gFormat.format(1), x, y, z, f);
        break;
      case RADIUS_COMPENSATION_RIGHT:
        writeBlock(gPlaneModal.format(17), gFormat.format(1), xOutput.format(xx), yOutput.format(yy));
        xOutput.reset();
        yOutput.reset();
        if (makeSharpCorners) {
            writeBlock(gCycleModal.format(48));
        } else {
            writeBlock(gCycleModal.format(49));
        }
        writeBlock(gFormat.format(42), xOutput.format(xx), yOutput.format(yy));
        writeBlock(gFormat.format(1), x, y, z, f);
        break;
      default:
        writeBlock(gFormat.format(1), x, y, z, f);
        writeBlock(gFormat.format(40));
      }
    } else {
      writeBlock(gMotionModal.format(1), x, y, z, f);
    }
  } else if (f) {
    if (getNextRecord().isMotion()) { // try not to output feed without motion
      feedOutput.reset(); // force feed on next line
    } else {
      writeBlock(gMotionModal.format(1), f);
    }
  }
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general you should maybe have a look at this post where the issue is fixed as well.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://cam.autodesk.com/posts?p=bridgeport_dx32" target="_blank"&gt;http://cam.autodesk.com/posts?p=bridgeport_dx32&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:48:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7757908#M15631</guid>
      <dc:creator>AchimN</dc:creator>
      <dc:date>2018-02-07T08:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: MAJOR cam post process error</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7759137#M15632</link>
      <description>&lt;P&gt;Thanks! Did you make this just for me? I see that it was added just yesterday... I will check it on the machine tonight and let you know how it goes.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:39:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/major-cam-post-process-error/m-p/7759137#M15632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T15:39:29Z</dc:date>
    </item>
  </channel>
</rss>

