Sure, no problem.
In my post this section is around line 2462.
All I did was writing a block G5 P0 before compensation left or right, then activating again after compensation is off.
I don´t know if it´s your case, but I found that outputting the whole program with line segments, no G2 or G3, the machine is running faster and smoother. Also no problems with cutcom interference.
Downside is that the program size is huge, but since I´m transferring via Ethernet to machine HDD and running in Tape Mode it´s no problem.
case RADIUS_COMPENSATION_LEFT:
writeBlock("G5 P0")
writeBlock(gMotionModal.format(1), gFormat.format(41), x, y, z, d, f);
break;
case RADIUS_COMPENSATION_RIGHT:
writeBlock("G5 P0")
writeBlock(gMotionModal.format(1), gFormat.format(42), x, y, z, d, f);
break;
default:
writeBlock(gMotionModal.format(1), gFormat.format(40), x, y, z, f);
writeBlock("G5 P2")
}