From ac9fa89de16f83b8204a8bcf07fa4b9fe072542b Mon Sep 17 00:00:00 2001 From: SaraP Date: Mon, 26 Jan 2026 12:08:41 +0100 Subject: [PATCH] 3dPrinting 3.1a1 : - correzione ordinamento setti con shortest path per evitare cambi nei collegamenti tra layers. --- LuaLibs/CalcPaths.lua | 3 +++ Version.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/LuaLibs/CalcPaths.lua b/LuaLibs/CalcPaths.lua index 0423498..d5bcec0 100644 --- a/LuaLibs/CalcPaths.lua +++ b/LuaLibs/CalcPaths.lua @@ -2040,6 +2040,9 @@ local function ShortestPathForRibs( vRibs, nGrp, bInvertOrder) if #tabRibs == 1 then -- se un solo gruppo ordinamento banale vOrd = {1} + elseif #tabRibs == 2 then + -- se due gruppi fisso l'ordinamento per evitare inversioni tra i layers + vOrd = { 1, 2} else -- se più gruppi ordinamento con shortest path EgtSpInit() diff --git a/Version.lua b/Version.lua index 41ef6af..ace580f 100644 --- a/Version.lua +++ b/Version.lua @@ -1,4 +1,4 @@ -- Version.lua by Egaltech s.r.l. 2025/09/12 -- Gestione della versione di 3dPrinting -VERSION = '2.7l1' \ No newline at end of file +VERSION = '3.1a1' \ No newline at end of file