From b472c6b88ec029f6029a6894976a01046e402c46 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 7 Jan 2026 18:17:12 +0100 Subject: [PATCH] DataDoors 3.1a1 : - aggiunta gestione ProbeId anche per Probe su Pivot del lato cerniere (intermediatepivot). --- Main.lua | 8 +++++--- Version.lua | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Main.lua b/Main.lua index 47b8f0c..f4ffdd5 100644 --- a/Main.lua +++ b/Main.lua @@ -1,4 +1,4 @@ --- Main.lua by EgalWare s.r.l. 2025.12.16 +-- Main.lua by EgalWare s.r.l. 2026.01.07 -- Main creazione porte da descrizione DDF -- 2016.09.07 V1.001 FM Modificata gestione flush bolt -- 2016.09.14 V1.002 FM Aggiunta gestione log file @@ -113,7 +113,8 @@ -- 202x.xx.xx V3.xxx FM Manage new CurrCamInfo parameter 'WideDoorWidth' to manage large wide doors stored into new DGD.Part parameter -- 2025.05.06 v2.7e1 DS Correzione funzione SubAndDeleteTempSurf. -- 2025.10.29 v2.7j3 DS Correzione a SubAndDeleteTempSurf (aggiunto controllo esistenza regioni). --- 2025.12.16 v2.7l1 DS Aggiunta gestione TrimLTHB per distanze dai bordi del trim decorazioni. +-- 2025.12.16 v2.7l1 DS Aggiunta gestione TrimLTHB per distanze dai bordi del trim decorazioni. +-- 2026.01.07 v3.1a1 DS Gestione indice probe anche per Pivot su Hinge (intermediatepivot). -- Intestazioni require( 'EgtBase') @@ -1603,7 +1604,8 @@ local function InsertProbeGeom( nIdGeom, ptPosGeom, ptFromExt, nTypeHw, nNumSide local nIdEnt = EgtGetFirstInGroup( nIdGeom) -- ottengo prima entità while nIdEnt do local sNameEnt = EgtGetName( nIdEnt) or '' - if sNameEnt and string.find( sNameEnt, 'Hinge_Probe') or string.find( sNameEnt, 'Shuttle_Probe') then + if sNameEnt and string.find( sNameEnt, 'Hinge_Probe') or string.find( sNameEnt, 'Shuttle_Probe') or + ( string.find( sNameEnt, 'Pivot_Probe') and nNumSide == 1) then bFoundShuttleProbe = true break end diff --git a/Version.lua b/Version.lua index 0f69fb9..54971dd 100644 --- a/Version.lua +++ b/Version.lua @@ -1,6 +1,6 @@ --- Version.lua by EgalWare s.r.l. 2025/12/16 +-- Version.lua by EgalWare s.r.l. 2026/01/07 -- Gestione della versione di Doors NAME = 'Doors' -VERSION = '2.7l1' +VERSION = '3.1a1' MIN_EXE = '2.6k4'