Error in tool_offsetview.py

More
26 Aug 2023 01:22 #278973 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I think adding a G0 X0 Y0 Z clear command at the beginning would be a good improvement.
What do you think?

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

More
26 Aug 2023 02:49 #278981 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Oh I see it does have that in the beginning and the end.
I was assuming that was the dangerous part you are referring to.
Can you clear up my confusion?

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

More
26 Aug 2023 09:15 - 26 Aug 2023 09:19 #279003 by MarkoPolo
I don't know enough about gcode to give any advice, but it's as if the X0 Y0 lines were skipped.In the first picture is what it is supposed to do, stop, start, and it makes holes bigger and bigger because it doesn't start at x0 y0
(pictures should be in reverse order)
Attachments:
Last edit: 26 Aug 2023 09:19 by MarkoPolo.

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

More
26 Aug 2023 18:20 #279014 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I see the problem G91 is left over if you abort (if you don't have abort automatically reset G90.
It seems to work reliably if I add G90 in the beginning.
%
(Spiral Hole Enlargement Program)
(Start diameter is 15.0)
(Final diameter is 35.0)
(Depth of cut is 5.0)
(**NOTE - All units are in MM)
N5 G40 G49 G64 P0.03 M6 T1
(added G90 here)
N10 G17 G90
N15 G0 Z10.0
N20 G0 X0 Y0
N25 G0 X2.5 Y0
N30 M3 S1000
N35 G91
N40 G1 Z-15.0 F125.0
N45 F250
(Create spiral with 5 loops)
N50 o100 repeat [450]
N55 g91 g1 @  0.0222 ^-4
N60 o100 endrepeat
(Profile pass)
N65 G2 I-12.5 F250
N70 G90
N75 G0 Z10.0
N80 G0 X0 Y0
N85 M9
N90 M5
N95 M2
%

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

More
26 Aug 2023 18:49 #279017 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I pushed the changes for G90 and also added G20/21 to cover that case too.
Thank you!

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

More
26 Aug 2023 19:02 #279018 by MarkoPolo
Yes, it looks like the problem is solved. After initial testing, it works flawlessly.
If it stops working on the stop button, I see a log in the console, as in the screenshot. I suppose it's nothing important.
Attachments:

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

More
10 Sep 2023 17:48 #280418 by MarkoPolo
Hi Chris.

I also reworked the icons for the A axis, I think it will be better for the consistency of the appearance of the buttons
Attachments:
The following user(s) said Thank You: tommylight

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

More
26 Sep 2023 19:02 #281659 by MarkoPolo
Lots of minor fixes for better alignment of elements, this time for qtdragon_hd.

We still need to correct the bar at the very bottom of the window, because it looks bad, but it is somehow strangely made and I think it is necessary to modify the service file.
Attachments:

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

More
26 Sep 2023 20:31 #281664 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Looks like I haven't added your new A buttons either - can you confirm?
Marius, were you the one who modified qtdragon to be resizeable?
I was thinking having qtdragon_hd slightly resizeable would be nice too - I tried but it's a bigger jog then I have time for :)

Chris

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

More
26 Sep 2023 21:32 #281667 by MarkoPolo
Yes, I confirm that you did not add the "A" buttons
Yes, I modified the qtdragon to make it stretchy.
It's a lot of work, in QT it's not that easy to make everything scale proportionally when changing size.
What range of values would you like qtdragon_hd to have?

Marek

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

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