- 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
|
-- Tutto ok
|
||||||
GWD.ERR = 0
|
GWD.ERR = 0
|
||||||
|
|
||||||
EgtOutLog( ' +++ GetWallData completed')
|
EgtOutLog( ' +++ GetBeamData completed')
|
||||||
|
|||||||
+5
-1
@@ -173,7 +173,11 @@ for nPartId, nCount in pairs( PART) do
|
|||||||
-- recupero lunghezza pezzo
|
-- recupero lunghezza pezzo
|
||||||
local Len = EgtGetInfo( nPartId, "L", 'd')
|
local Len = EgtGetInfo( nPartId, "L", 'd')
|
||||||
local DispLen = EgtIf( Len <= 1000, 2000, 0) --EgtIf( Len <= 2000, max( 2000, 6000 - Len), 0)
|
local DispLen = EgtIf( Len <= 1000, 2000, 0) --EgtIf( Len <= 2000, max( 2000, 6000 - Len), 0)
|
||||||
table.insert( Parts, {Id = nPartId, Len = Len, DispLen = DispLen, Cnt = nCount})
|
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
|
end
|
||||||
|
|
||||||
-- lunghezza totale pezzi
|
-- lunghezza totale pezzi
|
||||||
|
|||||||
Reference in New Issue
Block a user