EgtMachKernel :

- in taglio di lama aggiunta feed per passata di ritorno.
This commit is contained in:
Dario Sassi
2018-05-28 13:20:33 +00:00
parent a51f7119c9
commit b5833ab37c
6 changed files with 38 additions and 13 deletions
+7 -1
View File
@@ -296,6 +296,9 @@ Sawing::SetParam( int nType, double dVal)
case MPA_TIPFEED :
m_Params.m_dTipFeed = ( AreSameLenValue( dVal, m_TParams.m_dTipFeed) ? 0 : dVal) ;
return true ;
case MPA_BACKFEED :
m_Params.m_dBackFeed = ( AreSameLenValue( dVal, m_TParams.m_dFeed) ? 0 : dVal) ;
return true ;
case MPA_OFFSR :
m_Params.m_dOffsR = ( AreSameLenValue( dVal, m_TParams.m_dOffsR) ? UNKNOWN_PAR : dVal) ;
return true ;
@@ -676,6 +679,9 @@ Sawing::GetParam( int nType, double& dVal) const
case MPA_TIPFEED :
dVal = GetTipFeed() ;
return true ;
case MPA_BACKFEED :
dVal = GetBackFeed() ;
return true ;
case MPA_OFFSR :
dVal =GetOffsR() ;
return true ;
@@ -1738,7 +1744,7 @@ Sawing::GenerateLineCl( const ICurveLine* pLine, const Vector3d& vtTool, const V
if ( AddLinearMove( ptP2) == GDB_ID_NULL)
return false ;
// movimento di lato
SetFeed( GetFeed()) ;
SetFeed( ( IsEven( i) ? GetBackFeed() : GetFeed())) ;
if ( AddLinearMove( ptP3) == GDB_ID_NULL)
return false ;
}