|
Hello again!
It may be I was wrong talking about a bug in the comment parsing.
When I tested it, I deleted the complete comment line and the G code worked after this.
I think the real Problem are the nested "()" in the comment. And this are due to an error of the post processor from Brian Right, which I use (after some modifications) for Fusion 360 (see http://www.brainright.com/Projects/CNCController/DDCSV11.cps).
There the function "writeComment" is coded as
function writeComment(text) {
text = text.replace('(', '[').replace(')', ']');
writeln("(" + text + ")");
}
This code replaces only the first "(" and ")" in a comment, others are untouched.
I changed it to
function writeComment(text) {
text = text.replace(/\(/g," ").replace(/\)/g," ");
writeln("(" + text + ")");
}
using the global replacement of the JS-replace function. To be on the save side, I replaced the brackets with a space, not with "[" and "]".
Those, who use Brians Post Processor should change it...
Josef
|
|