-modifiche parziali per PreSimulationLib

This commit is contained in:
luca.mazzoleni
2025-12-10 11:21:55 +01:00
parent c18e80a70d
commit eb3cf0d7ff
4 changed files with 19 additions and 6 deletions
+8 -1
View File
@@ -81,9 +81,12 @@ local function CalculateLeadInOut( Machining, EdgeToMachine, bIsSplitFeature)
local LeadIn = {}
local LeadOut = {}
Machining.sLeadInOutType = ''
LeadIn.dStartAddLength = 0
LeadOut.dEndAddLength = 0
-- TODO questa parte va letta da Engagement
Machining.sLeadInOutType = ''
LeadIn.nType = MCH_MILL_LI.LINEAR
LeadOut.nType = MCH_MILL_LI.LINEAR
LeadIn.dPerpDistance = 0
@@ -120,6 +123,10 @@ local function CalculateLeadInOut( Machining, EdgeToMachine, bIsSplitFeature)
LeadOut.dElevation = 0
LeadIn.dCompLength = 0
LeadOut.dCompLength = 0
-- TODO fine parte letta da Engagement
if Machining.bIsStartClosed and Machining.bIsEndClosed then
LeadIn.dStartAddLength = -dToolMarkLength
LeadOut.dEndAddLength = -dToolMarkLength