Hi @Anonymous
Thanks for raising your concern via Forum.
Open post file in a 'Visual Studio Code' or 'Notepad++' to do the required modifications.
1. Got to line number 852 and 873 , remove ' /* ' and ' */ ' from these lines.
// wcs
if (insertToolCall) { // force work offset when changing tool
currentWorkOffset = undefined;
}
var workOffset = currentSection.workOffset;
if (workOffset == 0) {
warningOnce(localize("Work offset has not been specified. Using G54 as WCS."), WARNING_WORK_OFFSET);
workOffset = 1;
}
if (workOffset > 0) {
if (workOffset > 6) {
error(localize("Work offset out of range."));
return;
} else {
if (workOffset != currentWorkOffset) {
writeBlock(gFormat.format(53 + workOffset)); // G54->G59
currentWorkOffset = workOffset;
}
}
}
Save the file and check the output.
Regards
Arun.RS
Technical Consultant - Post Processor