EgtMachKernel 2.2c1 :
- in Milling modificato riconoscimento percorso chiuso per cambio inizio (per evitare percorsi sovrapposti di pulizia spigoli) - in Milling, Pocketing, Mortising e Chiseling corretto cambio affondamento che supera l'elevazione - in gestione utensili aggiunte funzioni SetCurrToolValInNotes, RemoveCurrToolValInNotes e GetCurrToolValInNotes.
This commit is contained in:
+3
-3
@@ -1476,7 +1476,7 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId)
|
||||
Vector3d vtStart, vtEnd ;
|
||||
pCompo->GetStartDir( vtStart) ;
|
||||
pCompo->GetEndDir( vtEnd) ;
|
||||
if ( ! AreSameVectorApprox( vtStart, vtEnd)) {
|
||||
if ( ! AreSameOrOppositeVectorApprox( vtStart, vtEnd)) {
|
||||
bool bAngCCW = ( ( vtEnd ^ vtStart) * vtTool > 0.0) ;
|
||||
if ( m_Params.m_dOverlap > EPS_SMALL ||
|
||||
m_Params.m_nWorkSide == MILL_WS_CENTER ||
|
||||
@@ -1677,7 +1677,7 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId)
|
||||
string sInfo = "Warning in Milling : machining depth (" + ToString( dElev, 1) +
|
||||
") bigger than MaxMaterial (" + ToString( m_TParams.m_dMaxMat, 1) + ")" ;
|
||||
m_pMchMgr->SetWarning( 2358, sInfo) ;
|
||||
dDepth = m_TParams.m_dMaxMat - max( dThick, 0.0) ;
|
||||
dDepth -= dElev - m_TParams.m_dMaxMat ;
|
||||
dElev = m_TParams.m_dMaxMat ;
|
||||
}
|
||||
}
|
||||
@@ -1698,7 +1698,7 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId)
|
||||
string sInfo = "Warning in Milling : machining depth (" + ToString( dElev, 1) +
|
||||
") bigger than MaxDepth (" + ToString( dMaxDepth, 1) + ")" ;
|
||||
m_pMchMgr->SetWarning( 2358, sInfo) ;
|
||||
dDepth -= ( dElev - dMaxDepth) ;
|
||||
dDepth -= dElev - dMaxDepth ;
|
||||
dElev = dMaxDepth ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user