- in STR0005 si passa correttamente il parametro bReduceBladePath a BLADETOWASTE

- in FACEBYBLADE si assegna correttamente dGuillotineLengthToMachine
This commit is contained in:
luca.mazzoleni
2025-07-04 16:29:17 +02:00
parent 4edd45a355
commit fdb4bd405e
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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)