From ce156606e657ff18734cc0aa30a47b2a8845a57c Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Fri, 19 Apr 2024 11:51:48 +0200 Subject: [PATCH] - Corretto campo nome topologia --- LuaLibs/BasicCustomerStrategies.lua | 16 ++++++++-------- LuaLibs/BeamLib.lua | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LuaLibs/BasicCustomerStrategies.lua b/LuaLibs/BasicCustomerStrategies.lua index b47b5b3..a8e1d9b 100644 --- a/LuaLibs/BasicCustomerStrategies.lua +++ b/LuaLibs/BasicCustomerStrategies.lua @@ -195,14 +195,14 @@ local function GetStrategies_Essetre( Proc) --------------------------------------------------------------------- -- Feature : Cut elseif ID.IsSplitCut( Proc) then - if Proc.TopologyName == 'FEATURE' then + if Proc.Topology.Name == 'FEATURE' then Strategy_Essetre = { StrategyID = 'STR0010', Parameters = { { - { Value = '15', Name = 'Step', Description = 'Questo è lo step di lavorazione', Type = 'd'}, - { Value = '2', Name = 'Depth', Description = 'Affondamento lavorazione', Type = 'd'}, - { Value = 'false', Name = 'AntiSplint', Description = 'Antischeggia', Type = 'b'} + { Value = '15', Name = 'Step', Type = 'd'}, + { Value = '2', Name = 'Depth', Type = 'd'}, + { Value = 'false', Name = 'AntiSplint', Type = 'b'} } } } @@ -212,14 +212,14 @@ local function GetStrategies_Essetre( Proc) --------------------------------------------------------------------- -- Feature : Cut elseif ID.IsCut( Proc) then - if Proc.TopologyName == 'FEATURE' then + if Proc.Topology.Name == 'FEATURE' then Strategy_Essetre = { StrategyID = 'STR0001', Parameters = { { - { Value = '15', Name = 'Step', Description = 'Questo è lo step di lavorazione', Type = 'd'}, - { Value = '2', Name = 'Depth', Description = 'Affondamento lavorazione', Type = 'd'}, - { Value = 'false', Name = 'AntiSplint', Description = 'Antischeggia', Type = 'b'} + { Value = '15', Name = 'Step', Type = 'd'}, + { Value = '2', Name = 'Depth', Type = 'd'}, + { Value = 'false', Name = 'AntiSplint', Type = 'b'} } } } diff --git a/LuaLibs/BeamLib.lua b/LuaLibs/BeamLib.lua index e2f5142..723de89 100644 --- a/LuaLibs/BeamLib.lua +++ b/LuaLibs/BeamLib.lua @@ -177,7 +177,7 @@ function BeamLib.Is3EdgesApprox( Proc, nFacet, nAddGrpId) -- recupero il numero effettivo di lati local _, nEntityCount = EgtCurveDomain( nContourId) local nEdges = nEntityCount - if nEntityCount and nEntityCount == 3 then + if nEntityCount and nEntityCount == 3 then bResult = true -- rimuovo i lati molto corti dal conteggio totale elseif nEntityCount then