Error in tool_offsetview.py

More
3 years 2 months ago #278561 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
The modified facing.py now works fine.
I think all tools, as you say, should work only in machine units, but I still have little practical experience, so maybe someone else will comment.
Another problem with the hole enlarger tool is that if you stop the program on the stop button while it is running, then when you start it again, the program does not start at x0 y0 but from where it stopped. Reloading the file doesn't help. Just like in the screenshot.
I modified the hole_enlarge.ui file so that it fits in the minimum size of qtdragon. If there is anything else to improve, please write.
Attachments:

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

More
3 years 2 months ago #278945 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Hi Chris

Have you tested the "hole enlarge" tool?
As it stands, I find it very dangerous to use it.

Marek

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

More
3 years 2 months ago #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
3 years 2 months ago #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
3 years 2 months ago - 3 years 2 months ago #279003 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
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: 3 years 2 months ago by MarkoPolo.

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

More
3 years 2 months ago #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.
Code:
% (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.

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