DataBeam :

- correzioni varie per tagli a cubetti.
This commit is contained in:
Dario Sassi
2021-01-07 07:57:56 +00:00
parent a8a97eae97
commit e23dfe1049
6 changed files with 38 additions and 28 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
-- ProcessSplit.lua by Egaltech s.r.l. 2020/09/22
-- ProcessSplit.lua by Egaltech s.r.l. 2021/01/02
-- Gestione calcolo tagli di separazione per Travi
-- Tabella per definizione modulo
@@ -177,7 +177,7 @@ function ProcessSplit.Make( Proc, nPhase, nRawId, nPartId)
local nOrthoOpposite = EgtIf( bHorizCut, MCH_MILL_FU.ORTHO_DOWN, MCH_MILL_FU.ORTHO_BACK)
-- separazione solo se esiste grezzo successivo con pezzi o scaricabile
local nNextRawId = EgtGetNextRawPart( nRawId)
local bSplit = ( nNextRawId and ( EgtGetPartInRawPartCount( nNextRawId) > 0 or EgtGetRawPartBBox( nNextRawId):getDimX() > BD.MinRaw))
local bSplit = ( nNextRawId and ( EgtGetPartInRawPartCount( nNextRawId) > 0 or EgtGetRawPartBBox( nNextRawId):getDimX() >= BD.MinRaw))
-- determino se più tagli con offset
local nCuts = 1
local dOffsL = 0