From 3c1925ed290f364cca1e875271bf1d318089ae61 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Thu, 17 Jul 2025 16:20:34 +0200 Subject: [PATCH] Nuovo parametro configurabile --- Strategies/Standard/STR0013/STR0013.json | 14 ++++++++++++-- Strategies/Standard/STR0013/STR0013.lua | 2 -- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Strategies/Standard/STR0013/STR0013.json b/Strategies/Standard/STR0013/STR0013.json index c411f55..0dd54eb 100644 --- a/Strategies/Standard/STR0013/STR0013.json +++ b/Strategies/Standard/STR0013/STR0013.json @@ -1,6 +1,6 @@ { "sStrategyId": "STR0013", - "sStrategyName": "Hole with Drillbit", + "sStrategyName": "Hole with Mill", "ParameterList" : [ { "sName": "dDiameterTolerance", @@ -12,11 +12,21 @@ "sMessageId": " ", "sMinUserLevel": "1" }, + { + "sName": "bUseMillAsDrill", + "sNameNge": "DRILLMILL", + "sValue": "0", + "sDescriptionShort": "Use mill as a drillbit", + "sDescriptionLong": "Admit to use the mill as a drillbit", + "sType": "b", + "sMessageId": " ", + "sMinUserLevel": "1" + }, { "sName": "sDrillingMode", "sNameNge": "DRILLING_MODE", "sValue": "AUTO", - "sDescriptionShort": "Cutting Strategy", + "sDescriptionShort": "Drilling mode", "sDescriptionLong": "", "sType": "combo", "sMinUserLevel": "1", diff --git a/Strategies/Standard/STR0013/STR0013.lua b/Strategies/Standard/STR0013/STR0013.lua index 35b7630..e753df8 100644 --- a/Strategies/Standard/STR0013/STR0013.lua +++ b/Strategies/Standard/STR0013/STR0013.lua @@ -14,8 +14,6 @@ local FeatureLib = require( 'FeatureLib') local STR0013 = {} local Strategy = {} --- TODO Da fare completamente gestione foratura doppia con 2 teste - ------------------------------------------------------------------------------------------------------------- function GetDrillingStrategy( Proc, Part) local ToolSearchParameters = {}