EgtMachKernel :

- eliminate alcune variabili non usate.
This commit is contained in:
Dario Sassi
2024-02-27 18:36:32 +01:00
parent c3729befbb
commit 839639fcc8
-5
View File
@@ -2077,7 +2077,6 @@ Operation::CalculateClPathAxesValues( int nClPathId, int nLinAxes, int nRotAxes,
if ( ! bFirst && pCamData->IsLine() && m_pMchMgr->ExistProtectedAreas()) {
// verifico i limiti di corsa dei punti lungo la linea
const int NUM_VERIF_STEP = 16 ;
Vector3d vtN = pCamData->GetAxesNormDir() ;
Point3d ptPrec( dXprec, dYprec, dZprec) ;
Point3d ptP( dX, dY, dZ) ;
for ( int i = 1 ; i < NUM_VERIF_STEP ; ++ i) {
@@ -2197,7 +2196,6 @@ Operation::CalculateClPathAxesValues( int nClPathId, int nLinAxes, int nRotAxes,
}
// altrimenti linea
else {
ICurveLine* pLine = GetCurveLine( pCurve) ;
// lo considero un arco di raggio infinito
pCamData->SetAxesCen( ORIG) ;
pCamData->SetAxesRad( 0) ;
@@ -2229,8 +2227,6 @@ Operation::CalculateClPathRobotAxesValues( int nClPathId, int nLinAxes, int nRot
{
if ( m_pMchMgr == nullptr || m_pGeomDB == nullptr)
return false ;
// massima variazione assi rotanti per continuità
double dMaxDeltaR = 30 ;
// eventuale direzione Aux preferenziale
bool bUseRefAux = true ;
Vector3d vtRefAux = Y_AX ;
@@ -2906,7 +2902,6 @@ Operation::AdjustOneStartMovement( int nClPathId, int nPrevClPathId, Operation*
const Vector3d& vtDirEnd = pCamDataPrev->GetToolDir() ;
const Vector3d& vtAuxEnd = pCamDataPrev->GetAuxDir() ;
// recupero dati posizione iniziale lavorazione corrente
const CamData* CdStart = GetInitialCamData( false) ;
// vAxCurr già recuperati sopra
const Point3d& ptPStart = pCamData->GetEndPoint() ;
const Vector3d& vtDirStart = pCamData->GetToolDir() ;