EgtMachKernel 1.6r2 :
- modifiche per gestire fino a 4 assi rotanti contemporaneamente attivi (almeno 2 bloccati) - correzioni e migliorie varie.
This commit is contained in:
+7
-1
@@ -29,7 +29,7 @@ using namespace std ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
static const string ERR_EXT = ".err" ;
|
||||
static const int MAX_AXES = 5 ;
|
||||
static const int MAX_AXES = 7 ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
Generator::Generator( void)
|
||||
@@ -708,6 +708,8 @@ Generator::GetGlobVarAxisValue( int nAx)
|
||||
case 3 : return ( GLOB_VAR + GVAR_L3) ;
|
||||
case 4 : return ( GLOB_VAR + GVAR_R1) ;
|
||||
case 5 : return ( GLOB_VAR + GVAR_R2) ;
|
||||
case 6 : return ( GLOB_VAR + GVAR_R3) ;
|
||||
case 7 : return ( GLOB_VAR + GVAR_R4) ;
|
||||
default : return "" ;
|
||||
}
|
||||
}
|
||||
@@ -722,6 +724,8 @@ Generator::GetGlobVarAxisPrev( int nAx)
|
||||
case 3 : return ( GLOB_VAR + GVAR_L3P) ;
|
||||
case 4 : return ( GLOB_VAR + GVAR_R1P) ;
|
||||
case 5 : return ( GLOB_VAR + GVAR_R2P) ;
|
||||
case 6 : return ( GLOB_VAR + GVAR_R3P) ;
|
||||
case 7 : return ( GLOB_VAR + GVAR_R4P) ;
|
||||
default : return "" ;
|
||||
}
|
||||
}
|
||||
@@ -736,6 +740,8 @@ Generator::GetGlobVarAxisToken( int nAx)
|
||||
case 3 : return ( GLOB_VAR + GVAR_L3T) ;
|
||||
case 4 : return ( GLOB_VAR + GVAR_R1T) ;
|
||||
case 5 : return ( GLOB_VAR + GVAR_R2T) ;
|
||||
case 6 : return ( GLOB_VAR + GVAR_R3T) ;
|
||||
case 7 : return ( GLOB_VAR + GVAR_R4T) ;
|
||||
default : return "" ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user