- Posts: 7368
- Thank you received: 2181
Error in tool_offsetview.py
- cmorley
- Offline
- Moderator
-
Less
More
2 years 5 months ago #301366
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
What is the last thing?
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
2 years 5 months ago #301446
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
What I mean is the "start from line" function. It works very poorly for me, although apparently it works well for some users.
Depending on the position from which the spindle starts, the machine sometimes makes strange movements before it reaches the place from which it should start working. Sometimes the cutter will pass through the material before it sets itself to the starting point.
It works quite well if I first manually set the XY position.
3-axis XYZ machine
Depending on the position from which the spindle starts, the machine sometimes makes strange movements before it reaches the place from which it should start working. Sometimes the cutter will pass through the material before it sets itself to the starting point.
It works quite well if I first manually set the XY position.
3-axis XYZ machine
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
2 years 5 months ago #301458
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Is this is different in AXIS?
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
2 years 5 months ago #301469
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
In axis it's exactly the same.
If the spindle is somewhere in the lower position and I click "start from line" from there, the cutter usually passes straight through the material.
It should be the case that first the spindle raises to a safe height, sets the XY position and starts working.
Where can I find the code that does all this?
If the spindle is somewhere in the lower position and I click "start from line" from there, the cutter usually passes straight through the material.
It should be the case that first the spindle raises to a safe height, sets the XY position and starts working.
Where can I find the code that does all this?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
2 years 5 months ago #301527
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
from memory.. does start from line moves to the end of the specified line?
I can't remember if that linuxcnc or a machine I used once.
Looks like the end.
But if the start line doesn't specify all the axes, then it only moves the one(s) in the line.
This is a hard problem to fix satisfactorily in all situations.
Could add an entry line for adding a g1 line before the line to start.
dialog RunFromLineDialog would need to be modified in dialong_widget.py
Chris
I can't remember if that linuxcnc or a machine I used once.
Looks like the end.
But if the start line doesn't specify all the axes, then it only moves the one(s) in the line.
This is a hard problem to fix satisfactorily in all situations.
Could add an entry line for adding a g1 line before the line to start.
dialog RunFromLineDialog would need to be modified in dialong_widget.py
Chris
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
2 years 5 months ago #301834
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Yes, the machine starts working from the next part of the code until it encounters all axis coordinates. It depends on how the code is generated. If all XYZ coordinates are in one line, then it starts working correctly, exactly from the indicated line. But even the code generated this way does not solve all the problems.
I think a small modification would improve it a lot. Now, when starting from a specific line, the spindle moves simultaneously in the XYZ axes, but if you raised the spindles to a safe height, made the XY movement and only then started executing the code, it would be much safer.
I think a small modification would improve it a lot. Now, when starting from a specific line, the spindle moves simultaneously in the XYZ axes, but if you raised the spindles to a safe height, made the XY movement and only then started executing the code, it would be much safer.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.145 seconds