- gestito ritorno messaggi apply in risultati in caso di errore
- BLADETOWASTE miglikorata e modificata per gestire DOUBLECUT (da completare) - in BeamExec si eliminano le entità aggiunte non usate
This commit is contained in:
+14
-1
@@ -1036,7 +1036,6 @@ local function OrderFeatures( vProc)
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
-- TODO gestire Proc che non hanno una ChosenStrategy, perchè sono specchiate, multi (si legge il risultato da un'altra feature?) o non è stata trovata una strategia
|
||||
local function AddFeatureResultToGlobalList( Proc, OptionalParameters)
|
||||
local sStrategyId
|
||||
local sStatus
|
||||
@@ -1085,6 +1084,9 @@ local function AddFeatureResultToGlobalList( Proc, OptionalParameters)
|
||||
RESULT[#RESULT].AvailableStrategies = BeamLib.TableCopyDeep( Proc.AvailableStrategies)
|
||||
end
|
||||
|
||||
-- si segna nella Proc la sua posizione nel RESULT
|
||||
Proc.nIndexInResult = #RESULT
|
||||
|
||||
return RESULT
|
||||
end
|
||||
|
||||
@@ -1587,6 +1589,17 @@ function BeamExec.ProcessMachinings( PARTS)
|
||||
bIsCombinationMachinable = bIsCombinationMachinable and bAllStrategiesApplied
|
||||
end
|
||||
|
||||
-- cancellazione entità create ma non usate
|
||||
-- TODO funzione?
|
||||
local idAddGroup = BeamLib.GetAddGroup( PARTS[nPart].id)
|
||||
local idCreatedEntity = EgtGetFirstInGroup( idAddGroup or GDB_ID.NULL)
|
||||
while idCreatedEntity do
|
||||
if EgtGetLevel( idCreatedEntity) == GDB_LV.TEMP then
|
||||
EgtErase( idCreatedEntity)
|
||||
end
|
||||
idCreatedEntity = EgtGetNext( idCreatedEntity)
|
||||
end
|
||||
|
||||
-- ordinamento lavorazioni
|
||||
-- TODO completare ordinamento. Mancano le dipendenze.
|
||||
-- TODO la FinalizeSorting andrebbe rimossa e usato un sorting che non viola le dipendenze
|
||||
|
||||
Reference in New Issue
Block a user