DataBeam :

- migliorie gestione massimo affondamento frese
- miglioria ingombro tagli in testa o coda.
This commit is contained in:
Dario Sassi
2020-02-15 10:04:03 +00:00
parent 8e55da5a44
commit f0c708f3f1
5 changed files with 13 additions and 11 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
-- ProcessCut.lua by Egaltech s.r.l. 2020/01/07
-- ProcessCut.lua by Egaltech s.r.l. 2020/02/14
-- Gestione calcolo singoli tagli di lama per Travi
-- Tabella per definizione modulo
@@ -187,13 +187,13 @@ function ProcessCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead, bFromBottom)
if Proc.Head then
local dOffs = b3Raw:getMax():getX() - dOvmHead - Proc.Box:getMin():getX()
if abs( vtN:getZ()) > 0.5 then
dOffs = 0.4 * dOffs
dOffs = dOffs - 0.6 * Proc.Box:getDimX()
end
BL.UpdateHCING( nRawId, dOffs)
elseif Proc.Tail then
local dOffs = Proc.Box:getMax():getX() - b3Solid:getMin():getX()
if abs( vtN:getZ()) > 0.5 then
dOffs = 0.4 * dOffs
dOffs = dOffs - 0.6 * Proc.Box:getDimX()
end
BL.UpdateTCING( nRawId, dOffs)
end