EgtExecutor :
- aggiunta funzione Exe/Lua AddAnotherOutlineToPart - in ExeAutomaticPac aggiunta gestione di pezzi con tagli inclinati.
This commit is contained in:
@@ -171,6 +171,22 @@ LuaAutoNestAddPart( lua_State* L)
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
static int
|
||||
LuaAutoNestAddAnotherOutlineToPart( lua_State* L)
|
||||
{
|
||||
// 2 parametri : nPartId, nAnotherOutlineId
|
||||
int nPartId ;
|
||||
LuaCheckParam( L, 1, nPartId)
|
||||
int nAnotherOutlineId ;
|
||||
LuaCheckParam( L, 2, nAnotherOutlineId)
|
||||
// aggiungo un contorno aggiuntivo al pezzo indicato
|
||||
bool bOk = ExeAddAnotherOutlineToPart( nPartId, nAnotherOutlineId) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
static int
|
||||
LuaAutoNestAddToolOutlineToPart( lua_State* L)
|
||||
@@ -325,6 +341,7 @@ LuaInstallNesting( LuaMgr& luaMgr)
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestAddDefectToSheet", LuaAutoNestAddDefectToSheet) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestAddSheet", LuaAutoNestAddSheet) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestAddPart", LuaAutoNestAddPart) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestAddAnotherOutlineToPart", LuaAutoNestAddAnotherOutlineToPart) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestAddToolOutlineToPart", LuaAutoNestAddToolOutlineToPart) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestSetInterpartGap", LuaAutoNestSetInterpartGap) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtAutoNestCompute", LuaAutoNestCompute) ;
|
||||
|
||||
Reference in New Issue
Block a user