-in MachiningLib e BLADETOWASTE piccole correzioni
This commit is contained in:
@@ -575,7 +575,7 @@ function MachiningLib.FindBlade( Proc, ToolSearchParameters)
|
||||
local bAllowBottomHead = ToolSearchParameters.bAllowBottomHead
|
||||
|
||||
-- parametri opzionali
|
||||
local dElevation = ToolSearchParameters.dElevation or 0
|
||||
local dElevation = ToolSearchParameters.dElevation
|
||||
local bForceLongcutBlade = ToolSearchParameters.bForceLongcutBlade or false
|
||||
local EdgeToMachine = ToolSearchParameters.EdgeToMachine
|
||||
local Part = ToolSearchParameters.Part
|
||||
@@ -636,7 +636,7 @@ function MachiningLib.FindBlade( Proc, ToolSearchParameters)
|
||||
|
||||
if bIsToolCompatible then
|
||||
-- TODO gestire accorciamento massimo materiale per inclinazione
|
||||
local dCurrentResidualDepth = dElevation - TOOLS[i].dMaxDepth
|
||||
local dCurrentResidualDepth = ( dElevation or 0) - TOOLS[i].dMaxDepth
|
||||
if not nBestToolIndex or ( dBestToolResidualDepth > 0 and dCurrentResidualDepth <= 10 * GEO.EPS_SMALL) then
|
||||
nBestToolIndex = i
|
||||
dBestToolResidualDepth = dCurrentResidualDepth
|
||||
|
||||
Reference in New Issue
Block a user