<?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: Add spaces in Fil macro (text command) in Manufacturing (CAM)</title>
    <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020046#M5667</link>
    <description>&lt;P&gt;It wasn't, obviously!&lt;BR /&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 15:19:56 GMT</pubDate>
    <dc:creator>RJ_FR</dc:creator>
    <dc:date>2025-06-11T15:19:56Z</dc:date>
    <item>
      <title>Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1019752#M5662</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to output my fixture offsets with a fil macro given by&lt;SPAN class=""&gt; &lt;A class="" href="https://community.ptc.com/t5/user/viewprofilepage/user-id/21673" target="_self"&gt;&lt;SPAN class=""&gt;KenFarley&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;on an other topic but when i try :&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;CIMFIL/ON,SET,OFSETL&lt;BR /&gt;OFSTYP=POSTF(6,5)&lt;BR /&gt;OFSREG=POSTF(7,5)&lt;BR /&gt;IF(OFSTYP.EQ.1)THEN&lt;BR /&gt;IF(OFSREG.GE.54.AND.OFSREG.LE.59)THEN&lt;BR /&gt;$$CURREG=OFSREG&lt;BR /&gt;OFSCMD = TEXT/'G90 G',CONVI,OFSREG,2,';'&lt;BR /&gt;INSERT/ OFSCMD&lt;BR /&gt;ENDIF&lt;BR /&gt;ENDIF&lt;BR /&gt;CIMFIL/OFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my machine file i have :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;N0054 ( / SEQUENCE TYPE : PROFILE MILLING);&lt;BR /&gt;&lt;STRONG&gt;N0056G90G55;&lt;/STRONG&gt;&lt;BR /&gt;N0058 G0 Y5.232;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No spaces before G90 and between G90 and G55.&lt;/P&gt;&lt;P&gt;What is the command for output spaces ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 13:16:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1019752#M5662</guid>
      <dc:creator>RJ_FR</dc:creator>
      <dc:date>2025-06-10T13:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1019836#M5663</link>
      <description>&lt;P&gt;When I output text like this to be subsequently output into the code file, I always end the TEXT/ stuff with a&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;, '$'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;which is comma space single quote dollarsign quote&lt;/P&gt;
&lt;P&gt;I think the GPOST interpreter sees that dollarsign as a sort of end-of-line character. It doesn't output it to the file.&lt;/P&gt;
&lt;P&gt;Otherwise, I have noticed some weird stuff with spaces in some of the GPOST results. Seems like it is trying to make the code smaller by removing the spaces. I know they are not necessary, the machine strips them all out when I read the programs into memory, but I like them because they make the code infinitely more readable by us poor humans.&lt;/P&gt;
&lt;P&gt;See if adding the '$' makes things behave. You might even try ending the line with ';$" since you seem to need a semicolon to end your code lines.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 18:50:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1019836#M5663</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2025-06-10T18:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1019891#M5664</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer. This is what i tried :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OFSCMD = TEXT/'G90 G',CONVI,OFSREG,2, ' ; ' , ' $ '&lt;/P&gt;&lt;P&gt;&lt;EM&gt;No changes, the $ is not print&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;EM&gt;N0054 ( / SEQUENCE TYPE : PROFILE MILLING);&lt;BR /&gt;N0056G90G55;&lt;BR /&gt;N0058 G0 Y5.232;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OFSCMD = TEXT/'G90 G',CONVI,OFSREG,2, ' $ '&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;EM&gt;N0054 ( / SEQUENCE TYPE : PROFILE MILLING);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;&lt;EM&gt;N0056G90G55$N0058 G0 Y5.232;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;&lt;EM&gt;N0060 G1 Z-1. F621.;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;OFSCMD = TEXT/'G90 G',CONVI,OFSREG,2, ' ; $ '&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;No changes, the $ is not print&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 04:58:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1019891#M5664</guid>
      <dc:creator>RJ_FR</dc:creator>
      <dc:date>2025-06-11T04:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020010#M5665</link>
      <description>&lt;P&gt;When i pass through a PPRINT commande spaces no longer disappear..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OFSCMD = TEXT/CONVI,OFSREG,2,';$'&lt;BR /&gt;TTT = TEXT/ 'G90 G'&lt;BR /&gt;INSERT/TTT, OFSCMD&lt;BR /&gt;PPRINT/TTT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#3366FF"&gt;N0078 ( / SEQUENCE TYPE : PROFILE MILLING);&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#3366FF"&gt;N0080G90G56;&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#3366FF"&gt;N0082 (G90 G);&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#3366FF"&gt;N0084 G0 Y5.232;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 14:08:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020010#M5665</guid>
      <dc:creator>RJ_FR</dc:creator>
      <dc:date>2025-06-11T14:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020045#M5666</link>
      <description>&lt;P&gt;Here's a thing that you should check that might be doing this nonsense:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Tools-&amp;gt;NC Post Processor&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Pick the option file for the machine you're trying to fix up.&lt;/P&gt;
&lt;P&gt;Click on &lt;EM&gt;&lt;STRONG&gt;Operator Messages&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Make sure &lt;EM&gt;&lt;STRONG&gt;Retain spaces in INSERT statements&lt;/STRONG&gt;&lt;/EM&gt; is checked.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:03:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020045#M5666</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2025-06-11T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020046#M5667</link>
      <description>&lt;P&gt;It wasn't, obviously!&lt;BR /&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:19:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020046#M5667</guid>
      <dc:creator>RJ_FR</dc:creator>
      <dc:date>2025-06-11T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020052#M5668</link>
      <description>&lt;P&gt;Yeah, I'm not a big fan of the Options Editor. It's kind of like being an archeologist sifting through a bunch of stuff to find the one thing I want. Guessing what it's categorized as, then flipping through the different tabs, etc.&lt;/P&gt;
&lt;P&gt;Good to know that was it, though. I must have set that years and years ago.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:55:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1020052#M5668</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2025-06-11T15:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1039858#M5739</link>
      <description>&lt;DIV&gt;ITSBIT 1869 Controls blank spaces in INSERT statements.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Default= 00 - Suppress blanks from INSERT statement.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Range= 00 - Suppress blanks from INSERT statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;01 - Allow blanks from INSERT statement to be output.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Oct 2025 21:12:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1039858#M5739</guid>
      <dc:creator>BF_14259101</dc:creator>
      <dc:date>2025-10-23T21:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1039919#M5742</link>
      <description>&lt;P&gt;Where is this? In options editor? Obscure FIL code?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 10:30:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1039919#M5742</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2025-10-24T10:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1040000#M5743</link>
      <description>&lt;P&gt;It's in the&amp;nbsp;MillCom.txt file.&amp;nbsp; On my computer it is stored in&amp;nbsp;C:\anc\camsys\ncjlibs\com\austinnc\documents\MillCom.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When building posts, I just open options file in text editor and directly change the values, so I pretty much always have this text file open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like to default set INTCOM(1869) to 1 in options file (add blanks to insert statements) then turn this off as needed in FIL.&amp;nbsp; For example (part of my FIL which handles automatic clamping)&amp;nbsp; P.S.&amp;nbsp; I hate how this forum removes the tab/space formatting making this code look really ugly...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;IF(AUTCLM .EQ. 1)THEN&lt;BR /&gt;XX=POSTF(2,1,1869,0) $$SUPPRESS BLANKS&lt;BR /&gt;IF(CURA .NE. LASTA) THEN&lt;BR /&gt;IF(ACLMP .NE. AXCLOF)INSERT/'M',AXCLOF,'$'&lt;BR /&gt;ACLMP=AXCLOF&lt;BR /&gt;ELSEIF(CURA .EQ. LASTA) THEN&lt;BR /&gt;IF(ACLMP .NE. AXCLON)INSERT/'M',AXCLON,'$'&lt;BR /&gt;ACLMP=AXCLON&lt;BR /&gt;ENDIF&lt;BR /&gt;IF(CURB .NE. LASTB) THEN&lt;BR /&gt;IF(BCLMP .NE. BXCLOF)INSERT/'M',BXCLOF,'$'&lt;BR /&gt;BCLMP=BXCLOF&lt;BR /&gt;ELSEIF(CURB .EQ. LASTB) THEN&lt;BR /&gt;IF(BCLMP .NE. BXCLON)INSERT/'M',BXCLON,'$'&lt;BR /&gt;BCLMP=BXCLON&lt;BR /&gt;ENDIF&lt;BR /&gt;XX=POSTF(2,1,1869,1) $$UNSUPPRESS BLANKS&lt;BR /&gt;ENDIF&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 16:22:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1040000#M5743</guid>
      <dc:creator>BF_14259101</dc:creator>
      <dc:date>2025-10-24T16:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add spaces in Fil macro (text command)</title>
      <link>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1040039#M5744</link>
      <description>&lt;P&gt;If you want to post code and have it retain its "proper" formatting, you should just use the "&amp;lt;/&amp;gt;" or "Insert/Edit Code Sample" to put it in its own little box. That tool uses a monospaced font so code that is indented looks good.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 18:44:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Manufacturing-CAM/Add-spaces-in-Fil-macro-text-command/m-p/1040039#M5744</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2025-10-25T18:44:45Z</dc:date>
    </item>
  </channel>
</rss>

