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
+4 -4
View File
@@ -798,8 +798,8 @@ MachiningsMgr::SetCurrMachiningParam( int nType, double dVal)
return m_pCurrMach->SetParam( nType, dVal) ;
}
// se feed
else if ( nType == MPA_FEED ||
nType == MPA_STARTFEED || nType == MPA_ENDFEED || nType == MPA_TIPFEED || nType == MPA_VERTFEED) {
else if ( nType == MPA_FEED || nType == MPA_STARTFEED || nType == MPA_ENDFEED ||
nType == MPA_TIPFEED || nType == MPA_VERTFEED || nType == MPA_BACKFEED) {
// recupero valore da utensile
const ToolData* pTdata ;
if ( ! m_pCurrMach->GetTool( m_pTsMgr, pTdata))
@@ -945,8 +945,8 @@ MachiningsMgr::GetCurrMachiningParam( int nType, double& dVal) const
return pTdata->GetParam( MPA2TPA( nType), dVal) ;
}
// se feed
else if ( nType == MPA_FEED ||
nType == MPA_STARTFEED || nType == MPA_ENDFEED || nType == MPA_TIPFEED || nType == MPA_VERTFEED) {
else if ( nType == MPA_FEED || nType == MPA_STARTFEED || nType == MPA_ENDFEED ||
nType == MPA_TIPFEED || nType == MPA_VERTFEED || nType == MPA_BACKFEED) {
// recupero il valore
if ( ! m_pCurrMach->GetParam( nType, dVal))
return false ;