diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index cc85d10..5e7bcd8 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ diff --git a/MachMgrDBTools.cpp b/MachMgrDBTools.cpp index 4416cac..7858d5f 100644 --- a/MachMgrDBTools.cpp +++ b/MachMgrDBTools.cpp @@ -611,6 +611,8 @@ MachMgr::UpdateStandardToolDraw( const ToolData* pTdata, int nGenCtx, int nToolC pTdata->GetParam( TPA_SIDEANG, dSideAng) ; double dThick = 0 ; pTdata->GetParam( TPA_THICK, dThick) ; + double dSpeed = 0 ; + pTdata->GetParam( TPA_SPEED, dSpeed) ; // Recupero la path dell'eventuale portautensile string sThPath = GetToolHolderPath( sHeadName, nExit, nType) ; // Carico generatore disegno utensile @@ -625,6 +627,7 @@ MachMgr::UpdateStandardToolDraw( const ToolData* pTdata, int nGenCtx, int nToolC return TD_INT_ERR ; // Assegno i dati utensile bool bOk = ExeLuaSetGlobIntVar( "TOOL.TYPE", nType) ; + bOk = bOk && ExeLuaSetGlobNumVar( "TOOL.SPEED", dSpeed) ; switch ( nType) { case TT_DRILL_STD : case TT_DRILL_LONG :