You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gcode postprocessors prepend comment to change tool command in form (tool change to <tool name> (<tool type>) )
see nested parenthesis!
But according to infos found in net (for ex. cnczone.com)
Printable characters and white space inside parentheses is a comment. A left parenthesis always starts a comment. The comment ends at the first right parenthesis found thereafter.
Once a left parenthesis is placed on a line, a matching right parenthesis must appear before the end of the line. [multiline comments of type 'just a pair of brackets for all lines' aren't allowed]
Comments may not be nested; it is an error if a left parenthesis is found after the start of a comment and before the end of the comment.
(note and emphasis mine)
Not tried on my CNC mill yet, but simulator CAMotics refuse load that Gcode with errormsg
ERROR: Invalid character: ')'
ERROR: At: <gcode filename> <line>:<location of second right parenthesis>
Consistent with the cnczone comment, CAMotics parser closes comment at first occurrence of right parenthesis and a second one is considered as invalid character.
Q&D workaround: open gcode file with text editor and cancel guilty parenthesis ;)
Doing so every time is boring, so I suggest change comment form to
(tool change to <tool name> - <tool type>)
Just my 5 cents.
The text was updated successfully, but these errors were encountered:
Gcode postprocessors prepend comment to change tool command in form
(tool change to <tool name> (<tool type>) )
see nested parenthesis!
But according to infos found in net (for ex. cnczone.com)
(note and emphasis mine)
Not tried on my CNC mill yet, but simulator CAMotics refuse load that Gcode with errormsg
Consistent with the cnczone comment, CAMotics parser closes comment at first occurrence of right parenthesis and a second one is considered as invalid character.
Q&D workaround: open gcode file with text editor and cancel guilty parenthesis ;)
Doing so every time is boring, so I suggest change comment form to
(tool change to <tool name> - <tool type>)
Just my 5 cents.
The text was updated successfully, but these errors were encountered: