EgtExecutor :

- modifica prototipi in Machining Optimization.
This commit is contained in:
Riccardo Elitropi
2025-12-18 09:06:41 +01:00
parent d256c5f5ea
commit fb29be348a
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -268,13 +268,13 @@ LuaOptMachSetOpenBoundForGroups( lua_State* L)
//-------------------------------------------------------------------------------
static int
LuaOptMachGetResult( lua_State* L)
LuaOptMachCalculate( lua_State* L)
{
// nessun parametro
LuaClearStack( L) ;
// eseguo calcolo di minimo percorso
INTVECTOR vOrder ;
bool bOk = ExeOptMachGetResult( vOrder) ;
bool bOk = ExeOptMachCalculate( vOrder) ;
// restituisco il risultato
if ( bOk)
LuaSetParam( L, vOrder) ;
@@ -301,6 +301,6 @@ LuaInstallMachiningOptimization( LuaMgr& luaMgr)
bOk = bOk && luaMgr.RegisterFunction( "EgtOptMachSetOptimizationForGroups", LuaOptMachSetOptimizationForGroups) ;
bOk = bOk && luaMgr.RegisterFunction( "EgtOptMachSetOpenBound", LuaOptMachSetOpenBound) ;
bOk = bOk && luaMgr.RegisterFunction( "EgtOptMachSetOpenBoundForGroups", LuaOptMachSetOpenBoundForGroups) ;
bOk = bOk && luaMgr.RegisterFunction( "EgtOptMachGetResult", LuaOptMachGetResult) ;
bOk = bOk && luaMgr.RegisterFunction( "EgtOptMachCalculate", LuaOptMachCalculate) ;
return bOk ;
}