EgtMachKernel :

- ottimizzate rotazioni di +/- 90 deg.
This commit is contained in:
Dario Sassi
2018-05-22 10:17:58 +00:00
parent f37abb39dc
commit 71ef4e79a1
8 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -147,11 +147,11 @@ Machine::LoadTool( Exit* pExit, const string& sTool)
int nT = m_pGeomDB->GetFirstGroupInGroup( nExGrp) ;
if ( nT == GDB_ID_NULL)
return false ;
m_pGeomDB->Rotate( nT, ORIG, X_AX, 90) ;
m_pGeomDB->Rotate( nT, ORIG, X_AX, 0, 1) ;
// 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) ;
m_pGeomDB->Rotate( nT, ORIG, Z_AX, 0, 1) ;
pExit->SetTool( sTool) ;
return true ;
}