Feature/BigSection:
-modifiche e correzione bug che impedivano il funzionamento corretto di headcut e split
This commit is contained in:
+10
-2
@@ -356,9 +356,17 @@ local function MakeFromTop( sCutting, Proc, nPhase, nRawId, nPartId, dOvmHead, b
|
||||
-- verifico elevazione max del materiale tagliato
|
||||
local dMaxElev
|
||||
if vtN:getX() > 0 then
|
||||
dMaxElev = b3Solid:getMax():getX() - Proc.Box:getMin():getX()
|
||||
if bForced then
|
||||
dMaxElev = b3Raw:getMax():getX() - Proc.Box:getMin():getX()
|
||||
else
|
||||
dMaxElev = b3Solid:getMax():getX() - Proc.Box:getMin():getX()
|
||||
end
|
||||
else
|
||||
dMaxElev = Proc.Box:getMax():getX() - b3Solid:getMin():getX()
|
||||
if bForced then
|
||||
dMaxElev = Proc.Box:getMax():getX() - b3Raw:getMin():getX()
|
||||
else
|
||||
dMaxElev = Proc.Box:getMax():getX() - b3Solid:getMin():getX()
|
||||
end
|
||||
end
|
||||
-- per macchina TURN aggiusto massima dimensione cubetto
|
||||
local dNewDiceDim
|
||||
|
||||
Reference in New Issue
Block a user