Tool touch-off in QTDragon

More
5 years 10 months ago #193196 by JohnnyCNC
The dialogs displays are fixed with the addition of the code for QDialog and QDialog QPushButton. I have been looking at the macros and trying to get a handle on how this all works. I noticed that the Sensor location specified on the Offsets screen is in MM even though the machine is set to use inches as are some other values that are marked with MM. I would really like to get competent enough with making changes to help with this project. I normally program in C# using Visual Studio so I am sure I will get there at some point. It would be nice for Dragon to be as easy to setup and use as Axis.

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

More
5 years 10 months ago #193260 by JohnnyCNC

"In 2.8 the macros for probing are in nc_files/probe/basicprobe/macros"

I did some digging and found that QTDragon doesn't use the macros for the probing that happens on the Offsets and Tool screens. It is done in the Python code in qtdragon_handler.py file. I'm going to attempt to make a change so that any values that are shown, entered on the screen or in the .ini file are treated at units in the specified by LINEAR_UNITS in the .ini file. Having some values in MM and others in Inches is confusing. If successful I'll have to learn how to contribute changes.

The macros are used for the probing done on the Probe screen. This is a great learning exercise.

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

More
5 years 10 months ago #193269 by cmorley
Replied by cmorley on topic Tool touch-off in QTDragon
Sorry I miss understood. I'm not up on the probing code.
I have recently been working on versa probing code a bit.
I don't think I included the tool probe stuff as it requires remap code.

keep us posted!

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

More
5 years 10 months ago #193279 by seebaer1976

JohnnyCNC wrote:

"In 2.8 the macros for probing are in nc_files/probe/basicprobe/macros"

I did some digging and found that QTDragon doesn't use the macros for the probing that happens on the Offsets and Tool screens. It is done in the Python code in qtdragon_handler.py file. I'm going to attempt to make a change so that any values that are shown, entered on the screen or in the .ini file are treated at units in the specified by LINEAR_UNITS in the .ini file. Having some values in MM and others in Inches is confusing. If successful I'll have to learn how to contribute changes.

The macros are used for the probing done on the Probe screen. This is a great learning exercise.


Hi,

have the same problem that I don't get my manual tool change macro to work properly.
the marco calculates and the qtdragon_handler.py calculates again and this gives me a value that is twice as large.


Unfortunately I can't get any further because I can't program python.

qtdragon - new tool length after a manual tool change

best regards

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

More
5 years 10 months ago #193301 by JohnnyCNC

seebaer1976 wrote: Hi,

have the same problem that I don't get my manual tool change macro to work properly.
the macro calculates and the qtdragon_handler.py calculates again and this gives me a value that is twice as large.


Unfortunately I can't get any further because I can't program python.

qtdragon - new tool length after a manual tool change

best regards


I have been using the one G-Code file per tool process. My process has been to load and clamp the tool. Touch-off using a touch plate sitting on top of the stock. Load the file and hit cycle start. I get the prompt to load the tool. I confirm that the requested tool is the tool I loaded and click OK. I now have TTS tool holders and would like to use my machine to pre-measure the tools and update the tool table. That way I don't have to touch off the tool every time.

Using the process you stated where the tool is automatically touched off after responding to the tool-change prompt might be a better first step for me as there are some tools that I rarely use that I do not have TTS holders for and those would need to be touched off each time anyway.

I have a feeling that your issue is that both the macro and the touch method in qtdragon_handler.py are adding to the offset. I am going to take a look at that possibility.

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

More
5 years 10 months ago #193310 by JohnnyCNC

seebaer1976 wrote:

JohnnyCNC wrote:

"In 2.8 the macros for probing are in nc_files/probe/basicprobe/macros"

I did some digging and found that QTDragon doesn't use the macros for the probing that happens on the Offsets and Tool screens. It is done in the Python code in qtdragon_handler.py file. I'm going to attempt to make a change so that any values that are shown, entered on the screen or in the .ini file are treated at units in the specified by LINEAR_UNITS in the .ini file. Having some values in MM and others in Inches is confusing. If successful I'll have to learn how to contribute changes.

The macros are used for the probing done on the Probe screen. This is a great learning exercise.


Hi,

have the same problem that I don't get my manual tool change macro to work properly.
the marco calculates and the qtdragon_handler.py calculates again and this gives me a value that is twice as large.


Unfortunately I can't get any further because I can't program python.

qtdragon - new tool length after a manual tool change

best regards


I gave this remap a try but after the Z up where it waits for the tool change to happen I don't get a dialog where you indicate the tool change is complete.

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

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