From bf4bf9ba45bfdddd7ae796fa472a837f7620894d Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Tue, 4 Nov 2025 13:02:59 +0100 Subject: [PATCH] Aggiunta tolleranza in creazione piano di lavoro inclinato --- Common_ONE-PF.NUM.mlpe | 2 +- UpdateLog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Common_ONE-PF.NUM.mlpe b/Common_ONE-PF.NUM.mlpe index 3a8357e..4cbf6ba 100644 --- a/Common_ONE-PF.NUM.mlpe +++ b/Common_ONE-PF.NUM.mlpe @@ -2648,7 +2648,7 @@ function CalcInterpPlane() local _, dAngV, dAngO = SphericalFromVector( vtE) local dAngO2 = EmtGetAngO2( EMT.IPLGLFR:getVersZ(), EMT.IPLGLFR:getVersX(), dAngV, dAngO) dAngO = dAngO + 90 - while dAngO >= 360 do + while dAngO + 100 * GEO.EPS_SMALL > 360 do dAngO = dAngO - 360 end EMT.IPLGLSTR = ' EX0 EY'..EmtLenToString( xS)..' EZ0'.. diff --git a/UpdateLog.txt b/UpdateLog.txt index c7b91e3..55c86d7 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -2,6 +2,7 @@ Versione 2.7-- (--/--/2025) - (SIM-GEN) Corretto calcolo per decidere se serve aprire i rulli +- (GEN) Aggiunta tolleranza in creazione piano di lavoro inclinato Versione 2.7j3 (23/10/2025) - (SIM) Corretta posizione parcheggio in caso di testa 1 su magazzino 2. Ticket#2660