GRBL Plasma w THC, Torch Touchoff, and Rotary

Update and Replacement Post Processor-
I am discontinuing work and maintenance on the previous pps in this thread. I’m switching to use of a new pp forked from this one-

The new pp control logic is easier to read/follow, it provides for easy extensions of new or changed custom options, and it support G93 Inverse Time feedrate mode (most desirable for rotary jobs). Otherwise, it is functionally equivalent to the last version of the previous pp in this thread.

Please advise if you find issues. Thanks.
Lou

begins with “V5.5 test”
GRBL plasma-marker-flatsheet-rotary.scpost (42.3 KB)

“V5.6 test” - compatible with Sheetcam V7.0.21 and V7.1.40 when using ‘Set Variable Operation’ with a boolean variable.
GRBL plasma-marker-flatsheet-rotary.scpost (42.8 KB)

update: V5.9, fixed OnDrill(), via correct currentX and Y when rotaryPlasma plugin is disabled.
GRBL plasma-marker-flatsheet-rotary.scpost (43.2 KB)

update v5.11, fixed to be compatible with v7.0.21 ‘Set PP Variable Operations’.
GRBL plasma-marker-flatsheet-rotary.scpost (44.1 KB)

update v5.13, changed the torch probe distance to be 16mm longer to account for cases when sheet metal warps due to stress relief and/or heat build up.
GRBL plasma-marker-flatsheet-rotary v5-13.scpost (44.3 KB)