Is there a way to change from X negative to X positive without placing the tool on the opposite side of the part?
Is there a way to change from X negative to X positive without placing the tool on the opposite side of the part?
You can multiply xpos by -1 before the output. For example:
xpos=-1*xpos
{nb, 'X'xpos}
Be sure to check that it won't cause an accident before sending it to the machine!!!!
anzory, Thanks for that.
Do I add this to the GPP or Find it in the GPP and modify it ?
Yes, it can be done. But I cannot guarantee that you will get a valid gcode. How will the arcs be built in this case? Chamfers? I can't predict that.
You'll have to check it yourself before you load it on the machine.
To edit a post, use this: https://bit.ly/3fqkPD8
I believe that will not work well even without arcs and such.
You will end up getting a new X on every single line. Even if Modal and same number. As the check if it's the same will see a negative currently, and a positive incoming, so thinks it needs to state it again.
Unless you see a way around that?