<?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 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/215131#M3835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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; &lt;STRONG&gt;$$-&amp;gt; CUTTER / 10.000000&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;There is an&lt;A href="https://support.ptc.com/apps/solution_preview/solution/lang/presolution?lang=en&amp;amp;n=CS212554" target="_blank"&gt; Article CS212554&lt;/A&gt;, but I have no access to eSupport yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;H3&gt;Document Details&lt;/H3&gt;&lt;TABLE border="1px" class="tablexxx boundedTop alignTop indent20" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;Title&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt; How to output CUTTER command to the CL-file in Creo Parametric, without the comment marking ($$) in front of it &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;Description&lt;/TD&gt;&lt;TD class="fluidcell" style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;&lt;UL&gt;&lt;LI&gt;Is there a setting that allows to output the cutter diameter to the *.ncl file as a command instead of a comment&lt;/LI&gt;&lt;LI&gt;How to get a real CUTTER command in the CL-file, i.e. without the comment marking ($$) in front of it? &lt;/LI&gt;&lt;LI&gt;The line &lt;STRONG&gt;$$-&amp;gt; CUTTER / 10.000000&lt;/STRONG&gt; follows the LOADTL command in CLDATA&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;Applies To&lt;/TD&gt;&lt;TD class="fluidcell" style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;&lt;UL&gt;&lt;LI&gt;Creo Parametric all versions&lt;/LI&gt;&lt;LI&gt;Pro/MANUFACTURING&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;Cause&lt;/TD&gt;&lt;TD class="fluidcell" rowspan="2" style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;&lt;H3&gt;Where is the rest of the document?&lt;/H3&gt;&lt;P&gt;This is a partial view of the Article. &lt;A&gt;Click for full details on Article CS212554&lt;/A&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial,helvetica,sans-serif; vertical-align: baseline;"&gt;Resolution&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anybody able tell me solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 23:58:28 GMT</pubDate>
    <dc:creator>nazar_ko</dc:creator>
    <dc:date>2018-05-02T23:58:28Z</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>

