EgtMachKernel 1.9i3 :
- in fresature e svuotature aggiunto controllo massimo affondamento anche con lavorazione a step.
This commit is contained in:
+7
-7
@@ -136,13 +136,13 @@ Machining::PrepareToolPreview( void) const
|
||||
// altrimenti lo svuoto
|
||||
else
|
||||
m_pGeomDB->EmptyGroup( nStId) ;
|
||||
// se necessario, imposto l'utensile corrente
|
||||
string sCurrTool ; m_pMchMgr->GetCalcTool( sCurrTool) ;
|
||||
const_cast<Machining*>( this)->UpdateToolData() ;
|
||||
if ( ! EqualNoCase( sCurrTool, GetToolName())) {
|
||||
if ( ! m_pMchMgr->SetCalcTool( GetToolName(), GetHeadName(), GetExitNbr()))
|
||||
return false ;
|
||||
}
|
||||
// se necessario, imposto l'utensile corrente
|
||||
string sCurrTool ; m_pMchMgr->GetCalcTool( sCurrTool) ;
|
||||
const_cast<Machining*>( this)->UpdateToolData() ;
|
||||
if ( ! EqualNoCase( sCurrTool, GetToolName())) {
|
||||
if ( ! m_pMchMgr->SetCalcTool( GetToolName(), GetHeadName(), GetExitNbr()))
|
||||
return false ;
|
||||
}
|
||||
// copio la testa della lavorazione nel gruppo
|
||||
int nHeadId = m_pMchMgr->GetHeadId( GetHeadName()) ;
|
||||
int nId = m_pGeomDB->CopyGlob( nHeadId, GDB_ID_NULL, nStId) ;
|
||||
|
||||
Reference in New Issue
Block a user