<?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 Linuxcnc post for lathe - IJK Absolute or Incremental ? in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8581174#M12338</link>
    <description>&lt;P&gt;After six months of going through online information youtube and the post processor manual, I believe I got the stage where my understanding is past newbie editing level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1st question - Am having some problems in finding out if the fusion post for the linuxcnc post processor for arcs is in incremental or absolute?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2nd question - Am using the linuxcnc post that I have edited so far for my flashcut controller for a lathe that was converted from manual to cnc, when creating a facing operation all the gcode from the post I created comes out perfectly fine either the generic fanuc turn post or the linuxcnc post , the problem am facing is arc related moves, and I believe I have narrowed it down to that problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried using the fanuc turning post similar setup in the post processor that I edited for linuxcnc and the same error occurs when trying to profile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error&amp;nbsp; reads "The vector to the center defines an invalid arc. the arc cannot be drawn from the beginning point to the ending point with the center as specified."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Machine zero / program zero all checks out ok, I have disabled the G54 writeblock from the post since it is defined in the controller itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached my edited linuxcnc post, if it would be easier to work with the fanuc post I can edited similarly to the linuxcnc to match my requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also checked out the following thread:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/hsm-post-processor-forum/fanuc-turning-ijk-as-absolute-not-incremental/td-p/7900867" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/hsm-post-processor-forum/fanuc-turning-ijk-as-absolute-not-incremental/td-p/7900867&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which is fanuc related and not linuxcnc would it be a similar amendment ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also when posting in radius mode everything checks out. I would rather use the IJK for purpose of accuracy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any insight or guidance would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Notepad++ / java syntax highlighting and and alot of coffeeeeeeee &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 20:54:52 GMT</pubDate>
    <dc:creator>Xray965</dc:creator>
    <dc:date>2019-02-07T20:54:52Z</dc:date>
    <item>
      <title>Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8581174#M12338</link>
      <description>&lt;P&gt;After six months of going through online information youtube and the post processor manual, I believe I got the stage where my understanding is past newbie editing level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1st question - Am having some problems in finding out if the fusion post for the linuxcnc post processor for arcs is in incremental or absolute?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2nd question - Am using the linuxcnc post that I have edited so far for my flashcut controller for a lathe that was converted from manual to cnc, when creating a facing operation all the gcode from the post I created comes out perfectly fine either the generic fanuc turn post or the linuxcnc post , the problem am facing is arc related moves, and I believe I have narrowed it down to that problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried using the fanuc turning post similar setup in the post processor that I edited for linuxcnc and the same error occurs when trying to profile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error&amp;nbsp; reads "The vector to the center defines an invalid arc. the arc cannot be drawn from the beginning point to the ending point with the center as specified."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Machine zero / program zero all checks out ok, I have disabled the G54 writeblock from the post since it is defined in the controller itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached my edited linuxcnc post, if it would be easier to work with the fanuc post I can edited similarly to the linuxcnc to match my requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also checked out the following thread:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/hsm-post-processor-forum/fanuc-turning-ijk-as-absolute-not-incremental/td-p/7900867" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/hsm-post-processor-forum/fanuc-turning-ijk-as-absolute-not-incremental/td-p/7900867&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which is fanuc related and not linuxcnc would it be a similar amendment ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also when posting in radius mode everything checks out. I would rather use the IJK for purpose of accuracy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any insight or guidance would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Notepad++ / java syntax highlighting and and alot of coffeeeeeeee &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8581174#M12338</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-07T20:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8584183#M12339</link>
      <description>&lt;P&gt;In answer to your questions, the linuxcnc turning post does output incremental IJKs and by default the controller should be expecting incremental IJKs.&amp;nbsp; There are a couple of different things that you can try to remedy the error on the control.&lt;/P&gt;
&lt;OL style="list-style-position: inside;"&gt;
&lt;LI&gt;Try inserting a G91.1 code at the top of the program.&amp;nbsp; This defines incremental IJK mode.&amp;nbsp; It should be the default setting, but can't hurt to try it.&lt;/LI&gt;
&lt;LI&gt;Insert a G90.1 code to set absolute IJKs and modify the onCircular function to output absolute IJKs.&amp;nbsp; You will need to force the output of I and K on each circular block as stated in the manual.&lt;/LI&gt;
&lt;LI&gt;Provide the part you are working with and I can verify the circular output is within tolerance.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 09 Feb 2019 00:11:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8584183#M12339</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-02-09T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8585140#M12340</link>
      <description>&lt;P&gt;Hi Bob, thank you for the reply.&lt;/P&gt;
&lt;P&gt;In reply to your comments:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1- The default for the stock linux turning post as per the PP download from the site is calling G90 and not G91.&lt;/P&gt;
&lt;P&gt;2- The default controller mode for IJK is incremental and not absolute as per the flashcut manual bottom of page 181 following statement &amp;nbsp;"The I , J, and K parameters represent the incremental X, Y, and Z&amp;nbsp;distances (respectively) from the starting point of the arc to the center point of the&amp;nbsp;arc. " which confirms that the default IJK as per the controller is in incremental mode and not absolute, please correct me if I am wrong.&lt;/P&gt;
&lt;P&gt;3- Attached is a test dummy part I made for purpose of testing the post processor through the controller.&lt;/P&gt;
&lt;P&gt;4- I have attached the output stock gcode from the stock linux cnc for your reference which is outputting the error as mentioned earlier,&amp;nbsp; I have added my comments in the gcode for your reference of certain codes I remove and amend manually for testing purpose just to make sure it's not a machine configuration issue, once the testing gcode checks out I will proceed to fully editing the post processor similar to the previous to my liking and machine controller requirement. Facing is working fine as mentioned earlier, since there is no call for circular moves, just profiling is now the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some oversight maybe.....still looking.&amp;nbsp; I&amp;nbsp; am putting the information that I have for this thread for the purpose of referencing to solve the issue, I do enjoy trying to resolve the problem, but in all honesty am facing a wall at the moment.... thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 21:22:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8585140#M12340</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-09T21:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8587921#M12341</link>
      <description>&lt;P&gt;Thanks for supplying the manual and part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I analyzed the circular blocks and the values are all exact, so you should not&amp;nbsp; be getting an error at the control.&amp;nbsp; Per the FlashCut manual it is expecting incremental IJKs and does not have an option for absolute IJKs.&amp;nbsp; While the X-values are in diameter mode, the I-values are in radius mode, which is standard for lathes, but I could not see any reference to this in the manual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions I make will be guesses, so the best thing for you to try is to try a hand-coded program with simple motion including a single circular block, and see if you can get the control to read it using various center point calculations; incremental, absolute, diameter IJKS, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also noticed the following setting in the control that you can increase to see if this helps.&lt;/P&gt;
&lt;PRE&gt;&lt;U&gt;&lt;STRONG&gt;G-Code Settings&lt;/STRONG&gt;&lt;BR /&gt;Arc Radius Tolerance&lt;/U&gt; – Sets the maximum allowable difference between the starting and ending radius for&lt;BR /&gt;an arc move (G02 or G03). While loading files, FlashCut checks every arc to make sure the arc radius&lt;BR /&gt;difference is within the tolerance specified here.&lt;/PRE&gt;
&lt;P&gt;If you cannot find a format that the control accepts, then you should use Radius programming instead.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 17:53:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8587921#M12341</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-02-11T17:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8587998#M12342</link>
      <description>&lt;P&gt;Thank you for taking the time to clarify, spent the last days editing and testing different oncircular format and non seemed to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will hash it out a little more, otherwise will revert back to radius mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The arc radius tolerance is set already on 0.2500mm will try a little more and see what happens, but pushing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:24:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8587998#M12342</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-11T18:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588064#M12343</link>
      <description>&lt;P&gt;Tested to 0.8000mm only then did the gcode run without errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As can be seen the arcs are not on path via the flashcut software controller display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:42:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588064#M12343</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-11T18:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588182#M12344</link>
      <description>&lt;P&gt;Bob just thinking out loud, can one code the post processor to match the requirement.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 19:45:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588182#M12344</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-11T19:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588267#M12345</link>
      <description>&lt;P&gt;From the tool path in the foreground, it sure looks like the X end-point only goes 50% of the move, pointing to a diameter value for the I-component.&amp;nbsp; You can easily change the I-output to use diameter mode by making the following changes to the post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#3366FF"&gt;// AT TOP OF POST&lt;/FONT&gt;
// circular output
var kOutput = createReferenceVariable({prefix:"K"}, zFormat);
var iOutput = createReferenceVariable({prefix:"I"}, &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;xFormat&lt;/FONT&gt;&lt;/STRONG&gt;); // diameter mode
...
&lt;FONT color="#3366FF"&gt;// IN ONSECTION&lt;/FONT&gt;
  // turning using front tool post
  if (toolingData.toolPost == FRONT) {
    xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:false, scale:-2});
    xOutput = createVariable({prefix:"X"}, xFormat);
    iFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;scale:-2&lt;/STRONG&gt;&lt;/FONT&gt;}); // diameter mode
    iOutput = createReferenceVariable({prefix:"I"}, iFormat);

  // turning using rear tool post
  } else {
    xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:false, scale:2});
    xOutput = createVariable({prefix:"X"}, xFormat);
    iFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;scale:2&lt;/STRONG&gt;&lt;/FONT&gt;}); // diameter mode
    iOutput = createReferenceVariable({prefix:"I"}, iFormat);
  }&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Feb 2019 19:51:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588267#M12345</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-02-11T19:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588639#M12346</link>
      <description>&lt;P&gt;Hey Bob&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the codes, I did the changes in the PP as per your suggestion and no joy same error.&lt;/P&gt;
&lt;P&gt;Got an email confirmation from flashcut , IJK should be incremental and flashcut in lathe mode only operates in radius mode and not diameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Guess that closes the chapter then ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 22:33:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588639#M12346</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-11T22:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588690#M12347</link>
      <description>&lt;P&gt;If this is the case, then you need to change all scale:2 to scale:1 and scale:-2 to scale:-1.&amp;nbsp; This will output the X-values and I-values in radius mode.&amp;nbsp; You should have also noticed that the Face operation was moving twice the distance in X with the current post.&amp;nbsp; Though, I am curious why the Radius circular interpolation worked, since the X-values were being output in diameter mode and the radii in radius mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might as well give this a try and see if it works on the machine.&amp;nbsp; Be sure to mark where you make changes in the code so you can change it back if the X-values are incorrect in radius mode.&amp;nbsp; If X-radius output does not work for you, then I would say that the control has an issue with IJK circular interpolation and you have to use Radius mode for circular interpolation and diameter mode for the X-values.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 23:12:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8588690#M12347</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-02-11T23:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8589628#M12348</link>
      <description>&lt;P&gt;Morning Bob...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all thank you very much for your perseverance in solving this, for editing purpose I keep the original PP files as is and work on new renamed PP files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The last amendment works here are the changes done:&lt;/P&gt;
&lt;PRE&gt;//In user defined properties

var xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1}); // diameter mode edited scale from 2 to 1



//In Circular Ouput

var iOutput = createReferenceVariable({prefix:"I"}, xFormat); // radius mode rFormat edited to xFormat diameter mode



//In On Section

// turning using front tool post
if (toolingData.toolPost == FRONT) {
xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:-1}); // Edited scale from -2 to -1
xOutput = createVariable({prefix:"X"}, xFormat);
iFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:-1}); // radius mode
iOutput = createReferenceVariable({prefix:"I"}, iFormat);

// turning using rear tool post
} else {
xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1}); // Edited scale from 2 to 1
xOutput = createVariable({prefix:"X"}, xFormat);
iFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1}); // radius mode
iOutput = createReferenceVariable({prefix:"I"}, iFormat);
}

&lt;/PRE&gt;
&lt;P&gt;Gcode File output attached file 1007.nc is the profiling toolpath only, and gcode file 1010.nc is facing and profiling for my controller here is the sample of profiling toolpath.&lt;/P&gt;
&lt;PRE&gt;%
(1007)
N11 G18
N12 G90
N13 G21

(PROFILE3)
N14 M0 (CHANGE TO T1 ON FRONT TOOL POST)
N15 T1 M6 
N17 G97 S1500 M3
N18 G94
N19 G90 G0 X-6. Z2. (X&amp;nbsp;was 12)
N20 G0 X-7.214 (X was&amp;nbsp;X-14.428)
N21 Z1.143
N22 G1 X-5.8 Z-0.271 F45.&amp;nbsp; (X was -11.6)
N23 Z-6.975
N24 G2 X-6. Z-7.798 I1.6 K-0.825 (X was&amp;nbsp;X-14.628)
N25 G1 X-7.414 Z-6.384
N26 G0 Z1.307
N27 X-7.014

&lt;/PRE&gt;
&lt;P&gt;Here is a screenshot of the machining toolpath output set on Arc tolerance 0.2500mm which is controller default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will further test and see if anything else comes up, then will do a final ammendment to the post and maybe you guys can add it to the HSM post library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I owe you a cup of coffee &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 11:24:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8589628#M12348</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-12T11:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8590040#M12349</link>
      <description>&lt;P&gt;Thanks for the update and glad to hear that it is finally working for you.&amp;nbsp; Will be looking for your updates so that we can add it as a generic post to the Post Library.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:54:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8590040#M12349</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2019-02-12T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620366#M12350</link>
      <description>&lt;P&gt;Have the same issues with my controller. Contacted flashcut ,they are clueless. Many different errors like:&amp;nbsp;The specified axis is not in use; An operation that depends on machine zero being set was attempted. Machine zero has not yet been set; and Error code 1332 on line 40: The vector to the center defines an invalid arc. The arc cannot be drawn from the beginning point to the ending point with the center as specified. Post process doubles all x coordinate value. Did your modified post works? Can you share a copy of&amp;nbsp; new post.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 21:46:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620366#M12350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T21:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620371#M12351</link>
      <description>&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #666666; cursor: text; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Have the same issues with my controller. Contacted flashcut ,they are clueless. Many different errors like:&amp;nbsp;The specified axis is not in use; An operation that depends on machine zero being set was attempted. Machine zero has not yet been set; and Error code 1332 on line 40: The vector to the center defines an invalid arc. The arc cannot be drawn from the beginning point to the ending point with the center as specified. Post process doubles all x coordinate value. Did your modified post works? Can you share a copy of&amp;nbsp; new post&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 21:49:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620371#M12351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T21:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620708#M12352</link>
      <description>&lt;P&gt;Still working on it, its based on the linux cnc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my latest post mod, working good so far. Dont worry about the file name its just my reference usage, name it to what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are coming across some errors post back here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have disabled some of the post output of the things that I want to more of a generic use, but if you need something specific just ask, I'll help with what I know, and learned so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 00:52:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620708#M12352</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-26T00:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Linuxcnc post for lathe - IJK Absolute or Incremental ?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620718#M12353</link>
      <description>&lt;P&gt;In reference to your machine zero not being set, thats not related to the post, you need to set machine zero on the machine itself, since this is not related to fusion 360 may I suggest you got to facebook and lookup a group called sherline lathe &amp;amp; mill group and post directly there where I can help and others can help in getting you running with flashcutcnc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To define the machine zero click on the machine dro drop down menu and select zero. Careful you need to define the limits of the machine otherwise you will be crashing in no time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The vector error is post processor related so the post I posted earlier should rectify that for you.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 00:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/linuxcnc-post-for-lathe-ijk-absolute-or-incremental/m-p/8620718#M12353</guid>
      <dc:creator>Xray965</dc:creator>
      <dc:date>2019-02-26T00:57:33Z</dc:date>
    </item>
  </channel>
</rss>

