EgtGeomKernel :

- correzione selezione caso VM5assi.
This commit is contained in:
Daniele Bariletti
2025-09-24 09:46:02 +02:00
parent b083dabc6b
commit 40b6da6b44
+7 -3
View File
@@ -2438,7 +2438,7 @@ VolZmap::MillingGeneralMotionStep( const Point3d& ptPs, const Vector3d& vtDs, co
const Point3d& ptPe, const Vector3d& vtDe, const Vector3d& vtAe)
{
// Flag per impostare vecchia (approssimativa) o nuova modalità di calcolo
constexpr bool OLD_LINEAR = true ;
constexpr bool OLD_LINEAR = false ;
// Deve essere definito l'utensile corrente
if ( m_nCurrTool < 0 || m_nCurrTool >= int( m_vTool.size()))
@@ -2535,8 +2535,12 @@ VolZmap::MillingGeneralMotionStep( const Point3d& ptPs, const Vector3d& vtDs, co
else
n5AxisType = Move5Axis::NO_BASE_INTERS ;
}
else if ( bAlong)
n5AxisType = Move5Axis::NO_BASE_INTERS ;
else if (bAlong) {
if (bAlongInters)
n5AxisType = Move5Axis::ACROSS;
else
n5AxisType = Move5Axis::NO_BASE_INTERS;
}
vector<Point3d[N_MAPS]> ptLs( nStepCnt) ;
vector<Point3d[N_MAPS]> ptLe( nStepCnt) ;