Universal-G-Code-Sender icon indicating copy to clipboard operation
Universal-G-Code-Sender copied to clipboard

More advanced probing plugin

Open winder opened this issue 8 years ago • 50 comments

Most of the features in this video should not be complicated to implement: https://youtu.be/pQGnV85Cu_A?t=191

I'll probably go ahead and make a bunch of screens that go over the visualizer for these:

  • [x] Corner probing (outside XY / outside XYZ)
  • [ ] Inside corner probing
  • [ ] Calibration (a.k.a. probe / end mill size measurement, probe speeds)
  • [ ] Angle measuring.
  • [X] Z probing
  • [x] Selectable work coordinate system for X & Y probing (G43.1 doesn't work or make sense for these).

winder avatar Sep 04 '17 19:09 winder

That looks so good and promissing!!!!

vMeph avatar Sep 04 '17 20:09 vMeph

Wicked. I guess we're heading towards a tabbed controller due to all the new features? Could you make it in "workspaces" so we can have eg. DRO, visualizer, file control, overrides in one then another workspace for macros, probing, settings, etc? All user controlled of course ;)

On Sep 4, 2017 5:05 PM, "Meph1" [email protected] wrote:

That looks so good and promissing!!!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-327022166, or mute the thread https://github.com/notifications/unsubscribe-auth/AQlzDBgXIr3NY6G-c6v9J12cZOZOy7x6ks5sfFgHgaJpZM4PMNJ7 .

jahnj0584 avatar Sep 04 '17 21:09 jahnj0584

Fantastic

On Mon, Sep 4, 2017 at 4:54 PM, Julius [email protected] wrote:

Wicked. I guess we're heading towards a tabbed controller due to all the new features? Could you make it in "workspaces" so we can have eg. DRO, visualizer, file control, overrides in one then another workspace for macros, probing, settings, etc? All user controlled of course ;)

On Sep 4, 2017 5:05 PM, "Meph1" [email protected] wrote:

That looks so good and promissing!!!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-327022166>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AQlzDBgXIr3NY6G- c6v9J12cZOZOy7x6ks5sfFgHgaJpZM4PMNJ7>

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-327032434, or mute the thread https://github.com/notifications/unsubscribe-auth/AWnXWgZDsNT6_dny0xXgFzCz-RcFSyx1ks5sfHGQgaJpZM4PMNJ7 .

aforww avatar Sep 05 '17 13:09 aforww

I updated the existing Z probe button tonight. Since the X/Y probing didn't work I replaced that setting with a retract field. There's also a surprise between the initial probe and the final retract that I won't spoil. :)

screen shot 2017-09-06 at 8 34 47 pm

winder avatar Sep 07 '17 00:09 winder

Here are a couple of thoughts on the probe function.

The current version of the probe function does not display the current units, which can be very confusing. The two most common uses of the probe (at least for me) are

  1. Resetting the z offset after a tool change, and
  2. setting the xyz zero values for a new workpiece. For both of these, I use a touchplate with known xyz thickness values that sits directly on the wasteboard of the machine or fits over the corner of the workpiece. I think this is what many/most people do when they get sick of using a piece of thin paper and a calculator. What would be most helpful (to me) is to have a helper that would allow me to position the tool at a reasonable distance from the surface(s) of the touchplate and then have the machine automatically set the relevant zero values for me. The display could look similar to the current one, with an option to set a single axis value only (typically z) or all axes at once, and an option to choose the target WCS offset (54-59). [It might also be necessary to allow separate thickness and distance/direction settings for x,y, and z.] The function could then use the G38.2 and G10L20 commands. Thanks for your consideration.

groberts22 avatar Sep 09 '17 14:09 groberts22

Keep in mind to do the x/y properly you cannot use an endmill. You'd have to get a piece of known diameter turned steel rod and then swap again for your Z

On Sep 9, 2017 11:43 AM, "groberts22" [email protected] wrote:

Here are a couple of thoughts on the probe function.

The current version of the probe function does not display the current units, which can be very confusing. The two most common uses of the probe (at least for me) are

  1. Resetting the z offset after a tool change, and
  2. setting the xyz zero values for a new workpiece. For both of these, I use a touchplate with known xyz thickness values that sits directly on the wasteboard of the machine or fits over the corner of the workpiece. I think this is what many/most people do when they get sick of using a piece of thin paper and a calculator. What would be most helpful (to me) is to have a helper that would allow me to position the tool at a reasonable distance from the surface(s) of the touchplate and then have the machine automatically set the relevant zero values for me. The display could look similar to the current one, with an option to set a single axis value only (typically z) or all axes at once, and an option to choose the target WCS offset (54-59). [It might also be necessary to allow separate thickness and distance/direction settings for x,y, and z.] The function could then use the G38.2 and G10L20 commands. Thanks for your consideration.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-328281465, or mute the thread https://github.com/notifications/unsubscribe-auth/AQlzDGSWXqNSxOwRQmPQVbKrtdyV55oOks5sgqQcgaJpZM4PMNJ7 .

jahnj0584 avatar Sep 09 '17 16:09 jahnj0584

True, although I have found in practice that if I lower the probe as far as possible below the horizontal surface of the touch plate and make sure the bit is properly rotated I get reasonable accuracy and repeatability.

groberts22 avatar Sep 09 '17 19:09 groberts22

Why would you have to do that? You absolutely can use the end mill. People do it all the time

On Sep 9, 2017 11:27 AM, "Julius" [email protected] wrote:

Keep in mind to do the x/y properly you cannot use an endmill. You'd have to get a piece of known diameter turned steel rod and then swap again for your Z

On Sep 9, 2017 11:43 AM, "groberts22" [email protected] wrote:

Here are a couple of thoughts on the probe function.

The current version of the probe function does not display the current units, which can be very confusing. The two most common uses of the probe (at least for me) are

  1. Resetting the z offset after a tool change, and
  2. setting the xyz zero values for a new workpiece. For both of these, I use a touchplate with known xyz thickness values that sits directly on the wasteboard of the machine or fits over the corner of the workpiece. I think this is what many/most people do when they get sick of using a piece of thin paper and a calculator. What would be most helpful (to me) is to have a helper that would allow me to position the tool at a reasonable distance from the surface(s) of the touchplate and then have the machine automatically set the relevant zero values for me. The display could look similar to the current one, with an option to set a single axis value only (typically z) or all axes at once, and an option to choose the target WCS offset (54-59). [It might also be necessary to allow separate thickness and distance/direction settings for x,y, and z.] The function could then use the G38.2 and G10L20 commands. Thanks for your consideration.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-328281465>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AQlzDGSWXqNSxOwRQmPQVbKrtdyV55oOks5sgqQcgaJpZM4PMNJ7> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-328287826, or mute the thread https://github.com/notifications/unsubscribe-auth/AWnXWoZTJuAgLfqkYeqsPapWgYt4HdtMks5sgrx_gaJpZM4PMNJ7 .

aforww avatar Sep 10 '17 12:09 aforww

Forgot to add, I was using it before X/Y was removed from the probing in the nighties.

aforww avatar Sep 10 '17 12:09 aforww

Forgot to add, I was using it before X/Y was removed from the probing in the nighties.

aforww avatar Sep 10 '17 12:09 aforww

Depends what accuracy you need, but you'd have to rotate the flute for each axis you probe. Good luck with 0 flutes and all that. A 4 flute would be easy enough to do though within reason. Still, nothing will repeat better then a solid cylinder.

On Sep 10, 2017 9:23 AM, "aforww" [email protected] wrote:

Why would you have to do that? You absolutely can use the end mill. People do it all the time

On Sep 9, 2017 11:27 AM, "Julius" [email protected] wrote:

Keep in mind to do the x/y properly you cannot use an endmill. You'd have to get a piece of known diameter turned steel rod and then swap again for your Z

On Sep 9, 2017 11:43 AM, "groberts22" [email protected] wrote:

Here are a couple of thoughts on the probe function.

The current version of the probe function does not display the current units, which can be very confusing. The two most common uses of the probe (at least for me) are

  1. Resetting the z offset after a tool change, and
  2. setting the xyz zero values for a new workpiece. For both of these, I use a touchplate with known xyz thickness values that sits directly on the wasteboard of the machine or fits over the corner of the workpiece. I think this is what many/most people do when they get sick of using a piece of thin paper and a calculator. What would be most helpful (to me) is to have a helper that would allow me to position the tool at a reasonable distance from the surface(s) of the touchplate and then have the machine automatically set the relevant zero values for me. The display could look similar to the current one, with an option to set a single axis value only (typically z) or all axes at once, and an option to choose the target WCS offset (54-59). [It might also be necessary to allow separate thickness and distance/direction settings for x,y, and z.] The function could then use the G38.2 and G10L20 commands. Thanks for your consideration.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-328281465>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AQlzDGSWXqNSxOwRQmPQVbKrtdyV55oOks5sgqQcgaJpZM4PMNJ7> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-328287826>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AWnXWoZTJuAgLfqkYeqsPapWgYt4HdtMks5sgrx_gaJpZM4PMNJ7> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-328339251, or mute the thread https://github.com/notifications/unsubscribe-auth/AQlzDFtOkeaGRTXNo4a8N6SksFNf4qAMks5sg9S6gaJpZM4PMNJ7 .

jahnj0584 avatar Sep 10 '17 12:09 jahnj0584

Ah. Yea I can agree with that. I did it with a single O flute but had to rotate it to catch the leading outside edge. Still faster than trying to get it dead on by eye and a feeler gauge lol.

On Sep 10, 2017 7:26 AM, "Julius" [email protected] wrote:

Depends what accuracy you need, but you'd have to rotate the flute for each axis you probe. Good luck with 0 flutes and all that. A 4 flute would be easy enough to do though within reason. Still, nothing will repeat better then a solid cylinder.

On Sep 10, 2017 9:23 AM, "aforww" [email protected] wrote:

Why would you have to do that? You absolutely can use the end mill. People do it all the time

On Sep 9, 2017 11:27 AM, "Julius" [email protected] wrote:

Keep in mind to do the x/y properly you cannot use an endmill. You'd have to get a piece of known diameter turned steel rod and then swap again for your Z

On Sep 9, 2017 11:43 AM, "groberts22" [email protected] wrote:

Here are a couple of thoughts on the probe function.

The current version of the probe function does not display the current units, which can be very confusing. The two most common uses of the probe (at least for me) are

  1. Resetting the z offset after a tool change, and
  2. setting the xyz zero values for a new workpiece. For both of these, I use a touchplate with known xyz thickness values that sits directly on the wasteboard of the machine or fits over the corner of the workpiece. I think this is what many/most people do when they get sick of using a piece of thin paper and a calculator. What would be most helpful (to me) is to have a helper that would allow me to position the tool at a reasonable distance from the surface(s) of the touchplate and then have the machine automatically set the relevant zero values for me. The display could look similar to the current one, with an option to set a single axis value only (typically z) or all axes at once, and an option to choose the target WCS offset (54-59). [It might also be necessary to allow separate thickness and distance/direction settings for x,y, and z.] The function could then use the G38.2 and G10L20 commands. Thanks for your consideration.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-328281465>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AQlzDGSWXqNSxOwRQmPQVbKrtdyV55oOks5sgqQcgaJpZM4PMNJ7> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-328287826>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AWnXWoZTJuAgLfqkYeqsPapWgYt4HdtMks5sgrx_gaJpZM4PMNJ7> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/winder/Universal-G-Code-Sender/ issues/738#issuecomment-328339251>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AQlzDFtOkeaGRTXNo4a8N6SksFNf4qAMks5sg9S6gaJpZM4PMNJ7> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-328339438, or mute the thread https://github.com/notifications/unsubscribe-auth/AWnXWjTX7Ujh6cma90jFtj5o6mLtY1zWks5sg9WEgaJpZM4PMNJ7 .

aforww avatar Sep 10 '17 12:09 aforww

Can you get the macros and UI from this fellow open source sender? I'm trying it out tonight while we figure out the platform issues. It also has keyboard jogging!

https://www.sourcerabbit.com/GCode-Sender/

jahnj0584 avatar Sep 12 '17 21:09 jahnj0584

I've been spending a lot of time working on re-designing the advanced probe page. My first attempt pretty much copied the design in Mach4, but I wasn't happy with how it fit in UGP. Back at the drawing board I decided to make a fully 3D representation of the settings, and I'm really happy with how it came out. I can add additional tabs for some of the remaining advanced probe tabs.

screen shot 2017-09-26 at 8 09 27 pm screen shot 2017-09-26 at 8 09 43 pm screen shot 2017-09-26 at 8 09 50 pm

winder avatar Sep 27 '17 00:09 winder

@winder build #8​42 failed

vMeph avatar Sep 27 '17 09:09 vMeph

looks very good, you think would be possible to come up with better visual layout design, similar to match or source rabit?

Radiu avatar Sep 27 '17 09:09 Radiu

@winder i dont see probing window now, only auto level?

vMeph avatar Sep 27 '17 12:09 vMeph

If you used the auto update feature you might need to select a new module. I moved the probe features to a separate one.

On Wed, Sep 27, 2017 at 8:30 AM Meph1 [email protected] wrote:

@winder https://github.com/winder i dont see probing window now, only auto level?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/738#issuecomment-332505037, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHqRZVt3KGMkbOM866UkOKL_1--bojuks5smj_MgaJpZM4PMNJ7 .

winder avatar Sep 27 '17 12:09 winder

@Radiu could you make some specific suggestions? For this iteration I decided against modal dialogs like rabbit and static dialogs like Mach4, opting for a more dynamic representation in the visualizer.

winder avatar Sep 27 '17 13:09 winder

@winder i have the autoupdate feature installed, just see there the auto level other probes i dont see,have looked arround and nothing

vMeph avatar Sep 27 '17 14:09 vMeph

@vMeph The probe module might not be installed, is it listed under "Available Plugins"?

screen shot 2017-09-27 at 11 12 37 am

winder avatar Sep 27 '17 15:09 winder

after last update cant connect to server grrr 1

vMeph avatar Sep 27 '17 15:09 vMeph

Sourceforge seems to be having some trouble the last couple days https://sourceforge.net/projects/ugs-update-center/files/

winder avatar Sep 27 '17 15:09 winder

ya thats what i tought

vMeph avatar Sep 27 '17 15:09 vMeph

what i mean is more professional graphic design something like this and more friendly use 1 2

apart from it is just a sugestion, your work is the best thanks alot for all tthe work that you provide to us

Radiu avatar Sep 27 '17 15:09 Radiu

that looks cool im not good on designs but here is a quick design i made based on that just to get a idea defenetly that the console space area, would be the perfect place to implemente interactive menus with some friendly and easy to folow structures and make UGS look a clean and modern design @winder any ideas?

llpp

vMeph avatar Sep 28 '17 00:09 vMeph

I made a video demonstrating the current Probe Module features: IMAGE ALT TEXT HERE)

winder avatar Oct 25 '17 18:10 winder

very nice video

thanks for all the work

vMeph avatar Oct 25 '17 19:10 vMeph

Hi will, thanks for your very good program, i like and use a lot the probing module, the only problem that i have is when doing the x and y probing, for some reason, it does the x good but when it position the machine to seek the y, it never goes far enough to the right (trying to find the lower left zero) to be able to touch the plate. is there soming that i miss. thanks Mike

smallpoul avatar Nov 13 '17 18:11 smallpoul

@smallpoul you can increase the "offset" values to make it probe further

winder avatar Nov 14 '17 15:11 winder