EgtMachKernel 1.6n10 :
- modifiche per consentire adattamento della geometria macchina alla descrizione cinematica.
This commit is contained in:
@@ -163,6 +163,12 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
// lettura eventuale campo 'Processor' dalla tabella
|
||||
string sProcessor ;
|
||||
LuaGetTabFieldParam( L, 1, "Processor", sProcessor) ;
|
||||
// lettura eventuale campo 'AxisMaxAdjust' dalla tabella (default EPS_SMALL)
|
||||
double dAxisMaxAdjust = EPS_SMALL ;
|
||||
LuaGetTabFieldParam( L, 1, "AxisMaxAdjust", dAxisMaxAdjust) ;
|
||||
// lettura eventuale campo 'ExitMaxAdjust' dalla tabella (default EPS_SMALL)
|
||||
double dExitMaxAdjust = EPS_SMALL ;
|
||||
LuaGetTabFieldParam( L, 1, "ExitMaxAdjust", dExitMaxAdjust) ;
|
||||
LuaClearStack( L) ;
|
||||
|
||||
// info
|
||||
@@ -190,6 +196,10 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
LOG_INFO( GetEMkLogger(), " Processor file not specified")
|
||||
}
|
||||
|
||||
// imposto massimo spostamento assi e uscite tra definizione cinematica e geometria
|
||||
m_pMchLua->m_dAxisMaxAdjust = dAxisMaxAdjust ;
|
||||
m_pMchLua->m_dExitMaxAdjust = dExitMaxAdjust ;
|
||||
|
||||
return 0 ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user