EgtMachKernel :

- aggiunta lavorazione di mortasatura
- aggiunt agestione angolo indeterminato su secondo asse rotante.
This commit is contained in:
Dario Sassi
2018-02-28 09:35:51 +00:00
parent 1536d42f31
commit 6d324ba067
17 changed files with 2502 additions and 59 deletions
+4
View File
@@ -136,6 +136,10 @@ Machine::LoadTool( Exit* pExit, const string& sTool)
if ( nT == GDB_ID_NULL)
return false ;
m_pGeomDB->Rotate( nT, ORIG, X_AX, 90) ;
// se mortasa, lo ruoto 90 deg attorno a Z
int nType ;
if ( m_pMchMgr->TdbGetCurrToolParam( TPA_TYPE, nType) && nType == TT_MORTISE_STD)
m_pGeomDB->Rotate( nT, ORIG, Z_AX, 90) ;
pExit->SetTool( sTool) ;
return true ;
}