- in BatchProcessNew gestito Flag 10 per FlipRot

This commit is contained in:
luca.mazzoleni
2026-04-03 15:05:15 +02:00
parent 70d170b2a3
commit 0f58c026d0
+15 -2
View File
@@ -691,10 +691,16 @@ if bToProcess then
-- TODO gestire errori e messaggi di ritorno in questo caso
if not GetDataConfig() then return end
BeamExec.GetProcessings( PARTS, false)
BeamExec.GetCombinationMatrix( PARTS, false)
BeamExec.GetProcessings( PARTS, BEAM.FLAG == 10)
BeamExec.GetCombinationMatrix( PARTS, BEAM.FLAG == 10)
BeamExec.ProcessMachinings( PARTS)
-- scrittura variabili globali per interfaccia
if BEAM.FLAG == 10 then
BEAM.PREROTATE90 = PARTS[1].nInitialPosition - 1
BEAM.PREINVERT = EgtIf( PARTS[1].bPartInCombiIsInverted, 1, 0)
end
-- si cancella gruppo temporaneo contenente entità da cancellare
EgtErase( idTempGroup)
@@ -773,6 +779,13 @@ if bToProcess then
end
end
-- calcolo alternative (scrive già le variabili globali per interfaccia)
if BEAM.FLAG == 10 then
TIMER:startElapsed('Alternatives')
BeamExec.ProcessAlternatives( PARTS)
TIMER:stopElapsed('Alternatives')
end
-- TODO: se scarico a caduta (-101, -102) le lavorazioni dopo separazione vanno disattivate. Scrivere info feature incompleta su quelle feature
-- Salvo il progetto