DataBeam :
- migliorie gestione massimo affondamento frese - miglioria ingombro tagli in testa o coda.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user