- NestProcess modificata per riflettere nuovi FLAg da BeamWall

- in PanelSaw modificato il nome del file esportato
This commit is contained in:
luca.mazzoleni
2025-09-08 18:14:37 +02:00
parent 5b45aee1f2
commit dbf668863a
2 changed files with 14 additions and 11 deletions
+12 -9
View File
@@ -18,13 +18,14 @@ NEST.MACH_AREA_USE_OTHER_DIAM = 1 -- 0
NEST.MACH_AREA_OTHER_DIAM = 200
NEST.MACH_AREA_IGNORE_3rdFACE = 1 -- 0
if NEST.FLAG ~= 11 then
local sLog = 'NestProcess : ' .. NEST.FILE .. ', ' .. NEST.MACHINE .. ', ' .. LEN[1] .. ', ' .. WIDTH[1]
EgtOutLog( sLog)
local sLog = 'NestProcess : ' .. NEST.FILE .. ', ' .. NEST.MACHINE .. ', ' .. LEN[1] .. ', ' .. WIDTH[1]
EgtOutLog( sLog)
-- Cancello file di log specifico
local sLogFile = EgtChangePathExtension( NEST.FILE, '.txt')
EgtEraseFile( sLogFile)
-- Cancello file di log specifico
local sLogFile = EgtChangePathExtension( NEST.FILE, '.txt')
EgtEraseFile( sLogFile)
end
-- Imposto direttorio libreria specializzata per Travi
EgtAddToPackagePath( NEST.BASEDIR .. '\\LuaLibs\\?.lua')
@@ -1688,7 +1689,7 @@ EgtResetCurrMachGroup()
-- modalità nesting utile per cabinet: un grezzo per ogni pezzo, pezzo centrato nel grezzo. Il grezzo non viene preso da magazzino ma creato ad hoc, con un dato sovramateriale.
-- il numero del MachGroup deve coincidere con il PDN del pezzo originale
if WD.ENABLE_SIMPLE_NESTING then
if NEST.FLAG == 2 then
-- sovramateriale richiesto
local dOverMaterial = max( 0, NEST.KERF or 2)
@@ -1791,10 +1792,12 @@ if WD.ENABLE_SIMPLE_NESTING then
EgtOutLog( ' +++ Generating Cutting List')
return
-- TEST
elseif NEST.FLAG == 11 then
-- TODO gestire tipo di cutting list da generare (PANELSAW)
PanelSaw.GenerateCuttingList( 'Cutty')
-- TEST
return
end