diff --git a/Strategies/Standard/STR0005/STR0005.lua b/Strategies/Standard/STR0005/STR0005.lua index c00cfcc..b245f96 100644 --- a/Strategies/Standard/STR0005/STR0005.lua +++ b/Strategies/Standard/STR0005/STR0005.lua @@ -138,7 +138,8 @@ function STR0005.Make( bAddMachining, Proc, Part, CustomParameters) dMinNzTopBlade = dMinZTopBlade, dMaxNyTopBlade = dMaxNyTopBlade, bSaveAddedGeometries = bAddMachining, - dExtendAfterTail = dExtendAfterTail + dExtendAfterTail = dExtendAfterTail, + bReduceBladePath = Strategy.Parameters.bReduceBladePath } Blade.Result, BladeToWasteResult = BladeToWaste.Make( Proc, Part, OptionalParameters) dTimeToMachine = BladeToWasteResult.dTimeToMachine diff --git a/StrategyLibs/FACEBYBLADE.lua b/StrategyLibs/FACEBYBLADE.lua index 2b968f1..43444e8 100644 --- a/StrategyLibs/FACEBYBLADE.lua +++ b/StrategyLibs/FACEBYBLADE.lua @@ -66,7 +66,7 @@ local function CalculateLeadInOut( Machining, EdgeToMachine, bIsSplitFeature) -- allungamento per faccia singola (aperta in tutte le direzioni) local dAddedLengthOpenFace = BeamData.CUT_EXTRA if Machining.sCutType == 'Guillotine' then - local dGuillotineLengthToMachine + local dGuillotineLengthToMachine = 1 dAddedLengthOpenFace = ( - EdgeToMachine.dLength + dGuillotineLengthToMachine) / 2 elseif Machining.sCutType == 'Reduced' then dAddedLengthOpenFace = - FACEBYBLADE.GetPathReductionLength( Machining.nToolIndex, Machining.dMaxRadialOffset)