EgtMachKernel :

- correzione per gestire gruppi a forare da sotto.
This commit is contained in:
Dario Sassi
2025-04-16 11:15:20 +02:00
parent 848701033b
commit ddef3e7654
+6 -5
View File
@@ -668,6 +668,12 @@ Drilling::Apply( bool bRecalc, bool bPostApply)
return false ;
}
// verifico se tavola basculante
bool bTiltTab = false ;
m_bTiltingTab = ( m_pMchMgr->GetCurrMachine()->GetCurrTableIsTilting( bTiltTab, m_vtTiltingAx) && bTiltTab) ;
// verifico se testa da sopra (Z+)
m_bAboveHead = m_pMchMgr->GetHeadAbove( m_TParams.m_sHead) ;
// se lavorazione standard
if ( m_Params.m_nSubType == DRI_SUB_STD) {
if ( ! StandardProcess( bRecalc, GDB_ID_NULL, nClId))
@@ -2723,11 +2729,6 @@ Drilling::GenerateHoleCl( int nInd, const SelData& nCircId, const string& sPName
m_pMchMgr->SetWarning( 2155, sInfo) ;
}
}
// verifico se tavola basculante
bool bTiltTab = false ;
m_bTiltingTab = ( m_pMchMgr->GetCurrMachine()->GetCurrTableIsTilting( bTiltTab, m_vtTiltingAx) && bTiltTab) ;
// verifico se testa da sopra (Z+)
m_bAboveHead = m_pMchMgr->GetHeadAbove( currToolData.m_sHead) ;
// verifiche per foro verso il basso
m_bAggrBottom = false ;
if ( ! VerifyHoleFromBottom( hole, nCircId))