On Wed, Feb 7, 2024 at 06:12 AM, Martin Connelly wrote:
I have been thinking a little bit more on this. It occurred to me that you may be better just reading the Z axis DRO into two variables and using the difference between those two values to calculate the angle. That way you would not loose your Z axis setting. Like this:
thank you Martin for this reflection,
I will test all this by replacing the Z with the Y
I will keep you informed of my tests
Note, if you get a negative value for the angle when you want it to be positive then use Zdifference = Zdro1-Zdro2
it all depends on how the piece is fixed on the table