<?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 Show Setup Notes in Gcode in Fusion Manufacture</title>
    <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7583804#M40212</link>
    <description>&lt;P&gt;Can anyone show me how to use the notes section in the setup so that i cna write program instructions to the operator and have them appear above or below the tool list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;current ex.&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;BR /&gt;O1001 (SQR JAWS OP5)&lt;BR /&gt;(Using G0 which travels along dogleg path.)&lt;/P&gt;&lt;P&gt;(T1 - 2" Face Mill)&lt;BR /&gt;(T2 - #3 Center Drill)&lt;BR /&gt;(T3 - 25/64 Drill)&lt;BR /&gt;(T4 - 1/2" Flat Endmill)&lt;BR /&gt;(T5 - 1/4" Flat Endmill)&lt;BR /&gt;(T6 - 1/4" Flat Endmill)&lt;/P&gt;&lt;P&gt;G90 G94 G17&lt;BR /&gt;G20&lt;BR /&gt;G28 G91 Z0.&lt;BR /&gt;G90&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(HOLD WITH 120 DEGREE ANGLE ON RIGHT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(X ZERO LEFT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Y ZERO BACK SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Z ZERO TOP SURFACE)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like the set up notes to be here&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;BR /&gt;O1001 (SQR JAWS OP5)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(HOLD WITH 120 DEGREE ANGLE ON RIGHT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(X ZERO LEFT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Y ZERO BACK SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Z ZERO TOP SURFACE)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(T1 - 2" Face Mill)&lt;BR /&gt;(T2 - #3 Center Drill)&lt;BR /&gt;(T3 - 25/64 Drill)&lt;BR /&gt;(T4 - 1/2" Flat Endmill)&lt;BR /&gt;(T5 - 1/4" Flat Endmill)&lt;BR /&gt;(T6 - 1/4" Flat Endmill)&lt;/P&gt;&lt;P&gt;G90 G94 G17&lt;BR /&gt;G20&lt;BR /&gt;G28 G91 Z0.&lt;BR /&gt;G90&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fusion notes pic.jpg" style="width: 374px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/432698iE976A445427A2A41/image-size/large?v=v2&amp;amp;px=999" role="button" title="fusion notes pic.jpg" alt="fusion notes pic.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 21:39:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-29T21:39:05Z</dc:date>
    <item>
      <title>Show Setup Notes in Gcode</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7583804#M40212</link>
      <description>&lt;P&gt;Can anyone show me how to use the notes section in the setup so that i cna write program instructions to the operator and have them appear above or below the tool list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;current ex.&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;BR /&gt;O1001 (SQR JAWS OP5)&lt;BR /&gt;(Using G0 which travels along dogleg path.)&lt;/P&gt;&lt;P&gt;(T1 - 2" Face Mill)&lt;BR /&gt;(T2 - #3 Center Drill)&lt;BR /&gt;(T3 - 25/64 Drill)&lt;BR /&gt;(T4 - 1/2" Flat Endmill)&lt;BR /&gt;(T5 - 1/4" Flat Endmill)&lt;BR /&gt;(T6 - 1/4" Flat Endmill)&lt;/P&gt;&lt;P&gt;G90 G94 G17&lt;BR /&gt;G20&lt;BR /&gt;G28 G91 Z0.&lt;BR /&gt;G90&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(HOLD WITH 120 DEGREE ANGLE ON RIGHT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(X ZERO LEFT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Y ZERO BACK SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Z ZERO TOP SURFACE)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like the set up notes to be here&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;BR /&gt;O1001 (SQR JAWS OP5)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(HOLD WITH 120 DEGREE ANGLE ON RIGHT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(X ZERO LEFT SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Y ZERO BACK SIDE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;(Z ZERO TOP SURFACE)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(T1 - 2" Face Mill)&lt;BR /&gt;(T2 - #3 Center Drill)&lt;BR /&gt;(T3 - 25/64 Drill)&lt;BR /&gt;(T4 - 1/2" Flat Endmill)&lt;BR /&gt;(T5 - 1/4" Flat Endmill)&lt;BR /&gt;(T6 - 1/4" Flat Endmill)&lt;/P&gt;&lt;P&gt;G90 G94 G17&lt;BR /&gt;G20&lt;BR /&gt;G28 G91 Z0.&lt;BR /&gt;G90&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fusion notes pic.jpg" style="width: 374px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/432698iE976A445427A2A41/image-size/large?v=v2&amp;amp;px=999" role="button" title="fusion notes pic.jpg" alt="fusion notes pic.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 21:39:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7583804#M40212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T21:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Show Setup Notes in Gcode</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7584022#M40223</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Thanks for posting to the forum!&amp;nbsp; I think that using the Manual NC functionality might work well for you.&amp;nbsp; That's under Setup, Manual NC.&amp;nbsp; Here's a short video that should help explain using this tool.&amp;nbsp; Please let me know if you have any other questions!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="87799e23-8b9c-4752-9328-5bb4af5ec39f" class="myscreencast-iframe iframe-container active-myscreencast"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/87799e23-8b9c-4752-9328-5bb4af5ec39f" width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Nov 2017 22:54:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7584022#M40223</guid>
      <dc:creator>Matthew-R</dc:creator>
      <dc:date>2017-11-29T22:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show Setup Notes in Gcode</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7584854#M40240</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting! Just to add on to the previous recommendation, you can also display setup notes in the header of your file by modifying the post processor you are using. The code to display the setup notes is:&lt;/P&gt;
&lt;PRE&gt;if (hasGlobalParameter("job-notes")) {
  var notes = getGlobalParameter("job-notes");
  if (notes) {
    var lines = String(notes).split("\n");
    var r1 = new RegExp("^[\\s]+", "g");
    var r2 = new RegExp("[\\s]+$", "g");
    for (line in lines) {
      var comment = lines[line].replace(r1, "").replace(r2, "");
      if (comment) {
        writeComment(comment);
      }
    }
  }
}&lt;/PRE&gt;
&lt;P&gt;If you could share your post processor, I can advise on where to place this code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 08:41:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7584854#M40240</guid>
      <dc:creator>GeorgeRoberts</dc:creator>
      <dc:date>2017-11-30T08:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show Setup Notes in Gcode</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7585626#M40247</link>
      <description>&lt;P&gt;I'm using the HAAS next generation post.....&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 13:40:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7585626#M40247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show Setup Notes in Gcode</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7585669#M40248</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the response. If you open up your post processor by clicking the open config button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 496px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/432984i5705E9236B5DFEA4/image-dimensions/496x416?v=v2" width="496" height="416" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then find the following lines in the post processor:&lt;/P&gt;
&lt;PRE&gt;  sequenceNumber = properties.sequenceNumberStart;
  writeln("%");

  if (programName) {
    var programId;
    try {
      programId = getAsInt(programName);
    } catch(e) {
      error(localize("Program name must be a number."));
      return;
    }
    if (!((programId &amp;gt;= 1) &amp;amp;&amp;amp; (programId &amp;lt;= 99999))) {
      error(localize("Program number is out of range."));
      return;
    }
    writeln(
      "O" + oFormat.format(programId) +
      conditional(programComment, " " + formatComment(programComment.substr(0, maximumLineLength - 2 - ("O" + oFormat.format(programId)).length - 1)))
    );
    lastSubprogram = programId;
  } else {
    error(localize("Program name has not been specified."));
    return;
  }&lt;/PRE&gt;
&lt;P&gt;and paste the code from my previous post below these lines, making the block look like this:&lt;/P&gt;
&lt;PRE&gt;  sequenceNumber = properties.sequenceNumberStart;
  writeln("%");

  if (programName) {
    var programId;
    try {
      programId = getAsInt(programName);
    } catch(e) {
      error(localize("Program name must be a number."));
      return;
    }
    if (!((programId &amp;gt;= 1) &amp;amp;&amp;amp; (programId &amp;lt;= 99999))) {
      error(localize("Program number is out of range."));
      return;
    }
    writeln(
      "O" + oFormat.format(programId) +
      conditional(programComment, " " + formatComment(programComment.substr(0, maximumLineLength - 2 - ("O" + oFormat.format(programId)).length - 1)))
    );
    lastSubprogram = programId;
  } else {
    error(localize("Program name has not been specified."));
    return;
  }
  
  if (hasGlobalParameter("job-notes")) {
    var notes = getGlobalParameter("job-notes");
    if (notes) {
      var lines = String(notes).split("\n");
      var r1 = new RegExp("^[\\s]+", "g");
      var r2 = new RegExp("[\\s]+$", "g");
      for (line in lines) {
        var comment = lines[line].replace(r1, "").replace(r2, "");
        if (comment) {
          writeComment(comment);
        }
      }
    }
  }&lt;/PRE&gt;
&lt;P&gt;Finally, save the post and test it out. You should see the setup notes being displayed underneath the program name&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 411px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/432986i9CD0FE3098839281/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 13:51:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7585669#M40248</guid>
      <dc:creator>GeorgeRoberts</dc:creator>
      <dc:date>2017-11-30T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Show Setup Notes in Gcode</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7586815#M40266</link>
      <description>&lt;P&gt;This works great!!! Thank You Sir!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other note thing was too short for the explanation i have to give for some of these set ups.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 18:59:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/show-setup-notes-in-gcode/m-p/7586815#M40266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T18:59:58Z</dc:date>
    </item>
  </channel>
</rss>

