EgtMachKernel :

- in fresatura 5 assi ora le lame sono gestite sul punto di contatto come percorso di lavoro (come in fresature standard).
This commit is contained in:
Dario Sassi
2024-10-27 18:39:03 +01:00
parent 422d30e44d
commit 47baf33ac2
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -917,6 +917,18 @@ FiveAxisMilling::GetGeometry( SELVECTOR& vIds) const
return true ;
}
//----------------------------------------------------------------------------
bool
FiveAxisMilling::AdjustEndPointForAxesCalc( const CamData* pCamData, Point3d& ptP) const
{
// se utensile lama
if ( ( m_TParams.m_nType & TF_SAWBLADE) != 0) {
// compenso il raggio dell'utensile
ptP += pCamData->GetCorrDir() * ( m_TParams.m_dDiam / 2) ;
}
return true ;
}
//----------------------------------------------------------------------------
bool
FiveAxisMilling::VerifyGeometry( SelData Id, int& nSubs, int& nType)
+1
View File
@@ -43,6 +43,7 @@ class FiveAxisMilling : public Machining
protected : // Operation
int GetSolCh( void) const override
{ return m_Params.m_nSolCh ; }
bool AdjustEndPointForAxesCalc( const CamData* pCamData, Point3d& ptP) const override ;
public : // Machining
bool Prepare( const std::string& sMillName) override ;