From 30d0efa0ca2c3d7fd57f231793990d746db33ea7 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Wed, 8 Oct 2025 17:16:55 +0200 Subject: [PATCH] =?UTF-8?q?-=20in=20PanelSaw=20in=20esportazione=20Homag?= =?UTF-8?q?=20la=20descrizione=20del=20tipo=20di=20grain=20=C3=A8=20in=20o?= =?UTF-8?q?landese?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/PanelSaw.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/LuaLibs/PanelSaw.lua b/LuaLibs/PanelSaw.lua index f39339c..287f7ce 100644 --- a/LuaLibs/PanelSaw.lua +++ b/LuaLibs/PanelSaw.lua @@ -308,6 +308,14 @@ local function BuildCuttingList_Homag( PanelList, ActualSheetList, ProjectInfo) } for i = 1, #PanelList do local sGrain = PanelList[i].sGrainDirection + -- TODO questo dipenderà dalla lingua dell'esportazione; andrà fatto un tipo di esportazione specifica per ogni lingua (es: HOMAG_NL, HOMAG_ENG, ...) + if sGrain == 'None' then + sGrain = 'Geen' + elseif sGrain == 'Length' then + sGrain = 'Lengte' + elseif sGrain == 'Width' then + sGrain = 'Breedte' + end Panels.ValuesList[i] = { PanelList[i].sDescription, PanelList[i].nQuantity, PanelList[i].dLength, PanelList[i].dWidth, PanelList[i].sMaterialPlusThickness, sGrain, PanelList[i].sEdgeMaterialLeft, PanelList[i].sEdgeMaterialRight, PanelList[i].sEdgeMaterialTop, PanelList[i].sEdgeMaterialBottom, ProjectInfo.sProjectName, PanelList[i].sBarcode} end