- in PreSimulationLib si usa l'uscita utensile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user