<?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: Configure 4 axis head to cut Pocket2d with 45deg Tool Orientation in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9281094#M9084</link>
    <description>&lt;P&gt;I solved this in onSection() using ...&lt;/P&gt;&lt;PRE&gt;var w = currentSection.workPlane;&lt;BR /&gt;setRotation(w);&lt;/PRE&gt;&lt;P&gt;And in case it helps someone else, for the Biesse you can express C, AR, and AZ like...&lt;/P&gt;&lt;PRE&gt;forceABC();
var v = w.getTurnAndTilt(Z, X);
writeBlock('G0', cOutput.format(v.z), arOutput.format(v.z), azOutput.format(v.x));&lt;/PRE&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2020 01:00:41 GMT</pubDate>
    <dc:creator>markER7TS</dc:creator>
    <dc:date>2020-01-29T01:00:41Z</dc:date>
    <item>
      <title>Configure 4 axis head to cut Pocket2d with 45deg Tool Orientation</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9280500#M9083</link>
      <description>&lt;P&gt;We have an older Biesse Rover with a C-Axis, equipped with a fixed inclinable aggregate set to 45 degrees.&amp;nbsp; In Inventor, we've drawn a 3/4" thick panel and put a 3/4" chamfer along the edge at X=0 using the Pocket2D strategy, and to achieve this, we've set the Tool Orientation.&amp;nbsp; This works nicely, and in simulation the tool is at the correct angle.&amp;nbsp; Everything looks great.&lt;BR /&gt;&lt;BR /&gt;Where I am stuck in the post is that I am getting incorrect results for my X and Z in the onLinear() entry function.&amp;nbsp; It appears that the Inventor Tool Orientation is implemented in the post by tilting the workPlane, which equals [[0.7071, 0, -0.7071], [0, 1, 0], [0.7071, 0, 0.7071]], and that makes sense, because I have tilted the tool in X and Z, but in onLinear(), for instance, Z goes to zero and stays there.&amp;nbsp; But I need Z to increase as X increases to affect my 45 degree slope.&lt;BR /&gt;&lt;BR /&gt;I feel like I need to transform the points in onLinear() in the inverse direction of the tilt of the workPlane, and so I have tried this (and many other things) ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function onLinear(x, y, z, feed) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // simplified&lt;/P&gt;&lt;P&gt;&amp;nbsp; // get the work plane&lt;BR /&gt;&amp;nbsp; var w = currentSection.workPlane;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // get workplane inverse and multiply by my point&lt;BR /&gt;&amp;nbsp; var v = w.getTransposed().multiply(new Vector(x, y, z));&lt;/P&gt;&lt;P&gt;&amp;nbsp; // resulting vector does not yield the points I need&lt;/P&gt;&lt;P&gt;&amp;nbsp; writeBlock('testing', v);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... but I am well and truly stumped.&amp;nbsp; If anyone can offer some insight into how to approach this problem, it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 19:17:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9280500#M9083</guid>
      <dc:creator>markER7TS</dc:creator>
      <dc:date>2020-01-28T19:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 4 axis head to cut Pocket2d with 45deg Tool Orientation</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9281094#M9084</link>
      <description>&lt;P&gt;I solved this in onSection() using ...&lt;/P&gt;&lt;PRE&gt;var w = currentSection.workPlane;&lt;BR /&gt;setRotation(w);&lt;/PRE&gt;&lt;P&gt;And in case it helps someone else, for the Biesse you can express C, AR, and AZ like...&lt;/P&gt;&lt;PRE&gt;forceABC();
var v = w.getTurnAndTilt(Z, X);
writeBlock('G0', cOutput.format(v.z), arOutput.format(v.z), azOutput.format(v.x));&lt;/PRE&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 01:00:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9281094#M9084</guid>
      <dc:creator>markER7TS</dc:creator>
      <dc:date>2020-01-29T01:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 4 axis head to cut Pocket2d with 45deg Tool Orientation</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9289707#M9085</link>
      <description>&lt;P&gt;Hello Mark,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am curious, what post are you using for your Biesse?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 23:41:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9289707#M9085</guid>
      <dc:creator>bob.schultz</dc:creator>
      <dc:date>2020-01-31T23:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configure 4 axis head to cut Pocket2d with 45deg Tool Orientation</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9289839#M9086</link>
      <description>&lt;P&gt;Hi Bob,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Thanks for your interest.&amp;nbsp; I've written a post pretty much from scratch.&amp;nbsp; We have a couple of older machines, both Biesse NC 1000, and we couldn't find anything 'off the shelf.'&amp;nbsp; I just keep adding capabilities as the need arises.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; All the best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Mark&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 02:21:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/configure-4-axis-head-to-cut-pocket2d-with-45deg-tool/m-p/9289839#M9086</guid>
      <dc:creator>markER7TS</dc:creator>
      <dc:date>2020-02-01T02:21:08Z</dc:date>
    </item>
  </channel>
</rss>

