<?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: adaptive 2d and 2d contour is refusing to output good circular paths in Fusion Manufacture</title>
    <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387792#M13130</link>
    <description>&lt;P&gt;Make sure you setup using the code in post #9, I experimented a bit and ended up with 0.01 in the code, if you're using inches that will be a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;capabilities = CAPABILITY_MILLING;
tolerance = spatial(0.002, MM);
Spiraltolerance  = spatial(0.025, MM);&lt;/PRE&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2016 16:19:50 GMT</pubDate>
    <dc:creator>HughesTooling</dc:creator>
    <dc:date>2016-06-16T16:19:50Z</dc:date>
    <item>
      <title>adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387231#M13115</link>
      <description>&lt;P&gt;i cant get this file to output the way i want it to i just want g2 and g3 moves but i get a bunch of g1 ive tried different smoothing and tolerance settings to no avail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 13:28:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387231#M13115</guid>
      <dc:creator>j.cavender</dc:creator>
      <dc:date>2016-06-16T13:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387288#M13116</link>
      <description>&lt;P&gt;Hmm....&lt;/P&gt;&lt;P&gt;What are you using for a post?&lt;/P&gt;&lt;P&gt;Mind you, I've got a rather edited Fanuc post here, but what I posted out was nice and concise, no issue with an abundance of G01 moves...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 13:48:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387288#M13116</guid>
      <dc:creator>LibertyMachine</dc:creator>
      <dc:date>2016-06-16T13:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387415#M13118</link>
      <description>&lt;P&gt;This is the toolpath in Fusion, looks pretty good.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/248206i26CABB82FE3F00ED/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Clipboard01.png" title="Clipboard01.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 14:28:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387415#M13118</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2016-06-16T14:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387471#M13119</link>
      <description>&lt;P&gt;using a generic fanuc post with a couple minor tweaks&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 14:46:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387471#M13119</guid>
      <dc:creator>j.cavender</dc:creator>
      <dc:date>2016-06-16T14:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387475#M13120</link>
      <description>&lt;P&gt;here is the code im getting&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 14:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387475#M13120</guid>
      <dc:creator>j.cavender</dc:creator>
      <dc:date>2016-06-16T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387520#M13121</link>
      <description>&lt;P&gt;yeah....I'm getting a huge amount of code with the generic Fanuc.&lt;/P&gt;&lt;P&gt;hmmm. Sadly, this is outside my ability help with. M y post knowledge is limited&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Trial and error with the generic Fanuc versus my heavily modified Fanuc post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Find the line that says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;allowedCircularPlanes = undefined; // allow any circular motion&lt;/P&gt;&lt;P&gt;add this right after it:&lt;/P&gt;&lt;P&gt;allowSpiralMoves = true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your post is trying to do a spiral, but it can't since your post isn't set to allow it. Just adding taht line to the generic fanuc was all that was needed to severely shrink the posted code&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:10:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387520#M13121</guid>
      <dc:creator>LibertyMachine</dc:creator>
      <dc:date>2016-06-16T15:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387587#M13123</link>
      <description>&lt;P&gt;I think if you enable spiral moves you need this bit of code added near the top of the&amp;nbsp;onCircular function.&lt;/P&gt;
&lt;PRE&gt;  if (isSpiral()) {
    var startRadius = getCircularStartRadius();
    var endRadius = getCircularRadius();
    var dr = Math.abs(endRadius - startRadius);
	//writeComment("Spiral move");
    if (dr &amp;gt; maximumCircularRadiiDifference) { // maximum limit
      linearize(0.01); // or alternatively use other G-codes for spiral motion
      return;
    }
  }
&lt;/PRE&gt;
&lt;P&gt;I think it need to go just after the compensation check.&lt;/P&gt;
&lt;PRE&gt;function onCircular(clockwise, cx, cy, cz, x, y, z, feed) {
  if (pendingRadiusCompensation &amp;gt;= 0) {
    error(localize("Radius compensation cannot be activated/deactivated for a circular move."));
    return;
  }
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit&amp;nbsp;you need to comment out the writeComment line like this.&lt;/P&gt;
&lt;PRE&gt;	//writeComment("Spiral move");&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:24:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387587#M13123</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2016-06-16T15:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387622#M13125</link>
      <description>&lt;P&gt;Hmm, interesting. The generic Fanuc doesn't have that section of code, but it seems to output code somewhat properly. Adding that bit of java to the generic, the code actually comes out a bit longer but that's just becuase of some comments about spiral moves. It also eliminated a random G01 move halfway through the code. I'll have to incorporate that into my post, thank you Mark!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:29:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387622#M13125</guid>
      <dc:creator>LibertyMachine</dc:creator>
      <dc:date>2016-06-16T15:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387681#M13126</link>
      <description>&lt;P&gt;Turns out my own post had that bit of logic in there already. However, there was a slight modification:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;//writeComment("Spiral move");
    if (dr &amp;gt; maximumCircularRadiiDifference) { // maximum limit
      linearize(0.01); // or alternatively use other G-codes for spiral motion&lt;/PRE&gt;&lt;P&gt;Became:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	//writeComment("Spiral move");
    if (dr &amp;gt; maximumCircularRadiiDifference) { // maximum limit
      linearize(Spiraltolerance); // or alternatively use other G-codes for spiral motion&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, up at the top of the file, this bit of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;capabilities = CAPABILITY_MILLING;
tolerance = spatial(0.002, MM);
Spiraltolerance  = spatial(0.025, MM);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end, the code it outputs is&amp;nbsp;58 lines, whereas the edited Fanuc code is 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:45:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387681#M13126</guid>
      <dc:creator>LibertyMachine</dc:creator>
      <dc:date>2016-06-16T15:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387694#M13127</link>
      <description>&lt;P&gt;If you post using the file in this thread using dump.cps you get this. The start radius and end radius are quite close so for most a G2\G3 is fine but sometimes an arc doesn't fit and you'd lose some accracy with an arc. You're probably not going the notice in a roughing cut with stock allowances but you might have a problem occasionally with some leads on finish cuts.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/248234i8E3451041861260A/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Clipboard01.png" title="Clipboard01.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:47:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387694#M13127</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2016-06-16T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387758#M13129</link>
      <description>&lt;P&gt;thanks guys ive got it just about fixed now&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 16:06:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387758#M13129</guid>
      <dc:creator>j.cavender</dc:creator>
      <dc:date>2016-06-16T16:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387792#M13130</link>
      <description>&lt;P&gt;Make sure you setup using the code in post #9, I experimented a bit and ended up with 0.01 in the code, if you're using inches that will be a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;capabilities = CAPABILITY_MILLING;
tolerance = spatial(0.002, MM);
Spiraltolerance  = spatial(0.025, MM);&lt;/PRE&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 16:19:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387792#M13130</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2016-06-16T16:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: adaptive 2d and 2d contour is refusing to output good circular paths</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387817#M13131</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2687521"&gt;@LibertyMachine﻿&lt;/a&gt;&amp;nbsp;Thought the code in your post looked familiar.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/computer-aided-machining-cam/reducing-amount-of-nc-code-with-adaptive-technology/m-p/5507397#M839" target="_self"&gt;http://forums.autodesk.com/t5/computer-aided-machining-cam/reducing-amount-of-nc-code-with-adaptive-technology/m-p/5507397#M839&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 16:27:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/adaptive-2d-and-2d-contour-is-refusing-to-output-good-circular/m-p/6387817#M13131</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2016-06-16T16:27:11Z</dc:date>
    </item>
  </channel>
</rss>

