EgtMachKernel 2.2k1 :
- in Foratura, Fresatura e Svuotatura ammessa lavorazione da sotto per teste di tipo non Above.
This commit is contained in:
+9
-4
@@ -107,6 +107,7 @@ Pocketing::Clone( void) const
|
||||
pPock->m_TParams = m_TParams ;
|
||||
pPock->m_nStatus = m_nStatus ;
|
||||
pPock->m_nPockets = m_nPockets ;
|
||||
pPock->m_bTiltingTab = m_bTiltingTab ;
|
||||
pPock->m_bAboveHead = m_bAboveHead ;
|
||||
pPock->m_bAggrBottom = m_bAggrBottom ;
|
||||
}
|
||||
@@ -225,8 +226,9 @@ Pocketing::Pocketing( void)
|
||||
m_dMaxHelixRad = INFINITO ;
|
||||
m_nStatus = MCH_ST_TO_VERIFY ;
|
||||
m_nPockets = 0 ;
|
||||
m_bAggrBottom = false ;
|
||||
m_bTiltingTab = false ;
|
||||
m_bAboveHead = true ;
|
||||
m_bAggrBottom = false ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -1558,6 +1560,10 @@ Pocketing::ProcessPath( int nPathId, int nPvId, int nClId)
|
||||
}
|
||||
}
|
||||
|
||||
// verifico se tavola basculante
|
||||
bool bTiltTab = false ;
|
||||
m_bTiltingTab = ( m_pMchMgr->GetCurrMachine()->GetCurrTableIsTilting( bTiltTab) && bTiltTab) ;
|
||||
|
||||
// verifico se testa da sopra (Z+)
|
||||
m_bAboveHead = m_pMchMgr->GetHeadAbove( m_TParams.m_sHead) ;
|
||||
|
||||
@@ -1753,9 +1759,8 @@ Pocketing::VerifyPathFromBottom( const ICurveComposite* pCompo, const Vector3d&
|
||||
// se non è svuotatura dal basso in alto, esco
|
||||
if ( vtTool.z > MIN_ZDIR_TOP_TOOL)
|
||||
return true ;
|
||||
// se c'è tavola basculante, esco
|
||||
bool bTabTilting = false ;
|
||||
if ( m_pMchMgr->GetCurrMachine()->GetCurrTableIsTilting( bTabTilting) && bTabTilting)
|
||||
// se c'è testa non dall'alto o tavola basculante, esco
|
||||
if ( ! m_bAboveHead || m_bTiltingTab)
|
||||
return true ;
|
||||
// recupero dati di eventuale rinvio da sotto
|
||||
if ( ! GetAggrBottomData( m_TParams.m_sHead, m_AggrBottom) || m_AggrBottom.nType == 0) {
|
||||
|
||||
Reference in New Issue
Block a user