<?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: Mazak Post_Optional Block in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6888926#M19704</link>
    <description>&lt;P&gt;Post processor looks good.&lt;/P&gt;
&lt;P&gt;So we should be looking at all the steps.&lt;/P&gt;
&lt;P&gt;Could you make a screencast maybe so we can see what you do and what the output looks like?&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2017 18:41:19 GMT</pubDate>
    <dc:creator>Laurens-3DTechDraw</dc:creator>
    <dc:date>2017-02-19T18:41:19Z</dc:date>
    <item>
      <title>Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6878088#M19703</link>
      <description>&lt;P&gt;I am trying to post an operation with a tool being optional. &amp;nbsp;It looks as if the post should be outputting the "/" needed for the block skip but it is not. &amp;nbsp;I dont know if i am missing something in the Post or if there is something different i need to do. &amp;nbsp;Attached is the portion of the post that i feel needs attention.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;Writes the specified optional block.&lt;BR /&gt;*/&lt;BR /&gt;function writeOptionalBlock() {&lt;BR /&gt;if (properties.showSequenceNumbers) {&lt;BR /&gt;var words = formatWords(arguments);&lt;BR /&gt;if (words) {&lt;BR /&gt;writeWords("/", "N" + sequenceNumber, words);&lt;BR /&gt;sequenceNumber += properties.sequenceNumberIncrement;&lt;BR /&gt;}&lt;BR /&gt;} else {&lt;BR /&gt;writeWords2("/", arguments);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;function formatComment(text) {&lt;BR /&gt;return "(" + filterText(String(text).toUpperCase(), permittedCommentChars) + ")";&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 21:37:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6878088#M19703</guid>
      <dc:creator>mike.schaffer</dc:creator>
      <dc:date>2017-02-14T21:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6888926#M19704</link>
      <description>&lt;P&gt;Post processor looks good.&lt;/P&gt;
&lt;P&gt;So we should be looking at all the steps.&lt;/P&gt;
&lt;P&gt;Could you make a screencast maybe so we can see what you do and what the output looks like?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 18:41:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6888926#M19704</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2017-02-19T18:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6890214#M19705</link>
      <description>&lt;P&gt;How do i do a screencast?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 13:12:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6890214#M19705</guid>
      <dc:creator>denis_schoemaker</dc:creator>
      <dc:date>2017-02-20T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6890222#M19706</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How do i do a screen cast or screen shot?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 13:15:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6890222#M19706</guid>
      <dc:creator>mike.schaffer</dc:creator>
      <dc:date>2017-02-20T13:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6890237#M19707</link>
      <description>You can download it from the following link:&lt;BR /&gt;&lt;A href="https://knowledge.autodesk.com/community/screencast" target="_blank"&gt;https://knowledge.autodesk.com/community/screencast&lt;/A&gt;</description>
      <pubDate>Mon, 20 Feb 2017 13:22:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6890237#M19707</guid>
      <dc:creator>ivan.stanojevic</dc:creator>
      <dc:date>2017-02-20T13:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6891061#M19708</link>
      <description>&lt;P&gt;I have attached a screencast. &amp;nbsp;Let me know if there is something more that you would like to see of if i am missing something.&amp;nbsp;&lt;/P&gt;
&lt;DIV class="iframe-container"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/201e503b-d69c-4114-981a-b83d8d543b0a" width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Feb 2017 18:32:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6891061#M19708</guid>
      <dc:creator>mike.schaffer</dc:creator>
      <dc:date>2017-02-20T18:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6891207#M19709</link>
      <description>&lt;P&gt;As far as I know, if you select an operation as optional the post processor should mark the code from that op. optional and the post needs to be edited to support all of this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016/ENU/Inventor-HSM/files/GUID-A164506D-F180-4B7C-8A95-891A48B22760-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016/ENU/Inventor-HSM/files/GUID-A164506D-F180-4B7C-8A95-891A48B22760-htm.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 19:30:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6891207#M19709</guid>
      <dc:creator>ivan.stanojevic</dc:creator>
      <dc:date>2017-02-20T19:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6891925#M19710</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4070828"&gt;@mike.schaffer&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I have attached a screencast. &amp;nbsp;Let me know if there is something more that you would like to see of if i am missing something.&amp;nbsp;&lt;/P&gt;
&lt;DIV class="iframe-container"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/201e503b-d69c-4114-981a-b83d8d543b0a" width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;" data-mce-fragment="1"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You are doing everything right indeed.&lt;/P&gt;
&lt;P&gt;Question now would be if you can upload that post processor?&lt;/P&gt;
&lt;P&gt;Because I'm confused to why it doesn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 05:19:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6891925#M19710</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2017-02-21T05:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6892647#M19711</link>
      <description>&lt;P&gt;attached is a copy of our Mazak Post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 13:51:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6892647#M19711</guid>
      <dc:creator>mike.schaffer</dc:creator>
      <dc:date>2017-02-21T13:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6892767#M19712</link>
      <description>&lt;P&gt;I've edited your post and implemented&amp;nbsp;"optional section" exactly as Haas generic post has.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 14:29:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6892767#M19712</guid>
      <dc:creator>ivan.stanojevic</dc:creator>
      <dc:date>2017-02-21T14:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6895609#M19713</link>
      <description>&lt;P&gt;Thank You&amp;nbsp;ivan.stanojevic. &amp;nbsp;I have tested it out and it seems to work. &amp;nbsp;Just to be clear though, the only thing you changed in the post was the section on Optional Block Skip? And is the Mazak and Haas basically fanuc posts?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:24:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6895609#M19713</guid>
      <dc:creator>mike.schaffer</dc:creator>
      <dc:date>2017-02-22T14:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mazak Post_Optional Block</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6895723#M19714</link>
      <description>&lt;P&gt;I've created a variable called optionalSection and implemented it into writeBlock function.&lt;/P&gt;
&lt;P&gt;Then inside OnSection function I've assigned this variable to be "true"&amp;nbsp;when the section is marked as optional.&lt;/P&gt;
&lt;P&gt;However,&amp;nbsp;this variable is set to be "false" in OnClose function because it doesn't have to take into account those blocks at the end of the gcode.&lt;/P&gt;
&lt;P&gt;Don't know much about Mazak but Haas is Fanuc based indeed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:04:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/mazak-post-optional-block/m-p/6895723#M19714</guid>
      <dc:creator>ivan.stanojevic</dc:creator>
      <dc:date>2017-02-22T15:04:08Z</dc:date>
    </item>
  </channel>
</rss>

