A few issues with the qtdragon (Linuxcnc 2.9)

More
29 Sep 2022 02:17 #252979 by Eyecon
thanks Chris, you explanation helps me understand what I was looking at a bit better so very much appreciated! As far as you can see the "offset value" on the calibration page doesn't do anything except produce an offset delta, it doesn't actually offset the values produced by the routines on the other pages, is my understanding correct?

Please Log in or Create an account to join the conversation.

More
29 Sep 2022 02:24 #252980 by cmorley
I stand corrected, in probe basic 'set rotation angle' is the same as versa probes allow_auto_skew
so auto rotation should work in both.
    def rotate_coord_system(self, a=0.):
        self.status_a = a
        if self.allow_auto_skew is True:
            s = "G10 L2 P0"
            if self.allow_auto_zero is True:
                s += " X{}".format(self.data_adj_x)
                s += " Y{}".format(self.data_adj_y)
            else:
                STATUS.stat.poll()
                x = STATUS.stat.position[0]
                y = STATUS.stat.position[1]
                s += " X{}".format(x)      
                s += " Y{}".format(y)      
            s +=  " R{}".format(a)
            self.CALL_MDI_WAIT(s, 30)
            ACTION.RELOAD_DISPLAY()

auto zero option should zero the current user coordinates in X and Y as well as rotate around Z:

G10 L2 P0 (optional) X (optional Y) R

Please Log in or Create an account to join the conversation.

More
29 Sep 2022 02:27 #252981 by cmorley
yes it seems calibration does calculates the delta, not automatically start using it.
But I'm still seaching..
The following user(s) said Thank You: Eyecon

Please Log in or Create an account to join the conversation.

More
29 Sep 2022 02:28 #252982 by Eyecon
Thanks Chris, yes set rotation angle does set the rotation but it seems to set the xy zero to the location of the last probed point regardless of what specific edge rotation routine is selected. What's getting me confused is the graphics on that page seem to indicate that the zero XY points should be the first point it probes(indicated but the green target icon). I guess "auto zero" should not be selectable when "set rotation angle" is selected because the behaviour I've been observing with both buttons toggled on is that XY is reset to machine zero.

Please Log in or Create an account to join the conversation.

More
29 Sep 2022 02:36 #252983 by cmorley
Ok yes in the code X and Y will always be zero for basic probe:
G10 L2 P0 X0 Y0 R (whatever)

There is a note that 'data_adj_x' etc used in the rotate coordinate function is versa probe only.

Please Log in or Create an account to join the conversation.

More
29 Sep 2022 02:39 #252984 by cmorley
I think qtdragon's basic probe is based on pyqtvcp's 'basic probe' screen.
You might gleam some insight if they have docs on the probe routines.
then we can fill in the blancks in the docs and help screen.

Thanks for poking me to look at the code.
The following user(s) said Thank You: Eyecon

Please Log in or Create an account to join the conversation.

More
29 Sep 2022 05:33 #252991 by Eyecon
yes I figured but unfortunately it's not documented either as far as I can tell. Really appreciate your help Chris!

Please Log in or Create an account to join the conversation.

More
29 Oct 2022 00:05 #255360 by cmorley
Working on some more docs for basic probe, maybe you could comment.
here is what I got so far:
Basic probe is used to semi-automatically probe workpieces to find edges, centers
and angles.
The combo box allows selecting the basic type of probing buttons shown:

* Outside Corners
* Inside Corners
* Edge Angles
* Boss and Pockets
* Ridge and Valleys
* Calibration

You must carefully set the 'Probing Parameters':

* 'Probe Tool': will only allow probing if this tool number is in the spindle
* 'Probe Diameter': the size of the probe tip
* 'Probe Rapid': the speed of rapid moves in machine units
* 'Probe Search': the speed of the first 'rough' search in machine units
* 'Probe Feed': the speed of the second 'fine' search in machine units
* 'Extra Depth': Lowers the probe further by this much
* 'Step Off': back off and reprobe distance
* 'Max XY Distance': the maximum distance the probe will search for in X and Y
* 'Max Z Distance':  the maximum distance the probe will search for in Z
* 'XY Clearance': move away distance from probed point before rapid traversing in X and Y
* 'Z Clearance': move away distance from probed point before rapid traversing in Z
* 'Edge Width': approximate distance the probe start position is from edge

There are also hint parameters depending on selected probing type:

* 'Diameter Hint': used by Round Boss or Round Pocket probing (moves 1/2 diameter plus XY clearance)
* 'X Hint': used by Rectangular Boss/Pocket probing (moves 1/2 X length plus XY clearance)
* 'Y Hint': used by Rectangular Boss/Pocket probing (moves 1/2 Y length plus XY clearance)

After setting the parameters, manually move the probe to the approximate position
represented by the purple circle on the button.
Confirm the parameters are reasonable then press the desired probing button.
The probing routine will start immediately.

The following user(s) said Thank You: tommylight, Eyecon

Please Log in or Create an account to join the conversation.

More
30 Oct 2022 10:58 #255429 by Eyecon
This looks great! I thought Max Z distance was not implemented though, did that change?

Please Log in or Create an account to join the conversation.

More
30 Oct 2022 22:13 #255498 by andypugh
Are we really going to have a "basic probe" and a "Probe Basic"?

There seems scope for confusion (Probe Basic is a strange name for a complete GUI, it has to be admitted)

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.085 seconds
Powered by Kunena Forum