Piccola correzione ricerca utensile nella FindMill

This commit is contained in:
andrea.villa
2025-03-04 09:48:50 +01:00
parent c2b30d8ed9
commit e37d29fae3
+1 -1
View File
@@ -264,7 +264,7 @@ function MachiningLib.FindMill( Proc, ToolSearchParameters)
-- se entrambi completi
if dBestToolResidualDepth <= 0 and dCurrentResidualDepth <= 0 then
-- se il migliore era su aggregato e corrente montanto direttamente, prediligo utensile montato direttamente
if not TOOLS[i].SetupInfo.bToolOnAggregate and TOOLS[i].SetupInfo.bToolOnAggregate then
if not TOOLS[i].SetupInfo.bToolOnAggregate and TOOLS[nBestToolIndex].SetupInfo.bToolOnAggregate then
nBestToolIndex = i
dBestToolResidualDepth = dCurrentResidualDepth
-- se hanno stesso montaggio