Plasma Rotary Swapped Axis post problem

There seems to be a problem with the Plasma Rotary Swapped Axis post, as it creates a really funny toolpath, and the regular one seems like it might be ok. This is just a fun little test file for the rotary axis. I will attach some pics if it works. Im trying to get the rotary axis working right.

What it posts

It seems to work ok with the regular post, (not swapped axis), but then if i edit the Gcode, and replace all the X with Y, and Y with X, it seems to get all goofy also, maybe not the same, but similar. Did I break it :slight_smile:

Oops, my bad. Edit the post and look for function OnArc. Look for this code:

   if&#40;arcAngle <0&#41; then
      post.ModalText &#40;" G03"&#41;
   else
      post.ModalText &#40;" G02"&#41;
   end

and change it to

   if&#40;arcAngle <0&#41; then
      post.ModalText &#40;" G02"&#41;
   else
      post.ModalText &#40;" G03"&#41;
   end

Excellent problem solved.