EgtExecutor :
- modifiche per più utensili in virtual milling di Zmap.
This commit is contained in:
@@ -94,7 +94,7 @@ LuaVolZmapSetStdTool( lua_State* L)
|
||||
LuaGetParam( L, 7, nFlag) ;
|
||||
LuaClearStack( L) ;
|
||||
// imposto utensile standard a Zmap indicati
|
||||
bool bOk = ExeVolZmapSetStdTool( vIds, sToolName, dLen, dDiam, dCornR, dCutterH, nFlag) ;
|
||||
bool bOk = ExeVolZmapSetStdTool( vIds, sToolName, dLen, dDiam, dCornR, dCutterH, nFlag, true) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
@@ -125,7 +125,7 @@ LuaVolZmapSetAdvTool( lua_State* L)
|
||||
LuaGetParam( L, 9, nFlag) ;
|
||||
LuaClearStack( L) ;
|
||||
// imposto utensile avanzato a Zmap indicati
|
||||
bool bOk = ExeVolZmapSetAdvTool( vIds, sToolName, dLen, dDiam, dTipLen, dTipDiam, dCornR, dCutterH, nFlag) ;
|
||||
bool bOk = ExeVolZmapSetAdvTool( vIds, sToolName, dLen, dDiam, dTipLen, dTipDiam, dCornR, dCutterH, nFlag, true) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
@@ -154,7 +154,7 @@ LuaVolZmapSetSawTool( lua_State* L)
|
||||
LuaGetParam( L, 8, nFlag) ;
|
||||
LuaClearStack( L) ;
|
||||
// imposto utensile avanzato a Zmap indicati
|
||||
bool bOk = ExeVolZmapSetSawTool( vIds, sToolName, dLen, dDiam, dThick, dStemDiam, dCornR, nFlag) ;
|
||||
bool bOk = ExeVolZmapSetSawTool( vIds, sToolName, dLen, dDiam, dThick, dStemDiam, dCornR, nFlag, true) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
@@ -175,7 +175,7 @@ LuaVolZmapSetGenTool( lua_State* L)
|
||||
LuaGetParam( L, 4, nFlag) ;
|
||||
LuaClearStack( L) ;
|
||||
// imposto utensile generico a Zmap indicati
|
||||
bool bOk = ExeVolZmapSetGenTool( vIds, sToolName, nToolSectId, nFlag) ;
|
||||
bool bOk = ExeVolZmapSetGenTool( vIds, sToolName, nToolSectId, nFlag, true) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
@@ -202,7 +202,7 @@ LuaVolZmapSetMortiserTool( lua_State* L)
|
||||
LuaGetParam( L, 7, nFlag) ;
|
||||
LuaClearStack( L) ;
|
||||
// imposto mortasatrice a Zmap indicati
|
||||
bool bOk = ExeVolZmapSetMortiserTool( vIds, sToolName, dLen, dWidth, dThick, dCornR, nFlag) ;
|
||||
bool bOk = ExeVolZmapSetMortiserTool( vIds, sToolName, dLen, dWidth, dThick, dCornR, nFlag, true) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
@@ -227,7 +227,7 @@ LuaVolZmapSetChiselTool( lua_State* L)
|
||||
LuaGetParam( L, 6, nFlag) ;
|
||||
LuaClearStack( L) ;
|
||||
// imposto scalpello a Zmap indicati
|
||||
bool bOk = ExeVolZmapSetChiselTool( vIds, sToolName, dLen, dWidth, dThick, nFlag) ;
|
||||
bool bOk = ExeVolZmapSetChiselTool( vIds, sToolName, dLen, dWidth, dThick, nFlag, true) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
@@ -242,7 +242,7 @@ LuaVolZmapResetTool( lua_State* L)
|
||||
LuaCheckParam( L, 1, vIds)
|
||||
LuaClearStack( L) ;
|
||||
// reset utensile a Zmap indicati
|
||||
bool bOk = ExeVolZmapResetTool( vIds) ;
|
||||
bool bOk = ExeVolZmapResetTools( vIds) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
|
||||
Reference in New Issue
Block a user