From d8d98fe8ae33eb96457d3d593dacf5f174eda75d Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 12 Jul 2021 16:02:59 +0200 Subject: [PATCH] Integration 2.3g2 : - gestione PosY per pareti a layer. --- IntegrationEgaltech/BTL.cs | 4 ++++ IntegrationEgaltech/Generator.cs | 2 ++ IntegrationEgaltech/Properties/AssemblyInfo.cs | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/IntegrationEgaltech/BTL.cs b/IntegrationEgaltech/BTL.cs index 42170c7..51f0e7f 100644 --- a/IntegrationEgaltech/BTL.cs +++ b/IntegrationEgaltech/BTL.cs @@ -78,6 +78,9 @@ namespace ib.essetre.integration.egaltech string posX = singlePart.x.ToString( "0.00", System.Globalization.CultureInfo.InvariantCulture) ; tw.WriteLine( Constants.USERATTRIBUTE + "\"POSX\":" + "\"" + posX + "\"") ; + string posY = singlePart.y.ToString( "0.00", System.Globalization.CultureInfo.InvariantCulture) ; + tw.WriteLine( Constants.USERATTRIBUTE + "\"POSY\":" + "\"" + posY + "\"") ; + string posZ = singlePart.z.ToString( "0.00", System.Globalization.CultureInfo.InvariantCulture) ; tw.WriteLine( Constants.USERATTRIBUTE + "\"POSZ\":" + "\"" + posZ + "\"") ; @@ -485,6 +488,7 @@ namespace ib.essetre.integration.egaltech public string Type ; public List features ; public double x ; + public double y ; public double z ; public double inverted ; public double rotated ; diff --git a/IntegrationEgaltech/Generator.cs b/IntegrationEgaltech/Generator.cs index 0e8df54..c9cb6f5 100644 --- a/IntegrationEgaltech/Generator.cs +++ b/IntegrationEgaltech/Generator.cs @@ -594,6 +594,7 @@ namespace ib.essetre.integration.egaltech readPart.height = dRowF["height"].ToString() ; readPart.width = dRowF["width"].ToString() ; readPart.x = (double)dRowF["x"] ; + readPart.y = (double)dRowF["y"] ; readPart.z = (double)dRowF["z"] ; readPart.inverted = (double)dRowF["inverted"] ; readPart.rotated = (double)dRowF["rotated"] ; @@ -743,6 +744,7 @@ namespace ib.essetre.integration.egaltech readPart.height = dRowF["height"].ToString() ; readPart.width = dRowF["width"].ToString() ; readPart.x = Constants.HeadOverMat ; + readPart.y = 0 ; readPart.z = 0 ; readPart.inverted = (double)dRowF["inverted"] ; readPart.rotated = (double)dRowF["rotated"] ; diff --git a/IntegrationEgaltech/Properties/AssemblyInfo.cs b/IntegrationEgaltech/Properties/AssemblyInfo.cs index e89d3f7..d97fd84 100644 --- a/IntegrationEgaltech/Properties/AssemblyInfo.cs +++ b/IntegrationEgaltech/Properties/AssemblyInfo.cs @@ -36,5 +36,5 @@ using System.Runtime.InteropServices; // È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build // usando l'asterisco '*' come illustrato di seguito: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.7.1")] -[assembly: AssemblyFileVersion("2.3.7.1")] +[assembly: AssemblyVersion("2.3.7.2")] +[assembly: AssemblyFileVersion("2.3.7.2")]