Page 1 of 1

post processor putting out bracket

Posted: Tue Aug 25, 2015 11:03 am
by bludin
does anybody know how to get the post processor to put out brackets (i.e. [ and ] )?

Re: post processor putting out bracket

Posted: Fri Aug 28, 2015 8:50 am
by MecSoft Support
You can set this under comment start char and end char and select output comments under the General section of your post processor. This would output the brackets for comments in the posted code.
Comment_Start_End_Char.PNG
Comment_Start_End_Char.PNG (2.09 KiB) Viewed 8760 times
The posted code would show these brackets when comments are output.
For example:
%
N1 G40 G49 G80 G98
[Setup 1]
[2 1/2 Axis Profiling]
N2 G20 G90

Re: post processor putting out bracket

Posted: Thu Oct 01, 2015 4:24 am
by bludin
Thanks for your help. Unfortunately, this work correctly for comments but not for code because the post processor will put out the first variable that follows a left bracket as literal instead of value of the variable.