- caricamento e reset librerie caricate

- corretto formattazione parametri strategia
This commit is contained in:
andrea.villa
2024-04-19 15:14:33 +02:00
parent fb47b28173
commit 76ec20260e
4 changed files with 46 additions and 35 deletions
+15 -21
View File
@@ -25,6 +25,17 @@ local function GetStrategies_Egalware( Proc)
---------------------------------------------------------------------
-- Feature : Cut
if ID.IsHeadCut( Proc) then
if Proc.Topology.Name == 'FEATURE' then
Strategy_Egalware = {
StrategyID = 'STR0010',
Parameters = {
{ Value = '15', Name = 'Step', Type = 'd'},
{ Value = 'false', Name = 'AntiSplint', Type = 'b'}
}
}
table.insert( Strategies_Egalware, Strategy_Egalware)
Strategy_Egalware = {}
end
---------------------------------------------------------------------
-- Feature : Cut
elseif ID.IsSplitCut( Proc) then
@@ -176,7 +187,7 @@ local function GetStrategies_Egalware( Proc)
-- Feature : Variant
elseif ID.IsVariant( Proc) then
end
return Strategies_Egalware
end
@@ -192,18 +203,12 @@ local function GetStrategies_Essetre( Proc)
---------------------------------------------------------------------
-- Feature : Cut
if ID.IsHeadCut( Proc) then
---------------------------------------------------------------------
-- Feature : Cut
elseif ID.IsSplitCut( Proc) then
if Proc.Topology.Name == 'FEATURE' then
Strategy_Essetre = {
StrategyID = 'STR0010',
Parameters = {
{
{ Value = '15', Name = 'Step', Type = 'd'},
{ Value = '2', Name = 'Depth', Type = 'd'},
{ Value = 'false', Name = 'AntiSplint', Type = 'b'}
}
}
}
table.insert( Strategies_Essetre, Strategy_Essetre)
@@ -211,21 +216,10 @@ local function GetStrategies_Essetre( Proc)
end
---------------------------------------------------------------------
-- Feature : Cut
elseif ID.IsSplitCut( Proc) then
---------------------------------------------------------------------
-- Feature : Cut
elseif ID.IsCut( Proc) then
if Proc.Topology.Name == 'FEATURE' then
Strategy_Essetre = {
StrategyID = 'STR0001',
Parameters = {
{
{ Value = '15', Name = 'Step', Type = 'd'},
{ Value = '2', Name = 'Depth', Type = 'd'},
{ Value = 'false', Name = 'AntiSplint', Type = 'b'}
}
}
}
table.insert( Strategies_Essetre, Strategy_Essetre)
Strategy_Essetre = {}
end
---------------------------------------------------------------------
-- Feature : Longitudinal Cut
elseif ID.IsLongitudinalCut( Proc) then