<?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 to output CUTTER command to the CL-file in Manufacturing (CAM)</title>
    <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215133#M3837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2017 16:53:54 GMT</pubDate>
    <dc:creator>nazar_ko</dc:creator>
    <dc:date>2017-02-03T16:53:54Z</dc:date>
    <item>
      <title>How to output CUTTER command to the CL-file</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215131#M3835</link>
      <description>Hi,I need to get the cutter diameter in the g-post. I see the CUTTER command in CL-file but it is commented like&amp;nbsp; $$-&amp;gt; CUTTER / 10.000000.There is an Article CS212554, but I have no access to eSupport yet.&amp;nbsp;&amp;nbsp; Document DetailsTitle How to output CUTTER command to the CL-file in Creo</description>
      <pubDate>Wed, 02 May 2018 23:58:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215131#M3835</guid>
      <dc:creator>nazar_ko</dc:creator>
      <dc:date>2018-05-02T23:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to output CUTTER command to the CL-file</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215132#M3836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When G-Post processes the NCL file it converts all lines that start with $$ into REMARK commands.&amp;nbsp; So the $$ -&amp;gt; CUTTER / 10.00000,&amp;nbsp; etc.&amp;nbsp; gets changed to REMARK-&amp;gt; CUTTER / 10.00000.&amp;nbsp; You can capture the REMARK statements in the FIL file and identify the CUTTER data, then extract the cutter diameter.&amp;nbsp; It will be text so if you need it as a real number (scalar) you can convert it.&amp;nbsp; Here is some sample FIL code you can add to your existing FIL file that will do this:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIMFIL/ON,REMARK&lt;/P&gt;&lt;P&gt;&amp;nbsp; REMTXT=TEXT/CLW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $$ GET THE REMARK TEXT STRING&lt;/P&gt;&lt;P&gt;&amp;nbsp; REMTXT=TEXT/OMIT,REMTXT,1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $$ REMOVE THE TRAILING BLANK SPACES&lt;/P&gt;&lt;P&gt;&amp;nbsp; CUTF=INDXF(REMTXT,(TEXT/'CUTTER / '))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $$ LOOK FOR THE "CUTTER / " STRING&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(CUTF .GT. 0)THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NCH=CANF(REMTXT,1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $$ GET THE NUMBER OF CHARACTERS LEFT IN THE STRING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CDTXT=TEXT/RANGE,REMTXT,14,NCH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $$ PARSE OUT THE CUTTER DIAMETER VALUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CD=SCALF(CDTXT)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $$ CONVERT THE TEXT INTO A SCALAR&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;CIMFIL/OFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred Nemecek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 15:10:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215132#M3836</guid>
      <dc:creator>AustinN.C.,Inc.</dc:creator>
      <dc:date>2017-02-03T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to output CUTTER command to the CL-file</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215133#M3837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 16:53:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215133#M3837</guid>
      <dc:creator>nazar_ko</dc:creator>
      <dc:date>2017-02-03T16:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to output CUTTER command to the CL-file</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215134#M3838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had an inquiry back in 2013 that may be related. Here's a link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ptcusercommunity.com/message/194215"&gt;Tool comments - can I extract them from the .ncl File&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kinda ended up answering my own question, but it wasn't a quick answer. I also included my code snippets if you're looking for them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 18:39:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/How-to-output-CUTTER-command-to-the-CL-file/m-p/215134#M3838</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2017-02-03T18:39:57Z</dc:date>
    </item>
  </channel>
</rss>

