DataBeam :

- in tagli con lama evitato ribaltamento testa se taglio verso il basso non sbieco.
This commit is contained in:
DarioS
2021-09-19 18:26:20 +02:00
parent 6942aac9e2
commit ea79bddc58
+3 -2
View File
@@ -1,8 +1,9 @@
-- ProcessCut.lua by Egaltech s.r.l. 2021/09/10
-- ProcessCut.lua by Egaltech s.r.l. 2021/09/19
-- Gestione calcolo singoli tagli di lama per Travi
-- 2021/05/18 I due tagli con testa da sotto di un cubetto sono fatti di seguito.
-- 2021/06/06 Correzioni per tagli con testa da sotto.
-- 2021/07/14 Migliorie per tagli con testa da sotto.
-- 2021/09/19 Tagli da sotto non sbiechi favorita posizione da sopra di testa.
-- Tabella per definizione modulo
local ProcessCut = {}
@@ -409,7 +410,7 @@ local function MakeFromTop( sCutting, Proc, nPhase, nRawId, nPartId, dOvmHead, b
local dVzLimDwnUp = dNzLimDwnUp
if j ~= 1 then
vtNewOrthoO = -vtOrthoO
if not BD.C_SIMM then dVzLimDwnUp = -0.707 end
if not BD.C_SIMM and abs( vtN:getY()) > 0.05 then dVzLimDwnUp = -0.707 end
end
local bOk, sErr = BL.MakeOneFaceBySaw( vCuts[i][j], 0, sCutting, dSawDiam, vtNewOrthoO, dVzLimDwnUp, BD.CUT_EXTRA_MIN, BD.CUT_SIC, 0, 0, 0, nil, b3Raw)
if not bOk then