EgtMachKernel :
- per macro di simulazione aggiunta variabile per step di simulazione EMT.SIMSTEP.
This commit is contained in:
+6
-4
@@ -326,10 +326,12 @@ Simulator::GetMoveInfo( int& nGmove, double& dFeed) const
|
||||
bool
|
||||
Simulator::SetStep( double dStep)
|
||||
{
|
||||
const double MIN_STEP = 0.1 ;
|
||||
const double MAX_STEP = 100.0 ;
|
||||
m_dStep = Clamp( dStep, MIN_STEP, MAX_STEP) ;
|
||||
return true ;
|
||||
const double MIN_STEP = 1.0 ;
|
||||
const double MAX_STEP = 100.0 ;
|
||||
m_dStep = Clamp( dStep, MIN_STEP, MAX_STEP) ;
|
||||
// imposto step per movimenti gestiti nelle macro di simulazione
|
||||
m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_SIMSTEP, m_dStep) ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user