DataBeam :

- migliorata gestione ingombri testa e coda
- correzioni varie.
This commit is contained in:
Dario Sassi
2019-09-25 06:29:40 +00:00
parent 39be33451a
commit 1eec76b233
17 changed files with 127 additions and 62 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
-- ProcessDrill.lua by Egaltech s.r.l. 2019/09/09
-- ProcessDrill.lua by Egaltech s.r.l. 2019/09/17
-- Gestione calcolo doppi tagli di lama per Travi
-- Tabella per definizione modulo
@@ -195,12 +195,16 @@ function ProcessDoubleCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
local dOffs = b3Raw:getMax():getX() - dOvmHead - Proc.Box:getMin():getX()
if vtNm:getZ() > 0.5 then
dOffs = 0.5 * dOffs
elseif abs( vtNm:getZ()) > 0.35 then
dOffs = 0.75 * dOffs
end
BL.UpdateHCING( nRawId, dOffs)
elseif Proc.Tail then
local dOffs = Proc.Box:getMax():getX() - b3Raw:getMin():getX()
local dOffs = Proc.Box:getMax():getX() - b3Solid:getMin():getX()
if vtNm:getZ() > 0.5 then
dOffs = 0.5 * dOffs
elseif abs( vtNm:getZ()) > 0.35 then
dOffs = 0.75 * dOffs
end
BL.UpdateTCING( nRawId, dOffs)
end