- correzione Beam in Commento
- corretto bug nest che non usciva se pezzo piu' lungo del grezzo
This commit is contained in:
+1
-1
@@ -41,4 +41,4 @@ GWD.OVM_MID = BD.OVM_MID
|
||||
-- Tutto ok
|
||||
GWD.ERR = 0
|
||||
|
||||
EgtOutLog( ' +++ GetWallData completed')
|
||||
EgtOutLog( ' +++ GetBeamData completed')
|
||||
|
||||
@@ -173,7 +173,11 @@ for nPartId, nCount in pairs( PART) do
|
||||
-- recupero lunghezza pezzo
|
||||
local Len = EgtGetInfo( nPartId, "L", 'd')
|
||||
local DispLen = EgtIf( Len <= 1000, 2000, 0) --EgtIf( Len <= 2000, max( 2000, 6000 - Len), 0)
|
||||
for RawIndex = 1, #Raws do
|
||||
if Len + Raws[RawIndex].StartGap < Raws[RawIndex].LenToFill then
|
||||
table.insert( Parts, {Id = nPartId, Len = Len, DispLen = DispLen, Cnt = nCount})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- lunghezza totale pezzi
|
||||
|
||||
Reference in New Issue
Block a user