<?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: Post processor development function reference in Fusion Manufacture</title>
    <link>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822589#M23711</link>
    <description>&lt;P&gt;I forgot to add that there is a specific forum for Post Processor help located here -&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/hsm-post-processor-forum/bd-p/218" target="_blank"&gt;http://forums.autodesk.com/t5/hsm-post-processor-forum/bd-p/218&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@D5D66E11BC96A1C8427F98151D3E9A7A/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jan 2017 13:33:31 GMT</pubDate>
    <dc:creator>Trigg3r</dc:creator>
    <dc:date>2017-01-22T13:33:31Z</dc:date>
    <item>
      <title>Post processor development function reference</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822567#M23709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i'm looking into implementing a post processor for a device (Brother tc-215) that doesn't actually really support G-code. However it is possible to edit the programs in the computer, so in theory i think it would be possible to modify the post processors within certain limits to also suite this machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Is there a function reference to the post processors somewhere available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What functions do i have in my use, what variables do i have provided by the system?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the member functions for&amp;nbsp;currentSection ect, is this information somewhere available?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i look at the ready made posts, and find things like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;function onCyclePoint(x, y, z) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;var probeWorkOffsetCode;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if (i&lt;STRONG&gt;sProbeOperation()&lt;/STRONG&gt;) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;var workOffset = probeOutputWorkOffset ? probeOutputWorkOffset : currentWorkOffset;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if (workOffset &amp;gt; 99) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;error(localize("Work offset is out of range."));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;return;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;} else if (workOffset &amp;gt; 6) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;probeWorkOffsetCode = probe100Format.format(workOffset - 6 + 100);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;} else {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;probeWorkOffsetCode = workOffset + "."; // G54-&amp;gt;G59&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if (&lt;STRONG&gt;isFirstCyclePoint()&lt;FONT color="#FF0000"&gt;&amp;lt;--not defined in this file&lt;/FONT&gt;&lt;/STRONG&gt;) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repositionToCycleClearance(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;cycle&amp;lt;--huh?&lt;/STRONG&gt;&lt;/FONT&gt;, x, y, z);&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;// return to initial Z which is clearance plane and set absolute mode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;var F = cycle.feedrate;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if (properties.useG95) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;F /= spindleSpeed;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;var P = (cycle.dwell == 0) ? 0 : clamp(1, cycle.dwell * 1000, 99999999); // in milliseconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;switch (&lt;STRONG&gt;cycleType&lt;/STRONG&gt;) {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt; ^^^^^^^^^---first reference to this variable in the whole file&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It makes me feel like there is most likely a lot that i'm missing. I've found a PDF document that described some of this, but that was out of date and the examples provided did not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there a reference on what all is usable for the post developer ? I mean with the examples provided one could in theory modify the current ones with trial and error to suit, but seems like a really backwards way of approaching this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Janne&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 13:17:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822567#M23709</guid>
      <dc:creator>lekonna</dc:creator>
      <dc:date>2017-01-22T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Post processor development function reference</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822585#M23710</link>
      <description>&lt;P&gt;If you choose dump.cps as the post-processor in the post dialogue, that will pump out all the functions and variables available to you IIRC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which I've just tried and it crashed Fusion &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@111F0EEEACA698876C66361511B79F37/emoticons/1f62e.png" alt=":face_with_open_mouth:" title=":face_with_open_mouth:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the dump.dmp file that it generates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 13:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822585#M23710</guid>
      <dc:creator>Trigg3r</dc:creator>
      <dc:date>2017-01-22T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Post processor development function reference</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822589#M23711</link>
      <description>&lt;P&gt;I forgot to add that there is a specific forum for Post Processor help located here -&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/hsm-post-processor-forum/bd-p/218" target="_blank"&gt;http://forums.autodesk.com/t5/hsm-post-processor-forum/bd-p/218&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@D5D66E11BC96A1C8427F98151D3E9A7A/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 13:33:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822589#M23711</guid>
      <dc:creator>Trigg3r</dc:creator>
      <dc:date>2017-01-22T13:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Post processor development function reference</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822681#M23716</link>
      <description>&lt;P&gt;Specifically pay close attention to these threads:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/hsm-post-processor-forum/getting-started-modify-posts/td-p/6371381" target="_blank"&gt;http://forums.autodesk.com/t5/hsm-post-processor-forum/getting-started-modify-posts/td-p/6371381&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/hsm-post-processor-forum/help-my-post-processor-needs-to-be-edited-now-what/td-p/6095934" target="_blank"&gt;http://forums.autodesk.com/t5/hsm-post-processor-forum/help-my-post-processor-needs-to-be-edited-now-what/td-p/6095934&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Post.chm in&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1941261"&gt;@Laurens-3DTechDraw&lt;/a&gt;'s post is the key here for looking up variables (outside of the dump.cps post which will give you real-world and current CAM output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're in the CAM already and just need to check things like tool variables you can also hold Shift and hover over a field to see what variable that outputs:&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="Shift Hover.jpg" style="width: 481px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/314052iDC21B783277FEB5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shift Hover.jpg" alt="Shift Hover.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 14:55:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822681#M23716</guid>
      <dc:creator>Steinwerks</dc:creator>
      <dc:date>2017-01-22T14:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Post processor development function reference</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822766#M23719</link>
      <description>&lt;P&gt;Thanks the post.chm indeed seems to have a function reference, very helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also the trick with shift to see the variables is real handy.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 16:20:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture/post-processor-development-function-reference/m-p/6822766#M23719</guid>
      <dc:creator>lekonna</dc:creator>
      <dc:date>2017-01-22T16:20:16Z</dc:date>
    </item>
  </channel>
</rss>

