EgtMachKernel 1.6l4 :
- per tagli di lama aggiunti parametri estensione inizio/fine dei percorsi - per forature attivata Preview - aggiunte funzioni GetGeometry a tutte le lavorazioni
This commit is contained in:
+17
-1
@@ -643,4 +643,20 @@ MachMgr::GetMachiningToolData( void) const
|
||||
return nullptr ;
|
||||
// recupero il parametro
|
||||
return &( pMch->GetToolData()) ;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
MachMgr::GetMachiningGeometry( SELVECTOR& vIds) const
|
||||
{
|
||||
// recupero la lavorazione corrente
|
||||
int nCurrMchId = GetCurrMachining() ;
|
||||
if ( nCurrMchId == GDB_ID_NULL)
|
||||
return false ;
|
||||
// ne recupero il gestore
|
||||
Machining* pMch = dynamic_cast<Machining*>( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
// restituisco la geometria originale
|
||||
return pMch->GetGeometry( vIds) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user