EgtMachKernel 2.2d5 :

- anche la speed viene considerata per il disegno utensile (per poter evidenziare il senso di rotazione).
This commit is contained in:
Dario Sassi
2020-04-28 09:37:03 +00:00
parent f31aacdc14
commit b7a77a6839
2 changed files with 3 additions and 0 deletions
+3
View File
@@ -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 :