EgtMachKernel 2.2d5 :
- anche la speed viene considerata per il disegno utensile (per poter evidenziare il senso di rotazione).
This commit is contained in:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user