EgtMachKernel 1.6n4 :

- migliorie a gestione fasi
- migliorie a gestione spezzatura grezzi.
This commit is contained in:
Dario Sassi
2016-02-15 07:45:43 +00:00
parent a8c34397be
commit bbb25a4fec
10 changed files with 409 additions and 83 deletions
+4 -4
View File
@@ -28,7 +28,7 @@ bool
MachMgr::SetTable( const string& sTable)
{
// imposto la tavola per la prima disposizione ( e il calcolo)
Disposition* pDisp = GetDisposition( m_pGeomDB->GetUserObj( GetFirstOperation())) ;
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( GetFirstOperation())) ;
return ( pDisp != nullptr && pDisp->SetTable( sTable)) ;
}
@@ -40,7 +40,7 @@ MachMgr::GetTableRef( int nInd, Point3d& ptPos)
if ( nInd != 1)
return false ;
// recupero la prima operazione, deve essere la prima disposizione
Disposition* pDisp = GetDisposition( m_pGeomDB->GetUserObj( GetFirstOperation())) ;
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( GetFirstOperation())) ;
if ( pDisp == nullptr)
return false ;
// recupero il punto
@@ -55,7 +55,7 @@ MachMgr::GetTableArea( int nInd, BBox3d& b3Area1)
if ( nInd != 1)
return false ;
// recupero la prima operazione, deve essere la prima disposizione
Disposition* pDisp = GetDisposition( m_pGeomDB->GetUserObj( GetFirstOperation())) ;
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( GetFirstOperation())) ;
if ( pDisp == nullptr)
return false ;
// recupero il bounding box
@@ -67,7 +67,7 @@ int
MachMgr::AddFixture( const string& sName, const Point3d& ptPos, double dAngRotDeg)
{
// recupero l'oggetto disposizione corrente
Disposition* pDisp = GetDisposition( m_pGeomDB->GetUserObj( m_nCurrDispId)) ;
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( m_nCurrDispId)) ;
if ( pDisp == nullptr)
return false ;
// eseguo l'operazione