EgtMachKernel :

- correzione foratura multipla (Riccardo E.)
- aggiunta gestione fori non lavorati per foratura multipla (GetMachiningSkippedGeometry).
This commit is contained in:
Dario Sassi
2024-11-25 15:02:41 +01:00
parent 1d20f9afe0
commit 9f7ba94811
5 changed files with 100 additions and 47 deletions
+16
View File
@@ -1261,6 +1261,22 @@ MachMgr::GetMachiningGeometry( SELVECTOR& vIds) const
return pMch->GetGeometry( vIds) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetMachiningSkippedGeometry( SELVECTOR& vIds) const
{
// recupero la lavorazione corrente
int nCurrMchId = GetCurrMachining() ;
if ( nCurrMchId == GDB_ID_NULL)
return false ;
// ne recupero il gestore
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
if ( pMch == nullptr)
return false ;
// restituisco la geometria non lavorata
return pMch->GetSkippedGeometry( vIds) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::IsMachiningEmpty( void) const