Closed amoruga closed 1 year ago
If you could, generate a complete G-code file for a single operation without rapid restore, and one with it, and attach them both. The smallest case that reproduces the problem would help.
Will do, need a day or two but will attach it here
Attached two G-code files. line 25 in the "rapid_restore.nc" file is problematic. Note also line 33 - second pass of the same cut at different Z - it is correct. no_rapid_restore.nc.txt rapid_restore.nc.txt
I've made a change that solved the problem in the test case you gave me.
The issue is resolved, thank you!
I think I stepped on a bug with rapid move restoration - the tool path is not common (Contour used as side cut with a slitting saw), likely this is what's triggering it, never had such issue before. The stock is 0.5 in diameter, zero at center, so anything below Z0.5 is a part. The generated code begins like this:
Note the last line - this is a cut move after lead-in, rapid rate would cause a tool break. There are many similar patterns later in the code (raising the tool, move to a new position, lower to a new height, lead-in, cut), but apparently only first one is set to rapid move during cutting. let me know if any additional info is needed to troubleshoot it