- in PreSimulationLib si usa l'uscita utensile

This commit is contained in:
luca.mazzoleni
2025-12-22 11:46:15 +01:00
parent f1805625d3
commit 3b65f6233d
2 changed files with 3 additions and 3 deletions
+1
View File
@@ -128,6 +128,7 @@ function BeamExec.GetToolsFromDB()
Tool.Feeds.dEndFeed = EgtTdbGetCurrToolParam( MCH_TP.ENDFEED)
Tool.Feeds.dTipFeed = EgtTdbGetCurrToolParam( MCH_TP.TIPFEED)
Tool.sHead = EgtTdbGetCurrToolParam( MCH_TP.HEAD)
Tool.nExit = EgtTdbGetCurrToolParam( MCH_TP.EXIT)
Tool.SetupInfo = {}
Tool.SetupInfo = BeamData.GetSetupInfo( Tool.sHead)
if not Tool.SetupInfo.GetMinNzDownUp then
+2 -3
View File
@@ -85,10 +85,9 @@ local function CheckOutOfStrokePoint( ptOnFace, vtHead, vtNFace, vtNEdge, nSCC,
local ptOnToolTipCenter = ptOnFace + vtNEdge * Tool.dDiameter / 2 + vtNFace * EgtIf( bIsDownUp, Tool.dThickness, 0)
-- TODO come gestire EXIT?????
-- impostazione utensile
EgtSetCalcTool( Tool.sName, Tool.sHead, 1)
EgtLoadTool( Tool.sHead, 1, Tool.sName)
EgtSetCalcTool( Tool.sName, Tool.sHead, Tool.nExit)
EgtLoadTool( Tool.sHead, Tool.nExit, Tool.sName)
-- settaggio SCC per discriminare soluzioni multiple
EgtSetCalcSolCh( nSCC)