From 40b6da6b449ee4c1efe9b27ef0ba54af914ea94d Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Wed, 24 Sep 2025 09:46:02 +0200 Subject: [PATCH] EgtGeomKernel : - correzione selezione caso VM5assi. --- VolZmapVolume.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 3558439..16af3bd 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -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 ptLs( nStepCnt) ; vector ptLe( nStepCnt) ;