<?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: HELP with Fusion 360 post processor for Baileigh Plasma in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8099435#M14988</link>
    <description>&lt;P&gt;Trying again...&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 01:05:32 GMT</pubDate>
    <dc:creator>christopher7565</dc:creator>
    <dc:date>2018-06-29T01:05:32Z</dc:date>
    <item>
      <title>HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7894415#M14975</link>
      <description>&lt;P&gt;&amp;nbsp;I'm having trouble running the g-code that the fusion 360, Baileigh Plasma generic post processor is generating. The torch is not retracting in the Z axis in between cut moves and the torch flame turns off then back on quickly which causes the work piece to be cut when the torch SHOULD be turning off and retracting in the Z axis before rapid moves. After looking through the g-code it looks like the same line of g-code is being generated twice at the end of each cut move. When I go into the g-code and manually delete the duplicate lines it cuts the way it should with the torch turning off and retracting before rapid moves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a file for both the Fusion 360 generated g-code and one from UCannest V10 which is the CAD/CAM program (HaHaHa this program sucks) that came with the Baileigh PT-510HD CNC Plasma Cutter.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 14:34:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7894415#M14975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T14:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7896708#M14976</link>
      <description>&lt;P&gt;Am I really the only one trying to use the Baileigh PT-510HD Plasma with Fusion 360???&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 12:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7896708#M14976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-30T12:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7897843#M14977</link>
      <description>&lt;P&gt;Hello Brian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for bringing this to our attention.&amp;nbsp; Here is an updated post that will not output duplicate moves when moving from one profile to another.&amp;nbsp; Please let me know if this output works on your machine and we'll get it into the generic Baileigh plasma post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question, does your machine have a programmable Z-axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 21:50:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7897843#M14977</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-03-30T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7899817#M14978</link>
      <description>&lt;P&gt;No, it does not have a programmable Z-axis. M-8 causes an automatic torch turn off and z retraction before next rapid move.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 18:37:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7899817#M14978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-01T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7914158#M14979</link>
      <description>&lt;P&gt;Hello. I use the Balieigh PT-510HD table and use Fusion 360. Fusion 360 basically takes control over the Baileigh console with most settings. You need to change the settings on the Baileigh console that runs the table, i.e. pierce times, corner times / etc. It takes some trial and much error, but once you get it figured out correctly its much nicer than the Chinese ucancam crap.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:28:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/7914158#M14979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-06T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8052010#M14980</link>
      <description>&lt;P&gt;I recently purchased a Baileigh PT-105HD-W, and would like to be able to do everything from Fusion 360, rather than importing in BobCad for post processing.&amp;nbsp; I don't see a post processor listed in Fusion 360 that will run the Baileigh. Which one are you folks using? In BobCad, its a PP for a MicroStep controller.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 00:08:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8052010#M14980</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2018-06-07T00:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8052880#M14981</link>
      <description>&lt;P&gt;You can download and use the &lt;A href="https://cam.autodesk.com/hsmposts?p=baileigh_plasma" target="_blank"&gt;Baileigh Plasma&lt;/A&gt; post processor from the online Post Library.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:58:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8052880#M14981</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-06-07T10:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8053112#M14982</link>
      <description>I tried the one listed. The file showed up on the machine as one squiggly line Verus a complete drawing.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:31:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8053112#M14982</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2018-06-07T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8053226#M14983</link>
      <description>&lt;P&gt;Can you provide sample output that does run on your machine?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 13:13:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8053226#M14983</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-06-07T13:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8053725#M14984</link>
      <description>This file works. It was drawn in Fusion, and exported as an IGES file to&lt;BR /&gt;BobCad. Then PP'd using a MicroStep processor.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2018 16:21:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8053725#M14984</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2018-06-07T16:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8054571#M14985</link>
      <description>&lt;P&gt;I don't see the&amp;nbsp;sample file attachment.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 22:58:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8054571#M14985</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-06-07T22:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8054589#M14986</link>
      <description>&lt;P&gt;Sorry. Replied from my email. Must not have sent the attachment. Try this! lol&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 23:11:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8054589#M14986</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2018-06-07T23:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8056394#M14987</link>
      <description>&lt;P&gt;Still don't see the attachment.&amp;nbsp; Be sure to use the BROWSE FILES TO ATTACH button to attach the file and view this thread after attaching the file.&amp;nbsp; The attachment will show up in your post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Attach 1.png" style="width: 335px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/510121i0AE95D052CFF8D48/image-size/large?v=v2&amp;amp;px=999" role="button" title="Attach 1.png" alt="Attach 1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Attach.png" style="width: 385px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/510122i01CA4C0827942C13/image-size/large?v=v2&amp;amp;px=999" role="button" title="Attach.png" alt="Attach.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 16:11:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8056394#M14987</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-06-08T16:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8099435#M14988</link>
      <description>&lt;P&gt;Trying again...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 01:05:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8099435#M14988</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2018-06-29T01:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8104936#M14989</link>
      <description>&lt;P&gt;There are only basic differences between your sample file and the output from the baileigh_plasma.cps post processor.&amp;nbsp; You can make the following changes in the post to make it match more closely to your output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make the following changes in the onOpen function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#333333"&gt;function onOpen()&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#333333"&gt;...&lt;/FONT&gt;  &lt;BR /&gt;//&lt;/FONT&gt; writeln("%"); // required  // change this line
...
  // absolute coordinates
  writeBlock(gFormat.format(92), "X0", "Y0");
  &lt;FONT color="#FF0000"&gt;writeBlock(gFormat.format(90));  // add this line
  writeBlock(mFormat.format(62));  // add this line&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Make the following changes in the onLinear function to remove the feedrate numbers from the linear moves.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;function onLinear (_x, _y, _z, feed) {
...
    writeBlock(gMotionModal.format(1), x, y &lt;FONT color="#FF0000"&gt;/*&lt;/FONT&gt;, f&lt;FONT color="#FF0000"&gt;*/&lt;/FONT&gt;); // linear without G-word &lt;FONT color="#FF0000"&gt;// change this line&lt;/FONT&gt;
  } else if (f) {
    if (getNextRecord().isMotion()) { // try not to output feed without motion
      feedOutput.reset(); // force feed on next line
    } else {
      &lt;FONT color="#FF0000"&gt;//&lt;/FONT&gt; writeBlock(f); &lt;FONT color="#FF0000"&gt;// comment out this line&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;And add the following lines to the onClose function.&lt;/P&gt;
&lt;PRE&gt;function onClose() {
  writeBlock(mFormat.format(8)); // turn off plasma
  &lt;FONT color="#FF0000"&gt;writeBlock(mFormat.format(63));  // add this line
  writeBlock(mFormat.format(60));  // add this line&lt;/FONT&gt;
  writeBlock(mFormat.format(2)); // stop program - rewind
}&lt;/PRE&gt;
&lt;P&gt;You can also default to outputting circular interpolation blocks by changing the Circular interpolation property at the top of the post processor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;properties = {
  writeMachine: true, // write machine
  showSequenceNumbers: true, // show sequence numbers
  sequenceNumberStart: 10, // first sequence number
  sequenceNumberIncrement: 1, // increment for sequence numbers
  separateWordsWithSpace: true, // specifies that the words should be separated with a white space
  useCircularInterpolation: &lt;FONT color="#FF0000"&gt;true&lt;/FONT&gt;, // &lt;FONT color="#FF0000"&gt;change this line to enable circular moves&lt;/FONT&gt; 
  useAbsoluteIJ: true // IJ for G2/G3 is assumed to be absolute
};&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 16:39:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8104936#M14989</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-07-02T16:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8115676#M14990</link>
      <description>&lt;P&gt;Created a new drawing. PP'd with Fusion using the PP you recommended. Attached is the file and a screen shot of what appears on the machine once loaded.&amp;nbsp; What SHOULD appear on the screen are a bunch of letters for some signage I'm working on.&amp;nbsp; At first I thought maybe it was a scaling issue (zoomed way in). But I've scaled it down multiple times, and all I see is the squiggly line.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jul 2018 16:25:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8115676#M14990</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2018-07-07T16:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8121019#M14991</link>
      <description>&lt;P&gt;Looking at the output that you provided I noticed that the M62 code is missing from the top of the file and the M63 and M60 from the bottom of the file.&amp;nbsp; You need to add these using the code snippets I provided previously.&amp;nbsp; The other thing that I notice is that you are using compensation (G41) in the HSM part.&amp;nbsp; You can change the Compensation Type to be 'In control' to omit the G41/G40 codes.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="In control.png" style="width: 246px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/521351i7D37893646C4AFED/image-size/large?v=v2&amp;amp;px=999" role="button" title="In control.png" alt="In control.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There really isn't too much difference in the output from HSM and the sample you provided.&amp;nbsp; If it is easier for you, you can edit the output from HSM to match the good output and then once you get it running on the machine, it would be quite simple to edit the post to make it match.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:51:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/8121019#M14991</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2018-07-10T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/11599174#M14992</link>
      <description>&lt;P&gt;Hey I am having the same issue. I also was thinking that my file was just zoomed way in. Did you ever figure out how to make this work?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 18:33:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/11599174#M14992</guid>
      <dc:creator>Mitchellreep</dc:creator>
      <dc:date>2022-12-05T18:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/11599498#M14993</link>
      <description>I didn't. Autodesk said it was an easy fix in the PP file, but I don't know&lt;BR /&gt;how to edit the PP. So I have been using BobCAD to PP using their Mircostep&lt;BR /&gt;PP.&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Dec 2022 21:03:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/11599498#M14993</guid>
      <dc:creator>christopher7565</dc:creator>
      <dc:date>2022-12-05T21:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: HELP with Fusion 360 post processor for Baileigh Plasma</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/11599865#M14994</link>
      <description>Hey Chris, I got it to work after a little bit of messing around. PP is posted below. You could copy and paste what’s below. Under manufacturing workspace there is a button to manage your post processors. drag and drop the original Baileigh pp into your local 'personal post' folder. Left click the pp to edit the file. You can copy and paste what I got and see if that works for you. Let me know if you need help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /**&lt;BR /&gt;&amp;gt; Copyright (C) 2012-2022 by Autodesk, Inc.&lt;BR /&gt;&amp;gt; All rights reserved.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Baileigh Plasma post processor configuration.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; $Revision: 43727 1654000cf4b49699c85c4609a7371d9af234b038 $&lt;BR /&gt;&amp;gt; $Date: 2022-03-29 15:59:01 $&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; FORKID {103DCA54-E0A9-4A1E-8C69-5091DCA5A834}&lt;BR /&gt;&amp;gt; */&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; description = "Baileigh Plasma EDIT";&lt;BR /&gt;&amp;gt; vendor = "Baileigh";&lt;BR /&gt;&amp;gt; vendorUrl = "&lt;A href="http://www.baileigh.com" target="_blank"&gt;http://www.baileigh.com&lt;/A&gt; &amp;lt;&amp;gt;";&lt;BR /&gt;&amp;gt; legal = "Copyright (C) 2012-2022 by Autodesk, Inc.";&lt;BR /&gt;&amp;gt; certificationLevel = 2;&lt;BR /&gt;&amp;gt; minimumRevision = 45702;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; longDescription = "Generic post for the Baileigh plasma cutting tables like PT-22, PT-44, and PT-105HD.";&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; extension = "cnc";&lt;BR /&gt;&amp;gt; programNameIsInteger = true;&lt;BR /&gt;&amp;gt; setCodePage("ascii");&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; capabilities = CAPABILITY_JET;&lt;BR /&gt;&amp;gt; tolerance = spatial(0.002, MM);&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; minimumChordLength = spatial(0.25, MM);&lt;BR /&gt;&amp;gt; minimumCircularRadius = spatial(0.01, MM);&lt;BR /&gt;&amp;gt; maximumCircularRadius = spatial(4000, MM);&lt;BR /&gt;&amp;gt; minimumCircularSweep = toRad(0.01);&lt;BR /&gt;&amp;gt; maximumCircularSweep = toRad(360);&lt;BR /&gt;&amp;gt; allowHelicalMoves = false;&lt;BR /&gt;&amp;gt; allowedCircularPlanes = 0; // no arcs&lt;BR /&gt;&amp;gt; highFeedrate = (unit == IN) ? 200 : 5000;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; // user-defined properties&lt;BR /&gt;&amp;gt; properties = {&lt;BR /&gt;&amp;gt; writeMachine: {&lt;BR /&gt;&amp;gt; title : "Write machine",&lt;BR /&gt;&amp;gt; description: "Output the machine settings in the header of the code.",&lt;BR /&gt;&amp;gt; group : "formats",&lt;BR /&gt;&amp;gt; type : "boolean",&lt;BR /&gt;&amp;gt; value : true,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; },&lt;BR /&gt;&amp;gt; showSequenceNumbers: {&lt;BR /&gt;&amp;gt; title : "Use sequence numbers",&lt;BR /&gt;&amp;gt; description: "Use sequence numbers for each block of outputted code.",&lt;BR /&gt;&amp;gt; group : "formats",&lt;BR /&gt;&amp;gt; type : "boolean",&lt;BR /&gt;&amp;gt; value : true,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; },&lt;BR /&gt;&amp;gt; sequenceNumberStart: {&lt;BR /&gt;&amp;gt; title : "Start sequence number",&lt;BR /&gt;&amp;gt; description: "The number at which to start the sequence numbers.",&lt;BR /&gt;&amp;gt; group : "formats",&lt;BR /&gt;&amp;gt; type : "integer",&lt;BR /&gt;&amp;gt; value : 10,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; },&lt;BR /&gt;&amp;gt; sequenceNumberIncrement: {&lt;BR /&gt;&amp;gt; title : "Sequence number increment",&lt;BR /&gt;&amp;gt; description: "The amount by which the sequence number is incremented by in each block.",&lt;BR /&gt;&amp;gt; group : "formats",&lt;BR /&gt;&amp;gt; type : "integer",&lt;BR /&gt;&amp;gt; value : 1,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; },&lt;BR /&gt;&amp;gt; separateWordsWithSpace: {&lt;BR /&gt;&amp;gt; title : "Separate words with space",&lt;BR /&gt;&amp;gt; description: "Adds spaces between words if 'yes' is selected.",&lt;BR /&gt;&amp;gt; group : "formats",&lt;BR /&gt;&amp;gt; type : "boolean",&lt;BR /&gt;&amp;gt; value : true,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; },&lt;BR /&gt;&amp;gt; useCircularInterpolation: {&lt;BR /&gt;&amp;gt; title : "Circular interpolation",&lt;BR /&gt;&amp;gt; description: "Outputs circles as linear moves when set to no.",&lt;BR /&gt;&amp;gt; group : "preferences",&lt;BR /&gt;&amp;gt; type : "boolean",&lt;BR /&gt;&amp;gt; value : false,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; },&lt;BR /&gt;&amp;gt; useAbsoluteIJ: {&lt;BR /&gt;&amp;gt; title : "Absolute IJ",&lt;BR /&gt;&amp;gt; description: "When set to yes, IJ for G2/G3 is assumed to be absolute.",&lt;BR /&gt;&amp;gt; group : "preferences",&lt;BR /&gt;&amp;gt; type : "boolean",&lt;BR /&gt;&amp;gt; value : true,&lt;BR /&gt;&amp;gt; scope : "post"&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; };&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var gFormat = createFormat({prefix:"G", decimals:0, width:2, zeropad:true});&lt;BR /&gt;&amp;gt; var mFormat = createFormat({prefix:"M", decimals:0, width:2, zeropad:true});&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var xyzFormat = createFormat({decimals:(unit == MM ? 3 : 4), trim:false});&lt;BR /&gt;&amp;gt; var feedFormat = createFormat({decimals:(unit == MM ? 0 : 1)});&lt;BR /&gt;&amp;gt; var secFormat = createFormat({decimals:3, forceDecimal:true}); // seconds - range 0.001-1000&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var xOutput = createVariable({prefix:"X", force:true}, xyzFormat);&lt;BR /&gt;&amp;gt; var yOutput = createVariable({prefix:"Y", force:true}, xyzFormat);&lt;BR /&gt;&amp;gt; var feedOutput = createVariable({prefix:"F"}, feedFormat);&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; // circular output&lt;BR /&gt;&amp;gt; var iOutput;&lt;BR /&gt;&amp;gt; var jOutput;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var gMotionModal = createModal({force:true}, gFormat); // modal group 1 // G2-G3 - linear moves do not use G-word&lt;BR /&gt;&amp;gt; var gAbsIncModal = createModal({}, gFormat); // modal group 3 // G90-91&lt;BR /&gt;&amp;gt; var gUnitModal = createModal({}, gFormat); // modal group 6 // G70-71&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; // collected state&lt;BR /&gt;&amp;gt; var sequenceNumber;&lt;BR /&gt;&amp;gt; var currentWorkOffset;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; /**&lt;BR /&gt;&amp;gt; Writes the specified block.&lt;BR /&gt;&amp;gt; */&lt;BR /&gt;&amp;gt; function writeBlock() {&lt;BR /&gt;&amp;gt; if (getProperty("showSequenceNumbers")) {&lt;BR /&gt;&amp;gt; writeWords2("N" + sequenceNumber, arguments);&lt;BR /&gt;&amp;gt; sequenceNumber += getProperty("sequenceNumberIncrement");&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; writeWords(arguments);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function formatComment(text) {&lt;BR /&gt;&amp;gt; return "(" + String(text).replace(/[()]/g, "") + ")";&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; /**&lt;BR /&gt;&amp;gt; Output a comment.&lt;BR /&gt;&amp;gt; */&lt;BR /&gt;&amp;gt; function writeComment(text) {&lt;BR /&gt;&amp;gt; // not supported writeln(formatComment(text));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onOpen() {&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; if (getProperty("useCircularInterpolation")) {&lt;BR /&gt;&amp;gt; allowedCircularPlanes = 1 &amp;lt;&amp;lt; PLANE_XY; // only XY&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; // only one of I or J are required&lt;BR /&gt;&amp;gt; if (getProperty("useAbsoluteIJ")) {&lt;BR /&gt;&amp;gt; iOutput = createVariable({prefix:"I", force:true}, xyzFormat);&lt;BR /&gt;&amp;gt; jOutput = createVariable({prefix:"J", force:true}, xyzFormat);&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; iOutput = createReferenceVariable({prefix:"I", force:true}, xyzFormat);&lt;BR /&gt;&amp;gt; jOutput = createReferenceVariable({prefix:"J", force:true}, xyzFormat);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; if (!getProperty("separateWordsWithSpace")) {&lt;BR /&gt;&amp;gt; setWordSeparator("");&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; sequenceNumber = getProperty("sequenceNumberStart");&lt;BR /&gt;&amp;gt; writeln("%"); // required&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; /*&lt;BR /&gt;&amp;gt; if (programName) {&lt;BR /&gt;&amp;gt; var programNumber;&lt;BR /&gt;&amp;gt; try {&lt;BR /&gt;&amp;gt; programNumber = getAsInt(programName);&lt;BR /&gt;&amp;gt; } catch(e) {&lt;BR /&gt;&amp;gt; error(localize("Program name must be a number."));&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; if (!((programNumber &amp;gt;= 1) &amp;amp;&amp;amp; (programNumber &amp;lt;= 99999999))) {&lt;BR /&gt;&amp;gt; error(localize("Program number is out of range."));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var oFormat = createFormat({width:8, zeropad:true, decimals:0});&lt;BR /&gt;&amp;gt; writeBlock("P" + oFormat.format(programNumber)); // max 8 digits&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; */&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; if (programComment) {&lt;BR /&gt;&amp;gt; writeComment(programComment);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; // dump machine configuration&lt;BR /&gt;&amp;gt; var vendor = machineConfiguration.getVendor();&lt;BR /&gt;&amp;gt; var model = machineConfiguration.getModel();&lt;BR /&gt;&amp;gt; var description = machineConfiguration.getDescription();&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; if (getProperty("writeMachine") &amp;amp;&amp;amp; (vendor || model || description)) {&lt;BR /&gt;&amp;gt; writeComment(localize("Machine"));&lt;BR /&gt;&amp;gt; if (vendor) {&lt;BR /&gt;&amp;gt; writeComment(" " + localize("vendor") + ": " + vendor);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; if (model) {&lt;BR /&gt;&amp;gt; writeComment(" " + localize("model") + ": " + model);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; if (description) {&lt;BR /&gt;&amp;gt; writeComment(" " + localize("description") + ": " + description);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; switch (unit) {&lt;BR /&gt;&amp;gt; case IN:&lt;BR /&gt;&amp;gt; writeBlock(gUnitModal.format(20));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case MM:&lt;BR /&gt;&amp;gt; writeBlock(gUnitModal.format(21));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; // absolute coordinates&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(92), "X0", "Y0");&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(90));&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(62));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onComment(message) {&lt;BR /&gt;&amp;gt; writeComment(message);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; /** Force output of X, Y, and Z. */&lt;BR /&gt;&amp;gt; function forceXYZ() {&lt;BR /&gt;&amp;gt; xOutput.reset();&lt;BR /&gt;&amp;gt; yOutput.reset();&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; /** Force output of X, Y, Z, and F on next output. */&lt;BR /&gt;&amp;gt; function forceAny() {&lt;BR /&gt;&amp;gt; forceXYZ();&lt;BR /&gt;&amp;gt; feedOutput.reset();&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onSection() {&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; switch (tool.type) {&lt;BR /&gt;&amp;gt; case TOOL_PLASMA_CUTTER:&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; error(localize("The CNC does not support the required tool/process. Only plasma cutting is supported."));&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; switch (currentSection.jetMode) {&lt;BR /&gt;&amp;gt; case JET_MODE_THROUGH:&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case JET_MODE_ETCHING:&lt;BR /&gt;&amp;gt; error(localize("Etch cutting mode is not supported."));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case JET_MODE_VAPORIZE:&lt;BR /&gt;&amp;gt; error(localize("Vaporize cutting mode is not supported."));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; error(localize("Unsupported cutting mode."));&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; { // pure 3D&lt;BR /&gt;&amp;gt; var remaining = currentSection.workPlane;&lt;BR /&gt;&amp;gt; if (!isSameDirection(remaining.forward, new Vector(0, 0, 1))) {&lt;BR /&gt;&amp;gt; error(localize("Tool orientation is not supported."));&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; setRotation(remaining);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; forceAny();&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; /*&lt;BR /&gt;&amp;gt; var initialPosition = getFramePosition(currentSection.getInitialPosition());&lt;BR /&gt;&amp;gt; gMotionModal.reset();&lt;BR /&gt;&amp;gt; writeBlock(&lt;BR /&gt;&amp;gt; gAbsIncModal.format(90),&lt;BR /&gt;&amp;gt; xOutput.format(initialPosition.x), yOutput.format(initialPosition.y)&lt;BR /&gt;&amp;gt; );&lt;BR /&gt;&amp;gt; */&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onDwell(seconds) {&lt;BR /&gt;&amp;gt; if (seconds &amp;gt; 99999.999) {&lt;BR /&gt;&amp;gt; warning(localize("Dwelling time is out of range."));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; seconds = clamp(0.001, seconds, 99999.999);&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(4), "F" + secFormat.format(seconds));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onCycle() {&lt;BR /&gt;&amp;gt; error(localize("Canned cycles are not supported by CNC."));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onCyclePoint(x, y, z) {&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onCycleEnd() {&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var pendingRadiusCompensation = -1;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onRadiusCompensation() {&lt;BR /&gt;&amp;gt; pendingRadiusCompensation = radiusCompensation;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var shapeArea = 0;&lt;BR /&gt;&amp;gt; var shapePerimeter = 0;&lt;BR /&gt;&amp;gt; var shapeSide = "inner";&lt;BR /&gt;&amp;gt; var cuttingSequence = "";&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onParameter(name, value) {&lt;BR /&gt;&amp;gt; if ((name == "action") &amp;amp;&amp;amp; (value == "pierce")) {&lt;BR /&gt;&amp;gt; // add delay if desired&lt;BR /&gt;&amp;gt; } else if (name == "shapeArea") {&lt;BR /&gt;&amp;gt; shapeArea = value;&lt;BR /&gt;&amp;gt; } else if (name == "shapePerimeter") {&lt;BR /&gt;&amp;gt; shapePerimeter = value;&lt;BR /&gt;&amp;gt; } else if (name == "shapeSide") {&lt;BR /&gt;&amp;gt; shapeSide = value;&lt;BR /&gt;&amp;gt; } else if (name == "beginSequence") {&lt;BR /&gt;&amp;gt; if (value == "piercing") {&lt;BR /&gt;&amp;gt; if (cuttingSequence != "piercing") {&lt;BR /&gt;&amp;gt; if (getProperty("allowHeadSwitches")) {&lt;BR /&gt;&amp;gt; // Allow head to be switched here&lt;BR /&gt;&amp;gt; // onCommand(COMMAND_STOP);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; } else if (value == "cutting") {&lt;BR /&gt;&amp;gt; if (cuttingSequence == "piercing") {&lt;BR /&gt;&amp;gt; if (getProperty("allowHeadSwitches")) {&lt;BR /&gt;&amp;gt; // Allow head to be switched here&lt;BR /&gt;&amp;gt; // onCommand(COMMAND_STOP);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; cuttingSequence = value;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onPower(power) {&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(power ? 7 : 8));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onRapid(_x, _y, _z) {&lt;BR /&gt;&amp;gt; // at least one axis is required&lt;BR /&gt;&amp;gt; var flag = xyzFormat.areDifferent(_x, xOutput.getCurrent()) || xyzFormat.areDifferent(_y, yOutput.getCurrent());&lt;BR /&gt;&amp;gt; if (pendingRadiusCompensation &amp;gt;= 0) {&lt;BR /&gt;&amp;gt; // ensure that we end at desired position when compensation is turned off&lt;BR /&gt;&amp;gt; xOutput.reset();&lt;BR /&gt;&amp;gt; yOutput.reset();&lt;BR /&gt;&amp;gt; flag = true;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; var x = xOutput.format(_x);&lt;BR /&gt;&amp;gt; var y = yOutput.format(_y);&lt;BR /&gt;&amp;gt; if (flag) {&lt;BR /&gt;&amp;gt; if (pendingRadiusCompensation &amp;gt;= 0) {&lt;BR /&gt;&amp;gt; pendingRadiusCompensation = -1;&lt;BR /&gt;&amp;gt; switch (radiusCompensation) {&lt;BR /&gt;&amp;gt; case RADIUS_COMPENSATION_LEFT:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(41));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case RADIUS_COMPENSATION_RIGHT:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(42));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(40));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; writeBlock(gMotionModal.format(0), x, y, feedOutput.format(highFeedrate)); // fast linear move&lt;BR /&gt;&amp;gt; // feedOutput.reset();&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onLinear(_x, _y, _z, feed) {&lt;BR /&gt;&amp;gt; var flag = xyzFormat.areDifferent(_x, xOutput.getCurrent()) || xyzFormat.areDifferent(_y, yOutput.getCurrent());&lt;BR /&gt;&amp;gt; // at least one axis is required&lt;BR /&gt;&amp;gt; if (pendingRadiusCompensation &amp;gt;= 0) {&lt;BR /&gt;&amp;gt; // ensure that we end at desired position when compensation is turned off&lt;BR /&gt;&amp;gt; xOutput.reset();&lt;BR /&gt;&amp;gt; yOutput.reset();&lt;BR /&gt;&amp;gt; flag = true;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; var x = xOutput.format(_x);&lt;BR /&gt;&amp;gt; var y = yOutput.format(_y);&lt;BR /&gt;&amp;gt; var f = feedOutput.format(feed);&lt;BR /&gt;&amp;gt; if (flag) {&lt;BR /&gt;&amp;gt; if (pendingRadiusCompensation &amp;gt;= 0) {&lt;BR /&gt;&amp;gt; pendingRadiusCompensation = -1;&lt;BR /&gt;&amp;gt; switch (radiusCompensation) {&lt;BR /&gt;&amp;gt; case RADIUS_COMPENSATION_LEFT:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(41));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case RADIUS_COMPENSATION_RIGHT:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(42));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(40));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; writeBlock(gMotionModal.format(1), x, y/*, f*/); // linear without G-word&lt;BR /&gt;&amp;gt; } else if (f) {&lt;BR /&gt;&amp;gt; if (getNextRecord().isMotion()) { // try not to output feed without motion&lt;BR /&gt;&amp;gt; feedOutput.reset(); // force feed on next line&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; //writeBlock(f)//;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onRapid5D(_x, _y, _z, _a, _b, _c) {&lt;BR /&gt;&amp;gt; error(localize("The CNC does not support 5-axis simultaneous toolpath."));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onLinear5D(_x, _y, _z, _a, _b, _c, feed) {&lt;BR /&gt;&amp;gt; error(localize("The CNC does not support 5-axis simultaneous toolpath."));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onCircular(clockwise, cx, cy, cz, x, y, z, feed) {&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; if (pendingRadiusCompensation &amp;gt;= 0) {&lt;BR /&gt;&amp;gt; pendingRadiusCompensation = -1;&lt;BR /&gt;&amp;gt; switch (radiusCompensation) {&lt;BR /&gt;&amp;gt; case RADIUS_COMPENSATION_LEFT:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(41));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; case RADIUS_COMPENSATION_RIGHT:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(42));&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; writeBlock(gFormat.format(40));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var start = getCurrentPosition();&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; if (isFullCircle()) {&lt;BR /&gt;&amp;gt; switch (getCircularPlane()) {&lt;BR /&gt;&amp;gt; case PLANE_XY:&lt;BR /&gt;&amp;gt; forceXYZ();&lt;BR /&gt;&amp;gt; if (getProperty("useAbsoluteIJ")) {&lt;BR /&gt;&amp;gt; writeBlock(gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), iOutput.format(cx), jOutput.format(cy));&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; writeBlock(gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), iOutput.format(cx - start.x, 0), jOutput.format(cy - start.y, 0), feedOutput.format(feed));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; linearize(tolerance);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; switch (getCircularPlane()) {&lt;BR /&gt;&amp;gt; case PLANE_XY:&lt;BR /&gt;&amp;gt; if (getProperty("useAbsoluteIJ")) {&lt;BR /&gt;&amp;gt; writeBlock(gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), iOutput.format(cx), jOutput.format(cy));&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; writeBlock(gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), iOutput.format(cx - start.x, 0), jOutput.format(cy - start.y, 0), feedOutput.format(feed));&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; break;&lt;BR /&gt;&amp;gt; default:&lt;BR /&gt;&amp;gt; linearize(tolerance);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var mapCommand = {&lt;BR /&gt;&amp;gt; COMMAND_STOP : 0,&lt;BR /&gt;&amp;gt; COMMAND_OPTIONAL_STOP: 1&lt;BR /&gt;&amp;gt; };&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onCommand(command) {&lt;BR /&gt;&amp;gt; switch (command) {&lt;BR /&gt;&amp;gt; case COMMAND_POWER_ON:&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; case COMMAND_POWER_OFF:&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; case COMMAND_LOCK_MULTI_AXIS:&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; case COMMAND_UNLOCK_MULTI_AXIS:&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; case COMMAND_BREAK_CONTROL:&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; case COMMAND_TOOL_MEASURE:&lt;BR /&gt;&amp;gt; return;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var stringId = getCommandStringId(command);&lt;BR /&gt;&amp;gt; var mcode = mapCommand[stringId];&lt;BR /&gt;&amp;gt; if (mcode != undefined) {&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(mcode));&lt;BR /&gt;&amp;gt; } else {&lt;BR /&gt;&amp;gt; onUnsupportedCommand(command);&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onSectionEnd() {&lt;BR /&gt;&amp;gt; forceAny();&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function onClose() {&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(8)); // turn off plasma&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(63));&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(60));&lt;BR /&gt;&amp;gt; writeBlock(mFormat.format(2)); // stop program - rewind&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; function setProperty(property, value) {&lt;BR /&gt;&amp;gt; properties[property].current = value;&lt;BR /&gt;&amp;gt; }&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Dec 2022 23:57:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/help-with-fusion-360-post-processor-for-baileigh-plasma/m-p/11599865#M14994</guid>
      <dc:creator>Mitchellreep</dc:creator>
      <dc:date>2022-12-05T23:57:22Z</dc:date>
    </item>
  </channel>
</rss>

