EgtMachKernel :

- correzione per gestire archi su macchine con assi rotanti su tavola.
This commit is contained in:
Dario Sassi
2020-09-22 07:48:13 +00:00
parent 648d080090
commit 61d0c583e8
5 changed files with 38 additions and 1 deletions
+10
View File
@@ -651,6 +651,16 @@ MachMgr::GetCalcAuxDirFromAngles( const DBLVECTOR& vAng, Vector3d& vtDir) const
return pMch->GetAuxDirFromAngles( vAng, vtDir) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetCalcPartDirFromAngles( const Vector3d& vtPart, const DBLVECTOR& vAng, Vector3d& vtDir) const
{
Machine* pMch = GetCurrMachine() ;
if ( pMch == nullptr)
return false ;
return pMch->GetPartDirFromAngles( vtPart, vAng, vtDir) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetNearestAngleInStroke( int nInd, double dAngRef, double& dAng) const