- in FACEBYBLADE piccola correzione

This commit is contained in:
luca.mazzoleni
2025-03-10 10:05:25 +01:00
parent 8807760db7
commit d47343aba9
2 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -158,8 +158,8 @@ function FACEBYBLADE.Make( Proc, Part, FaceToMachine, EdgeToMachine, OptionalPar
ToolSearchParameters.bForceLongcutBlade = bForceLongcutBlade
local ToolInfo = MachiningLib.FindBlade( Proc, ToolSearchParameters)
-- ora che l'utensile è scelto, se non era definito l'angolo di downUp lo verifico per decidere se invertire
if not dMinNzDownUp then
dMinNzDownUp = TOOLS[nToolIndex].SetupInfo.GetMinNzDownUp( Part.b3Raw, FaceToMachine.vtN, Cutting.vtToolDirection)
if ToolInfo.nToolIndex and not dMinNzDownUp then
dMinNzDownUp = TOOLS[ToolInfo.nToolIndex].SetupInfo.GetMinNzDownUp( Part.b3Raw, FaceToMachine.vtN, Cutting.vtToolDirection)
if FaceToMachine.vtN:getZ() < dMinNzDownUp then
Cutting.bToolInvert = true
Cutting.bInvert = not Cutting.bInvert