<?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 Process Custom Drill Cycle? in Fusion Manufacture Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843498#M104304</link>
    <description>&lt;P&gt;That was just a clarification of what Huges was trying to get across. Perhaps&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2782855"&gt;@HughesTooling&lt;/a&gt;&amp;nbsp;would know?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 01:27:14 GMT</pubDate>
    <dc:creator>johnswetz1982</dc:creator>
    <dc:date>2019-06-11T01:27:14Z</dc:date>
    <item>
      <title>Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8832643#M104297</link>
      <description>&lt;P&gt;I have a CNC controlled knee mill, running Mach 3, that has the CNC control of the knee z axis, rather than the spindle. As a result, it does great cnc milling, but doesn't mess with my ability to use the machine as a manual drill press/hand tap, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'd like to do though is create a custom PP for this machine that can "take over" a drill cycle, and just locate the hole while I manual drill with the quill. Given that my feed rates on the knee are not very high, I think this will be much more convenient than trying to get drilling to work with the knee, and also will allow me to tap, since my spindle is controlled manually, not with Mach 4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there a way to essentially take the drill cycle and replace it with a Gcode output that moves to the center of the first hole, waits for cycle start, and then moves to the next hole? Then i could start the G code, machine moves the table, I drill the hole, hit cycle start, machine moves the hole, etc. I could repeat for tapping or pre-drilling, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help you can offer!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 21:54:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8832643#M104297</guid>
      <dc:creator>alexwbakker</dc:creator>
      <dc:date>2019-06-04T21:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8832766#M104298</link>
      <description>&lt;P&gt;I've done that on my Anilam machine. I use a dwell 0.0 to make the machine pause and wait for the start button, is there something similar in Mach4? Are you going to always manually drill, or do you want the post to do manual and automatic? Could just have 2 posts though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 23:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8832766#M104298</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2019-06-04T23:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8832853#M104299</link>
      <description>&lt;P&gt;That would work - I'd probably never use the standard drill cycle. (My max feed rate on the knee is about 6 IPM, so I avoid anything that might involve rapid retracts). Any pointers on how to modify the PP so that I can strip out the all the Z axis moves and insert the dwell codes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 00:21:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8832853#M104299</guid>
      <dc:creator>alexwbakker</dc:creator>
      <dc:date>2019-06-05T00:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8835225#M104300</link>
      <description>&lt;P&gt;Are you using a PC or mac? Easier if you're using a PC as there's an option on the post dialog to open the post processor. Just select open config and the post should open in your editor, save to a place on your hard drive not back to the generic folder.&lt;/P&gt;
&lt;P&gt;Then look for something like this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 724px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/644476i44356496BAFDE0D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Change the 81 to 00 for a rapid move and below after the comma add "G04 0.0" including the quotes or thinking about it "M0" might be a better idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test the post carefully and I'd better add this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;STRONG&gt;The accompanying advice and or non-standard post processor is provided as-is and without warranty of any kind, and usage is at the user’s own risk.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica" size="3"&gt;Do not put custom posts in the generic posts folder. Use the personal folder.&lt;FONT size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or another location.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica" size="5"&gt;Fusion 360 CAM Personal Posts Folder Locations&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;_______________________________________________________________________________&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;Microsoft Windows&lt;/FONT&gt;:&lt;BR /&gt;&lt;FONT face="helvetica"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;%appdata%\Autodesk\Fusion 360 CAM\Posts&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;Mac / Apple / OSX:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="helvetica" size="3"&gt;&lt;STRONG&gt;/Users/&amp;lt;user id&amp;gt;/Autodesk/Fusion 360 CAM/Posts&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica" size="3"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 22:38:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8835225#M104300</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2019-06-05T22:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8835447#M104301</link>
      <description>&lt;P&gt;Well, I gave that a try, here's what the block looks like now inside the Mach3 PP, modified per your suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;function onCyclePoint(x, y, z) {
  if (!isSameDirection(getRotation().forward, new Vector(0, 0, 1))) {
    expandCyclePoint(x, y, z);
    return;
  }
  if (isFirstCyclePoint()) {
    repositionToCycleClearance(cycle, x, y, z);
    
    // return to initial Z which is clearance plane and set absolute mode

    var F = cycle.feedrate;
    var P = !cycle.dwell ? 0 : cycle.dwell; // in seconds

    switch (cycleType) {
    case "drilling":
      writeBlock(
        gRetractModal.format(98), gCycleModal.format(00),
        getCommonCycle(x, y, "M0"),
        feedOutput.format(F)
      );
      break;&lt;/PRE&gt;&lt;P&gt;but, I just get ".failed" appended to my post processors. unfortunately, the PP file says "view the log file" but does not indicate which one, and fusion writes a *lot* of log files. It does not appear to be in any of the normal fusion diagnostics log...huh.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the latest .failed file just so you can see. It does write an initializing block, but doesn't get any further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help, Mark!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 01:59:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8835447#M104301</guid>
      <dc:creator>alexwbakker</dc:creator>
      <dc:date>2019-06-06T01:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8835494#M104302</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;I think you were supposed to do this,&lt;BR /&gt;&lt;PRE&gt;switch (cycleType) {
    case "drilling":
      writeBlock(
        gRetractModal.format(98), &lt;FONT color="#FF0000"&gt;g&lt;/FONT&gt;CycleModal.format(&lt;FONT color="#FF0000"&gt;0&lt;/FONT&gt;),
        getCommonCycle(x, y, &lt;STRIKE&gt;&lt;FONT color="#FF0000"&gt;"M0"&lt;/FONT&gt;&lt;/STRIKE&gt;),feedOutput.format(F), "M00"
      );
      break;&lt;/PRE&gt;&lt;P class="1559789323020"&gt;&amp;nbsp;Adding the "M0" where you had it was probably what was giving you your error.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 02:57:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8835494#M104302</guid>
      <dc:creator>johnswetz1982</dc:creator>
      <dc:date>2019-06-06T02:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843404#M104303</link>
      <description>&lt;P&gt;So, I made your suggested changes, and I can now get the code to post, but, the code is odd. It will move to the first hole and issue and M00, but, then it just lists all the other coordinates in one giant string of rapids. Do I need to do something to the later blocks to issue the M00 between each hole? &amp;nbsp;I think we’re close here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 23:00:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843404#M104303</guid>
      <dc:creator>alexwbakker</dc:creator>
      <dc:date>2019-06-10T23:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843498#M104304</link>
      <description>&lt;P&gt;That was just a clarification of what Huges was trying to get across. Perhaps&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2782855"&gt;@HughesTooling&lt;/a&gt;&amp;nbsp;would know?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 01:27:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843498#M104304</guid>
      <dc:creator>johnswetz1982</dc:creator>
      <dc:date>2019-06-11T01:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843531#M104305</link>
      <description>&lt;P&gt;Try&amp;nbsp; 01 it is Optional program stop&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 02:19:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843531#M104305</guid>
      <dc:creator>daniel_lyall</dc:creator>
      <dc:date>2019-06-11T02:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Post Process Custom Drill Cycle?</title>
      <link>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843890#M104306</link>
      <description>&lt;P&gt;Sorry should have looked closer, the drill cycle is setup on the first call then all other calls are passed to the end of the function.&lt;/P&gt;
&lt;P&gt;I haven't had time to test this but I think it should work. Added a check for the cycle type and output m01 if drilling. Codes also below for copy paste.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clipboard02.png" style="width: 668px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/646009i86E20D62A18FEFA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clipboard02.png" alt="Clipboard02.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  // 2nd through nth cycle point
  } else {
    if (cycleExpanded) {
      expandCyclePoint(x, y, z);
    } else {
      if (!xyzFormat.areDifferent(x, xOutput.getCurrent()) &amp;amp;&amp;amp;
          !xyzFormat.areDifferent(y, yOutput.getCurrent()) &amp;amp;&amp;amp;
          !xyzFormat.areDifferent(z, zOutput.getCurrent())) {
        switch (gPlaneModal.getCurrent()) {
        case 17: // XY
          xOutput.reset(); // at least one axis is required
          break;
        case 18: // ZX
          zOutput.reset(); // at least one axis is required
          break;
        case 19: // YZ
          yOutput.reset(); // at least one axis is required
          break;
        }
      }
      if (incrementalMode) { // set current position to retract height
        setCyclePosition(cycle.retract);
      }
		if(cycleType == "drilling") {
			writeBlock(xOutput.format(x), yOutput.format(y), "M0");
		}else {
			writeBlock(xOutput.format(x), yOutput.format(y));
		}
      if (incrementalMode) { // set current position to clearance height
        setCyclePosition(cycle.clearance);
      }
    }
  }
}
&lt;/PRE&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 07:47:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manufacture-forum/post-process-custom-drill-cycle/m-p/8843890#M104306</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2019-06-11T07:47:46Z</dc:date>
    </item>
  </channel>
</rss>

