<?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: How do I get an orientation in a defined angle around the tool axis? in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867323#M15126</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3491741"&gt;@denis_q&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Given: a machine with heidenhain TNC640 control. (machineConfiguration is defined in postprocessor and 'properties.usePlane' is 'true')&lt;/P&gt;
&lt;P&gt;Given: a pocket which edges aren't parallel to machine axis.&lt;/P&gt;
&lt;P&gt;Wanted: measure length and width of pocket with cycle 425 (implemented in custom post processor)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;problem: 425 works only axis parallel whereas pocket's edges aren't&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;approach: Using PLANE SPATIAL SPA+AAA SPB+BBB SPC+CCC to orientate workplane in such&lt;/P&gt;
&lt;P&gt;way that pocket edges are axis parallel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;problem: 1. in a HSMWorks workplane definition (geometry tab in an operation) you can't (directly) specify the direction of x and y&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;axis in tilted workplane&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. PLANE SPATIAL only get's angle around ToolAxis if it's a pure3D operation (zOriented)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope thats better&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Laurens&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Aaah,&lt;/P&gt;
&lt;P&gt;I think I'm getting it now.&lt;/P&gt;
&lt;P&gt;So you would want an output like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PLANE SPATIAL SPA+90 SPB+45 SPC+33&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Instead of what it does now&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PLANE SPATIAL SPA+90 SPB+00 SPC+33&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because the post only makes sure the tool angle is correct but doesn't care about the&amp;nbsp;other rotations in the machine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm not actually sure if&amp;nbsp;PLANE SPATIAL SPA+90 SPB+45 SPC+33&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;would work in the machine, but I like the idea.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let's see if we can get&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1642298"&gt;@AchimN&lt;/a&gt;&amp;nbsp;to help out with this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because before plane spatial I don't think there were machine's that would allow for such a rotation that is outside of the actual machine's rotations but can be done partially virtual.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 08:29:39 GMT</pubDate>
    <dc:creator>Laurens-3DTechDraw</dc:creator>
    <dc:date>2018-03-20T08:29:39Z</dc:date>
    <item>
      <title>How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7863880#M15123</link>
      <description>&lt;P&gt;We've implemented measuring cycles for heidenhain in our post processor.&lt;/P&gt;&lt;P&gt;Unfortunately, some of them only work axis parallel. (e.g. cycle 408)&lt;/P&gt;&lt;P&gt;So i came to following idea:&lt;/P&gt;&lt;P&gt;&amp;nbsp;selecting 2 edges of the pocket to define x and y axis.&lt;/P&gt;&lt;P&gt;But unfortunately its not that intuitive: seems as&amp;nbsp;&lt;/P&gt;&lt;P&gt;coordinate system displayed by HSMWorks describes an offset to the&lt;/P&gt;&lt;P&gt;wcs from job definition. So you have to do some magic (see attached picture).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the operation is indexed it seems there's no chance to tackle this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the&amp;nbsp;plane function only uses 2 angles&lt;/P&gt;&lt;P&gt;and third angle is given to setrotation!?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forgive me if I write nonsense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 06:27:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7863880#M15123</guid>
      <dc:creator>denis_q</dc:creator>
      <dc:date>2018-03-19T06:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7863999#M15124</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3491741"&gt;@denis_q&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;We've implemented measuring cycles for heidenhain in our post processor.&lt;/P&gt;
&lt;P&gt;Unfortunately, some of them only work axis parallel. (e.g. cycle 408)&lt;/P&gt;
&lt;P&gt;So i came to following idea:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;selecting 2 edges of the pocket to define x and y axis.&lt;/P&gt;
&lt;P&gt;But unfortunately its not that intuitive: seems as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;coordinate system displayed by HSMWorks describes an offset to the&lt;/P&gt;
&lt;P&gt;wcs from job definition. So you have to do some magic (see attached picture).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the operation is indexed it seems there's no chance to tackle this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because the&amp;nbsp;plane function only uses 2 angles&lt;/P&gt;
&lt;P&gt;and third angle is given to setrotation!?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Forgive me if I write nonsense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I literally don't understand what you are trying to solve.&lt;/P&gt;
&lt;P&gt;I do know that you cannot have a rotation angle in the control when you also use Plane Spatial or Cycle 19.0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try and explain exactly what you tried and why that didn't work at the machine?&lt;/P&gt;
&lt;P&gt;And also what you are trying to do?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 07:21:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7863999#M15124</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2018-03-19T07:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7864172#M15125</link>
      <description>&lt;P&gt;Given: a machine with heidenhain TNC640 control. (machineConfiguration is defined in postprocessor and 'properties.usePlane' is 'true')&lt;/P&gt;&lt;P&gt;Given: a pocket which edges aren't parallel to machine axis.&lt;/P&gt;&lt;P&gt;Wanted: measure length and width of pocket with cycle 425 (implemented in custom post processor)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;problem: 425 works only axis parallel whereas pocket's edges aren't&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;approach: Using PLANE SPATIAL SPA+AAA SPB+BBB SPC+CCC to orientate workplane in such&lt;/P&gt;&lt;P&gt;way that pocket edges are axis parallel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;problem: 1. in a HSMWorks workplane definition (geometry tab in an operation) you can't (directly) specify the direction of x and y&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;axis in tilted workplane&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. PLANE SPATIAL only get's angle around ToolAxis if it's a pure3D operation (zOriented)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope thats better&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Laurens&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 08:56:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7864172#M15125</guid>
      <dc:creator>denis_q</dc:creator>
      <dc:date>2018-03-19T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867323#M15126</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3491741"&gt;@denis_q&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Given: a machine with heidenhain TNC640 control. (machineConfiguration is defined in postprocessor and 'properties.usePlane' is 'true')&lt;/P&gt;
&lt;P&gt;Given: a pocket which edges aren't parallel to machine axis.&lt;/P&gt;
&lt;P&gt;Wanted: measure length and width of pocket with cycle 425 (implemented in custom post processor)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;problem: 425 works only axis parallel whereas pocket's edges aren't&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;approach: Using PLANE SPATIAL SPA+AAA SPB+BBB SPC+CCC to orientate workplane in such&lt;/P&gt;
&lt;P&gt;way that pocket edges are axis parallel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;problem: 1. in a HSMWorks workplane definition (geometry tab in an operation) you can't (directly) specify the direction of x and y&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;axis in tilted workplane&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. PLANE SPATIAL only get's angle around ToolAxis if it's a pure3D operation (zOriented)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope thats better&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Laurens&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Aaah,&lt;/P&gt;
&lt;P&gt;I think I'm getting it now.&lt;/P&gt;
&lt;P&gt;So you would want an output like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PLANE SPATIAL SPA+90 SPB+45 SPC+33&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Instead of what it does now&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PLANE SPATIAL SPA+90 SPB+00 SPC+33&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because the post only makes sure the tool angle is correct but doesn't care about the&amp;nbsp;other rotations in the machine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm not actually sure if&amp;nbsp;PLANE SPATIAL SPA+90 SPB+45 SPC+33&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;would work in the machine, but I like the idea.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let's see if we can get&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1642298"&gt;@AchimN&lt;/a&gt;&amp;nbsp;to help out with this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because before plane spatial I don't think there were machine's that would allow for such a rotation that is outside of the actual machine's rotations but can be done partially virtual.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 08:29:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867323#M15126</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2018-03-20T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867377#M15127</link>
      <description>&lt;P&gt;Exactly, tested it already - works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 08:52:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867377#M15127</guid>
      <dc:creator>denis_q</dc:creator>
      <dc:date>2018-03-20T08:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867425#M15128</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3491741"&gt;@denis_q&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Exactly, tested it already - works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Wouldn't you get the output you want if you don't define your machine and use Cycle 19.0 instead of plane in the post processor?&lt;/P&gt;
&lt;P&gt;Because it would give you Euler angles I think, which would do the trick I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As in in plane with machine configuration defined I get this:&lt;/P&gt;
&lt;PRE&gt;21 PLANE SPATIAL SPA-90 SPB+0 SPC-89.97315 TURN FMAX SEQ- TABLE ROT&lt;/PRE&gt;
&lt;P&gt;With no machine configuration defined and usePlane set to false I get this:&lt;/P&gt;
&lt;PRE&gt;21 CYCL DEF 19.0 WORKING PLANE
22 CYCL DEF 19.1 A-90 B+15.70991 C-89.97315&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The more I think about this is the easier you are actually making it on the post.&lt;/P&gt;
&lt;P&gt;Because it wouldn't need to do any rotations. So this shouldn't be all too complicated if we figure out if the above works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 09:19:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867425#M15128</guid>
      <dc:creator>Laurens-3DTechDraw</dc:creator>
      <dc:date>2018-03-20T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867592#M15129</link>
      <description>&lt;P&gt;Thats it. Solves both problems. I will test it in the night shift.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 10:05:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7867592#M15129</guid>
      <dc:creator>denis_q</dc:creator>
      <dc:date>2018-03-20T10:05:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: How do I get an orientation in a defined angle around the tool axis?</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7870432#M15130</link>
      <description>&lt;P&gt;Works like a charm. Marvellous. ;-)))))&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 05:41:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-get-an-orientation-in-a-defined-angle-around-the-tool/m-p/7870432#M15130</guid>
      <dc:creator>denis_q</dc:creator>
      <dc:date>2018-03-21T05:41:21Z</dc:date>
    </item>
  </channel>
</rss>

