From 4047b8385ea858818099b54f55cd94404e522e65 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 24 Oct 2023 11:52:23 +0200 Subject: [PATCH] =?UTF-8?q?EgtMachKernel=20:=20-=20aggiunto=20messaggio=20?= =?UTF-8?q?di=20log=20nel=20caso=20di=20utensile=20non=20caricato=20perch?= =?UTF-8?q?=C3=A8=20l'insieme=20tavola-testa=20non=20ha=20tre=20assi=20lin?= =?UTF-8?q?eari.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MachineCalc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MachineCalc.cpp b/MachineCalc.cpp index 56eed2a..9969cd7 100644 --- a/MachineCalc.cpp +++ b/MachineCalc.cpp @@ -502,8 +502,10 @@ Machine::CalculateKinematicChain( void) m_vCalcLinAx[i].nInd *= -1 ; } // devono essere 3 - if ( m_vCalcLinAx.size() != 3) + if ( m_vCalcLinAx.size() != 3) { + LOG_ERROR( GetEMkLogger(), "Linear Axes are not 3 in number") return false ; + } // devono essere ordinabili come XYZ if ( ! m_vCalcLinAx[0].vtDir.IsX()) { if ( m_vCalcLinAx[1].vtDir.IsX())