EgtMachKernel 2.1l6 :
- aggiunta possibilità di avere direzioni utensili e direzioni assi di mlde lievemente diverse dal disegno.
This commit is contained in:
@@ -30,7 +30,9 @@ static const string FLD_OFFSET = "Offset" ;
|
||||
static const string FLD_SPECIAL = "Special" ;
|
||||
static const string FLD_PROCESSOR = "Processor" ;
|
||||
static const string FLD_AXISMAXADJUST = "AxisMaxAdjust" ;
|
||||
static const string FLD_AXISMAXROTADJ = "AxisMaxRotAdj" ;
|
||||
static const string FLD_EXITMAXADJUST = "ExitMaxAdjust" ;
|
||||
static const string FLD_EXITMAXROTADJ = "ExitMaxRotAdj" ;
|
||||
static const string FLD_ANGDELTAMINFORHOME = "AngDeltaMinForHome" ;
|
||||
static const string FLD_NAME = "Name" ;
|
||||
static const string FLD_PARENT = "Parent" ;
|
||||
@@ -275,9 +277,15 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
// lettura eventuale campo 'AxisMaxAdjust' dalla tabella (default EPS_SMALL)
|
||||
double dAxisMaxAdjust = EPS_SMALL ;
|
||||
LuaGetTabFieldParam( L, 1, FLD_AXISMAXADJUST, dAxisMaxAdjust) ;
|
||||
// lettura eventuale campo 'AxisMaxRotAdj' dalla tabella (default 10 * EPS_ANG_SMALL)
|
||||
double dAxisMaxRotAdj = 10 * EPS_ANG_SMALL ;
|
||||
LuaGetTabFieldParam( L, 1, FLD_AXISMAXROTADJ, dAxisMaxRotAdj) ;
|
||||
// lettura eventuale campo 'ExitMaxAdjust' dalla tabella (default EPS_SMALL)
|
||||
double dExitMaxAdjust = EPS_SMALL ;
|
||||
LuaGetTabFieldParam( L, 1, FLD_EXITMAXADJUST, dExitMaxAdjust) ;
|
||||
// lettura eventuale campo 'ExitMaxRotAdj' dalla tabella (default 10 * EPS_ANG_SMALL)
|
||||
double dExitMaxRotAdj = 10 * EPS_ANG_SMALL ;
|
||||
LuaGetTabFieldParam( L, 1, FLD_EXITMAXROTADJ, dExitMaxRotAdj) ;
|
||||
// lettura eventuale campo 'AngDeltaForHome' dalla tabella (default INFINITO)
|
||||
double dAngDeltaMinForHome = INFINITO ;
|
||||
LuaGetTabFieldParam( L, 1, FLD_ANGDELTAMINFORHOME, dAngDeltaMinForHome) ;
|
||||
@@ -323,7 +331,9 @@ Machine::LuaEmtGeneral( lua_State* L)
|
||||
|
||||
// imposto massimo spostamento assi e uscite tra definizione cinematica e geometria
|
||||
m_pMchLua->m_dAxisMaxAdjust = dAxisMaxAdjust ;
|
||||
m_pMchLua->m_dAxisMaxRotAdj = dAxisMaxRotAdj ;
|
||||
m_pMchLua->m_dExitMaxAdjust = dExitMaxAdjust ;
|
||||
m_pMchLua->m_dExitMaxRotAdj = dExitMaxRotAdj ;
|
||||
|
||||
// imposto minima differenza angolare da posizione precedente per stare vivino a posizione home
|
||||
m_pMchLua->m_dAngDeltaMinForHome = dAngDeltaMinForHome ;
|
||||
|
||||
Reference in New Issue
Block a user