<?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: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9164087#M9680</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8291613"&gt;@habermacher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have set the machine kinematics as rotate about X axis, What is the maximum and minimum limit of the machine. and if possible could you send me your machine setup photo.&lt;/P&gt;
&lt;P&gt;Did you try post process the 2nd operation only.try the 2nd operation only i think you will get the output.&lt;/P&gt;
&lt;P&gt;What is the post processor you are using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2019 15:06:35 GMT</pubDate>
    <dc:creator>boopathi.sivakumar</dc:creator>
    <dc:date>2019-11-24T15:06:35Z</dc:date>
    <item>
      <title>90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9163386#M9679</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've been working with Fusion 360 for quite some time with our 3 axis BZT PFU router using Linux-cnc. Now for a specific project, want to add an additional axis with a 90 degree spindle which can rotate around the normal Z-Axis, in order to drill holes horizontally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question now is if there is a postprocessor available for the mentioned purpose, if not, how to adjust the postprocessor accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the instructions here:&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/support/fusion-360/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-make-a-3-axis-post-processor-from-the-HSM-post-processor-library-support-4-or-5-axis-motion.html" target="_blank" rel="noopener"&gt;https://knowledge.autodesk.com/support/fusion-360/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-make-a-3-axis-post-processor-from-the-HSM-post-processor-library-support-4-or-5-axis-motion.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; Changed the lines to as follows:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 857px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/700993i92B9C172DF7C9AE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As expected this does not work, as im not having a proper rotary head, but a 90 degree spindle which can only rotate around the normal Z axis...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an Idea how to approach that issue?&lt;/P&gt;&lt;P&gt;A sample file with which Im testing can be downloaded here:&amp;nbsp;&lt;A href="https://a360.co/2qEvUJQ" target="_blank"&gt;https://a360.co/2qEvUJQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to hearing from anyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Timothy&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>Sat, 23 Nov 2019 16:32:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9163386#M9679</guid>
      <dc:creator>habermacher</dc:creator>
      <dc:date>2019-11-23T16:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9164087#M9680</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8291613"&gt;@habermacher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have set the machine kinematics as rotate about X axis, What is the maximum and minimum limit of the machine. and if possible could you send me your machine setup photo.&lt;/P&gt;
&lt;P&gt;Did you try post process the 2nd operation only.try the 2nd operation only i think you will get the output.&lt;/P&gt;
&lt;P&gt;What is the post processor you are using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 15:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9164087#M9680</guid>
      <dc:creator>boopathi.sivakumar</dc:creator>
      <dc:date>2019-11-24T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9164103#M9681</link>
      <description>&lt;P&gt;Dear &lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8049428" target="_self"&gt;&lt;SPAN class="login-bold"&gt;boopathi&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;The Setup is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 799px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/701155iB64A564637B28890/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Horizontal Spindle can rotate around Z.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I adjusted the postprocessor according to your comment:&lt;/P&gt;&lt;P&gt;var aAxis = createAxis({coordinate:0, table:false, axis:[0, 0, 1], range:[-360, 360], preference:1});&lt;/P&gt;&lt;P&gt;Attached the postprocessor I use.&amp;nbsp;Its te original EMC pp with the mod in line 196.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The postprocessing of the second operation does not work as well. I guess it is because the post processor does not take into account that the spindle is located horizontally...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how to get this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Timothy&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, 24 Nov 2019 15:28:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9164103#M9681</guid>
      <dc:creator>habermacher</dc:creator>
      <dc:date>2019-11-24T15:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9256028#M9682</link>
      <description>&lt;P&gt;I'm having the same problem, did you ever get an answer for your problem?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:43:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9256028#M9682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-16T21:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9260182#M9683</link>
      <description>&lt;P&gt;For a 90 degree head, you will need to define both an A-axis and a C-axis, so that the head can point along either the X-axis or Y-axis, so the definition of the machine should look like this.&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;  if (true) { // note: setup your machine here
    var aAxis = createAxis({coordinate:1, table:true, axis:[1, 0, 0], range:[-360, 360], preference:1});
    var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360, 360], preference:1});
    machineConfiguration = new MachineConfiguration(aAxis, cAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(0); // TCP mode
  }&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;You will need to disable the output of the rotary axes also.&amp;nbsp; In the &lt;EM&gt;onOpen&lt;/EM&gt; function, make the following changes.&lt;/P&gt;
&lt;PRE&gt; if (&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;true /*&lt;/STRONG&gt;&lt;/FONT&gt;!machineConfiguration.isMachineCoordinate(0)&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;*/&lt;/FONT&gt;&lt;/STRONG&gt;) {&lt;BR /&gt;   aOutput.disable();&lt;BR /&gt; }&lt;BR /&gt; if (&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;true /*&lt;/STRONG&gt;&lt;/FONT&gt;!machineConfiguration.isMachineCoordinate(1)&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;*/&lt;/FONT&gt;&lt;/STRONG&gt;) {&lt;BR /&gt;   bOutput.disable();&lt;BR /&gt; }&lt;BR /&gt; if (&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;true /*&lt;/STRONG&gt;&lt;/FONT&gt;!machineConfiguration.isMachineCoordinate(2)&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;*/&lt;/STRONG&gt;&lt;/FONT&gt;) {&lt;BR /&gt;   cOutput.disable();&lt;BR /&gt; }&lt;/PRE&gt;
&lt;P&gt;Change the following block in &lt;EM&gt;setWorkPlane&lt;/EM&gt; to disable the output of the rotary axes.&lt;/P&gt;
&lt;PRE&gt;  writeBlock(
    gMotionModal.format(0),
    conditional(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;aOutput.isEnabled()&lt;/STRONG&gt;&lt;/FONT&gt;, "A" + abcFormat.format(abc.x)),
    conditional(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;bOutput.isEnabled()&lt;/STRONG&gt;&lt;/FONT&gt;, "B" + abcFormat.format(abc.y)),
    conditional(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;cOutput.isEnabled()&lt;/STRONG&gt;&lt;/FONT&gt;, "C" + abcFormat.format(abc.z))
  );&lt;/PRE&gt;
&lt;P&gt;This should give you the basics for a 90-degree head support.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jan 2020 16:53:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9260182#M9683</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2020-01-19T16:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9262142#M9684</link>
      <description>&lt;P&gt;I understand that we need to make changes in post, but what tool-path do I choose in Inventor?&amp;nbsp; Do I need to choose a multi-axis tool-path (flow, which creates unpredictable results in the simulations) or can I choose a regular 3D or 2D milling tool-path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 16:27:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9262142#M9684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-20T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9264477#M9685</link>
      <description>&lt;P&gt;For an angle head, you would choose a standard 2D operation, just as you normally do, but the tool orientation will need to setup so that the Z-axis points along the axis of the angle head.&amp;nbsp; This lets the post know the orientation of the tool.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3+2.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/719410i127A73FFD959B2CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3+2.png" alt="3+2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:24:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9264477#M9685</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2020-01-21T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9555242#M9686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3704064"&gt;@bob.schultz&lt;/a&gt;&amp;nbsp; , Im having the same issue but im running a Haas NGC post processor.&amp;nbsp; Im trying to use a 90 head but its a manual rotation so no need to spin. Could you help me out with my post processor? i did everything you posted here but when I select that my machine has an A/C axis it just outputs as a 5 axis machine with B/C rotations. But Im trying to run everything in 3 axis. When I turn off the A/C axis when I post, it says tool orientation is not supported. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 16:14:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9555242#M9686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-02T16:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9555774#M9687</link>
      <description>&lt;P&gt;Hello James,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This sounds about right if you did not create a "dummy" machine when you post for an angled head on a 3-axis configuration.&amp;nbsp; Before you modify the post you will need to explain how you are going to use the angled head, is it going to be strictly 3-axis or are you expecting to use it with multi-axis operations also?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that the NGC post is more complicated than the Linux CNC post and will require more changes.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 19:10:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9555774#M9687</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2020-06-02T19:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9555797#M9688</link>
      <description>&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3704064"&gt;@bob.schultz&lt;/a&gt;, I plan on running it just in a 3 axis configuration.&amp;nbsp; We have a few 5 axis machines but only use this tool on our Large 3 Axis Mill where the parts don't fit in the 5 axis.&amp;nbsp; If its easier, I can PM you with all of the details and such.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 19:15:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9555797#M9688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-02T19:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9558169#M9689</link>
      <description>&lt;P&gt;It's fine to PM me with the details.&amp;nbsp; The logic will be similar, but as I mentioned there will be a bit more changes due to the complexity of the Haas NGC post.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 16:25:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9558169#M9689</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2020-06-03T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9833150#M9690</link>
      <description>&lt;P&gt;Hi. Bob!&lt;BR /&gt;I'm having the same issue where I need to operate a right angle head ( manually rotated). The size of the plate will make it impossible for me to present it on the trunnion.&lt;BR /&gt;I have the tool orientated on the Y+ axis.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 19:45:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9833150#M9690</guid>
      <dc:creator>andany22</dc:creator>
      <dc:date>2020-10-29T19:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9839823#M9691</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4165214"&gt;@andany22&lt;/a&gt;&amp;nbsp;are you running a Haas? If so I can send you my post.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 12:40:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9839823#M9691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-02T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9840154#M9692</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Yes please, I'm running Haas.&lt;/P&gt;&lt;P&gt;That would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:50:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9840154#M9692</guid>
      <dc:creator>andany22</dc:creator>
      <dc:date>2020-11-02T14:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9840963#M9693</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for the post but unfortunately we do not have a New Generation Controller yet!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope that our friend&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3704064"&gt;@bob.schultz&lt;/a&gt;&amp;nbsp;is going to make my day a good one!&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you guys for sharing!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 20:16:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9840963#M9693</guid>
      <dc:creator>andany22</dc:creator>
      <dc:date>2020-11-02T20:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9842552#M9694</link>
      <description>&lt;P&gt;I also have a 3-axis CNC router with an additinal spindle 90 degrees to the Z-axis. Could you tell me if I have to use 2D or 3D milling? I'd like to make a hole for a doorlock&amp;nbsp; and I have attached a photo. The tool movement is to the X-axis. Is there a postprocessor which can change X-axis and the Z-axis in the G code. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 13:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/9842552#M9694</guid>
      <dc:creator>mashcomDWK67</dc:creator>
      <dc:date>2020-11-03T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11801893#M9695</link>
      <description>&lt;P&gt;I am wondering if there has been any progress with this as we are in a similar situation.&amp;nbsp; We have a large flatbed CNC router that is equipped with a spindle&amp;nbsp; C axis that allows an aggregate 90 degree head to be rotated so you can machine for instance both sides of a door lying flat on the router table.&amp;nbsp; We are trying to create a post that will allow this.&amp;nbsp; I have learned about the tool orientation and can adjust the tool to approach the part correctly inside Fusion360 and I have a post from another poster here that has been able to make this work. However the manufacturer of our machine has a sample code that outputs C axis positioning IE C0, C90,C180 etc.&amp;nbsp; &amp;nbsp; Apparently the positioning of the C axis is a factor of both the tool setup in the control and the G code.&amp;nbsp; It seems like Fusion360 is equipped to do this I am wondering if anyone has a similar setup working with a spindle C axis and 90 or 180 degree(2 sided aggregate) head.&amp;nbsp; Thank you in advance for any assistance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 16:35:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11801893#M9695</guid>
      <dc:creator>pete</dc:creator>
      <dc:date>2023-03-06T16:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11807079#M9696</link>
      <description>&lt;P&gt;Hello Pete,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have already added angled-head support in your post processor then it is quite simple to get the C-axis angle to be output.&amp;nbsp; You will first need to enable the C-axis output.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;    aOutput.disable();
    bOutput.disable();
    // cOutput.disable(); // &amp;lt;&amp;lt;&amp;lt; COMMENT OUT THE LINE WHERE cOutput IS DISABLED&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the &lt;STRONG&gt;setWorkPlane&lt;/STRONG&gt; function you will need to output the C-axis angle.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;    } else {
      workSide = "XYZ";
      writeBlock(gPlaneModal.format(17));
    }
    writeBlock(cOutput.format(angledHeadAngles.z)); // &amp;lt;&amp;lt;&amp;lt; ADD THIS LINE
    return;
  }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Define the &lt;STRONG&gt;angledHeadAngles&lt;/STRONG&gt; variable that contains the C-axis position.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;var angledHeadAngles = new Vector(0, 0, 0); // &amp;lt;&amp;lt;&amp;lt; ADD THIS LINE
function getWorkPlaneAngledHead(workPlane, _setWorkPlane) {
  var W = currentSection.workPlane;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And finally define the C-axis angle in &lt;STRONG&gt;getWorkPlaneAngledHead&lt;/STRONG&gt;.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;  angledHeadAngles = new Vector(abc); // &amp;lt;&amp;lt;&amp;lt; ADD THIS LINE
  abc = new Vector(W.forward.x, W.forward.y, W.forward.z);
&lt;/LI-CODE&gt;
&lt;P&gt;You should now see the C-axis being output to the NC file.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:30:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11807079#M9696</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2023-03-08T13:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11807150#M9697</link>
      <description>&lt;P&gt;bob.schultz ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I do not currently have a post processor that has angled head support.&amp;nbsp; I am currently trying to modify another posters post called Aggregate.cps that was posted here.&amp;nbsp; He helped me to figure out how to use the tool orientation inside fusion360 to allow the axis pivoting etc.&amp;nbsp; Is there perhaps a better post to start with that includes the angled head support?&amp;nbsp; &amp;nbsp;I am going to attach a sample program that the manufacturer sent us to prove out our coding.&amp;nbsp; It includes the C data as you can see.&amp;nbsp; This is on a 5'x10' flatbed CNC router with a spindle mounted "C" axis that orients the aggregate head for rotation to any degree angle around the Z.&amp;nbsp; &amp;nbsp;I helped create a post processor for Fusion360 to speak to our machines control and we have been using it for 3 axis work and it has been great but now we have need for the aggregate and the ability to machine both sides of large doors sitting flat on the bed of the machine.&amp;nbsp; I will try to digest the coding you show here but I want to start with a post that includes the best setup initially to avoid as much messing around with changes as&amp;nbsp;possible.&amp;nbsp; Here is our current post processor and the sample code that the manufacturer sent us. Any help would be MOST appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:53:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11807150#M9697</guid>
      <dc:creator>pete</dc:creator>
      <dc:date>2023-03-08T13:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: 90 degree spindle, linux cnc, postprocessor for drilling horizontal holes</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11807760#M9698</link>
      <description>&lt;P&gt;I can provide the changes to the Aggregate.cps post processor to get the C-axis to be output with the initial move when an aggregate head is used.&amp;nbsp; I did not do a deep dive into your sample output, so there may be other changes that need to be made to the post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you need to add the following code.&amp;nbsp; It can be placed just above &lt;EM&gt;onSection&lt;/EM&gt;.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var abcFormat = createFormat({decimals:3, forceDecimal:true, scale:DEG});
var cOutput = createVariable({prefix:"C"}, abcFormat);
var pivotLength = 0;
function getWorkPlaneAngledHead() {
  var W = currentSection.workPlane;
  var side;
  var zAxis = W.forward;
  var abc = new Vector(0, 0, W.forward.getXYAngle());
  if (isSameDirection(zAxis, new Vector(0, 0, 1))) {
    side = "+Z";
  } else if (isSameDirection(zAxis, new Vector(-1, 0, 0))) {
    side = "-X";
  } else if (isSameDirection(zAxis, new Vector(1, 0, 0))) {
    side = "+X";
  } else if (isSameDirection(zAxis, new Vector(0, -1, 0))) {
    side = "-Y";
  } else if (isSameDirection(zAxis, new Vector(0, 1, 0))) {
    side = "+Y";
    abc.setZ(toRad(90));
  } else if (isPerpto(zAxis, new Vector(0, 0, 1))) {
    side = "C" + abcFormat.format(abc.z);
  }

  if (side != "+Z") {
    writeComment("Right angle head along " + side);
    setTranslation(Vector.product(abc, pivotLength));
  } else {
    cancelTransformation();
  }
  var tcp = true;
  if (tcp) {
    setRotation(W); // TCP mode
  } else {
    var O = machineConfiguration.getOrientation(abc);
    var R = machineConfiguration.getRemainingOrientation(abc, W);
    setRotation(R);
  }
  return abc;
}

function isPerpto(a, b) {
  return Math.abs(Vector.dot(a, b)) &amp;lt; (1e-7);
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, delete the following code in &lt;EM&gt;onSection&lt;/EM&gt;.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;  writeComment(" Work plane check : Forward is " + remaining.forward);
// DELETE THIS CODE
  if (!isSameDirection(remaining.forward, new Vector(0, 0, -1)) &amp;amp;&amp;amp;
      !isSameDirection(remaining.forward, new Vector(0, 0, 1)) &amp;amp;&amp;amp;
      !isSameDirection(remaining.forward, new Vector(0, -1, 0)) &amp;amp;&amp;amp;
      !isSameDirection(remaining.forward, new Vector(0, 1, 0)) &amp;amp;&amp;amp;
      !isSameDirection(remaining.forward, new Vector(-1, 0, 0)) &amp;amp;&amp;amp;
      !isSameDirection(remaining.forward, new Vector(1, 0, 0))) {
    error(localize("Only XY, XZ and YZ planes allowed for tool orientation."));
    return;
  }
  setRotation(remaining);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And replace it with this.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;  var abc = getWorkPlaneAngledHead();&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally output the C-axis on the initial move.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;    if (!machineConfiguration.isHeadConfiguration()) {
      writeBlock(
        gAbsIncModal.format(90),
        gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), cOutput.format(abc.z) // &amp;lt;&amp;lt;&amp;lt; ADD THE C OUTPUT
      );
      writeBlock(gMotionModal.format(0), zOutput.format(initialPosition.z));
    } else {
      writeBlock(
        gAbsIncModal.format(90),
        gMotionModal.format(0),
        xOutput.format(initialPosition.x),
        yOutput.format(initialPosition.y),
        zOutput.format(initialPosition.z)
      );
    }
  } else {
    writeBlock(
      gAbsIncModal.format(90),
      gMotionModal.format(0),
      xOutput.format(initialPosition.x),
      yOutput.format(initialPosition.y),
      cOutput.format(abc.z) // &amp;lt;&amp;lt;&amp;lt; ADD THE C OUTPUT
    );
  }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 17:11:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/90-degree-spindle-linux-cnc-postprocessor-for-drilling/m-p/11807760#M9698</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2023-03-08T17:11:24Z</dc:date>
    </item>
  </channel>
</rss>

