I am getting an apparent strange order of gcode commands from my PP. It apparently has to do with the order the OnPenUp and OnNewOperation functions are evaluated. On the first operation in a file it appears to be the way I would expect it but not on subsequent ones. Please see the attached code snippet:
I would expect the new operation message to be posted after the o<endcut> call (after the OnPenUp function). What should be happening here? Please find attached the text of the PP I am trying to use. This is a work in progress and not for production use.
If the first cut of a new operation starts at the end of the previous cut or you have a chaining move SheetCam won't lift the cutter. It can only work this out after the opertion has started which is why you get new operation before it lifts the cutter.