EgtMachKernel :
- correzione per gestire archi su macchine con assi rotanti su tavola.
This commit is contained in:
+3
-1
@@ -1510,7 +1510,9 @@ Operation::CalculateClPathAxesValues( int nClPathId, int nLinAxes, int nRotAxes,
|
||||
if ( pCurve->GetType() == CRV_ARC) {
|
||||
ICurveArc* pArc = GetCurveArc( pCurve) ;
|
||||
// verifico il piano
|
||||
if ( pArc->GetNormVersor() * pCamData->GetNormDir() < 0)
|
||||
Vector3d vtRef ;
|
||||
m_pMchMgr->GetCalcPartDirFromAngles( pCamData->GetNormDir(), vAngEnd, vtRef) ;
|
||||
if ( pArc->GetNormVersor() * vtRef < 0)
|
||||
pArc->InvertN() ;
|
||||
// assegno il centro e il raggio di questo arco ai dati cam
|
||||
pCamData->SetAxesCen( pArc->GetCenter()) ;
|
||||
|
||||
Reference in New Issue
Block a user