Work with probe
I believe you didn't understand very well what the problem is .
There are only 3 axis!
You have a probe action to probe for a rotation of the workpiece (not an axis)
And the auto-rotate button. When the auto-rotate button is ON , than you say that any other probing action would be done in the rotated coordinate system. But that is not working in your program. We are still working here in an XY plane so no rotational axis anywhere.
The auto rotate button is not working.
If you think that you can put the material rotated at any angle on the XY plane and have the sensor find the edges and then adjust the gcode to follow that angle, that can not be done without some major upgrades to your mill.
If that is what you are after, there is something that does that but for the Z axis only, used for 3d printers due to bed levelling issues .
If that is not what you are after, you will have to do a better explanation, because that is how it is coming through.
There were a lot of useful edits to version 2 for coordinate system rotation, so I would recommend using version 2.
This is not quite true. When the auto-rotate button is ON , then after measurement using one of the rotation buttons the coordinate system will automatically rotate by the measured angle and any other probing action would be done in the rotated coordinate system. When the auto-rotate button is OFF , then after measurement using one of the rotation buttons you get the value of the angle without rotating the coordinate system.
When the auto-rotate button is ON , than you say that any other probing action would be done in the rotated coordinate system.
You can also rotate the coordinate system at an arbitrary angle manually - type an angle in the Angle field and click the button on the right to approve.
I do have 1 important more question though as it remains unclear to me on this point:
When the auto-rotate button is ON , then after measurement using one of the rotation buttons the coordinate system will automatically rotate by the measured angle and any other probing action would be done in the rotated coordinate system
I understand the part about the automatically rotate by the measured angle when auto rotate is on.
You say: " any other probing action would be done in the rotated coordinate system.". This should mean that X and Y movemrnts should no longer be horizontal and vertical but moving under the measured angle.
when I use your probing now X and Y movements still act as if the working plane has not rotated and give me a wrong corner point.
Cause that is where my problem lays. Imagine you put a square workpiece on the table and it is under an angle of 12 degree and you need to set the XY 0 point exactly in a corner of the workpiece. As it is under an angle it is than you need a probe to find out the perfect corner. Your probe screen would be perfect it the probing action for finding a corner would follow the rotation angle. So you can easily find the exact corner point of the workpiece.
I specifically installed your probe screen because I thought that when a workpiece is rotated your probe actions were able to probe for a corner point when a workpiece is rotated because that is very difficult to do without probe. If a workpiece is perfect aligned with an X or Y axis you don't need a probe to find a corner. This action of probing in a rotation angle is enormously useful. Cause you no longer have to align anything with one axis to work. You probe, find the corner point and run the gcode while the rotation is set to ON so the coordinate system is rotated.
I hope you understand what I mean. If not I will have to post a video to show the problem.
Your probe screen is golden but if probing under an angle is not possible. The use is very limited. If that is possible, this should be standard included in any linuxcnc distribution.
I got the screen to come up. But it seems oddly out of proportion.
Also would there be a way to integrate this into Probe screen.. forum.linuxcnc.org/40-subroutines-and-ng...ration-renishaw-mp12
I think this is almost a must. Considering it compensates for the switch in the probe itself. I wish I was able to take the Renshaw macros I have work and just convert them. But unfortunately they're incredibly long and complex
any and all help welcomed