CAM: LeadInOut - Fix for path without rapid move in the end

This commit is contained in:
tarman3
2025-09-15 22:34:12 +03:00
parent 07e2b07bc0
commit 19409fb765

View File

@@ -818,6 +818,8 @@ class ObjectDressup:
# Get finish index of mill command for one profile
def findLastCutMultiProfileIndex(self, source, startIndex):
if startIndex >= len(source):
return len(source) - 1
for i in range(startIndex, len(source), +1):
if not self.isCuttingMove(source[i]):
return i - 1