DataWall :
- corretto riconoscimento lavorabilità taglio (ora non lavorabile se rivolto verso il basso oltre 60deg) - corretta gestione lavorazioni disabilitate perchè in doppio (non vanno segnalate come non fattibili).
This commit is contained in:
@@ -30,7 +30,7 @@ function WPC.Classify( Proc, b3Raw)
|
||||
if Proc.Fct ~= 1 then return false end
|
||||
-- controllo la normale
|
||||
local ptC, vtN = EgtSurfTmFacetCenter( Proc.Id, 0, GDB_ID.ROOT)
|
||||
if abs( vtN:getZ()) < WD.NZ_MINA then return false end
|
||||
if vtN:getZ() < -0.5 then return false end
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-- WallExec.lua by Egaltech s.r.l. 2021/10/18
|
||||
-- WallExec.lua by Egaltech s.r.l. 2021/10/19
|
||||
-- Libreria esecuzione lavorazioni per Pareti
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
@@ -450,7 +450,7 @@ function WallExec.ProcessFeatures()
|
||||
else
|
||||
table.insert( Stats, {Err=0, Msg='', Rot=0, CutId=Proc.CutId, TaskId=Proc.TaskId})
|
||||
end
|
||||
else
|
||||
elseif not Proc.Double then
|
||||
local sMsg = 'Feature not machinable by orientation'
|
||||
table.insert( Stats, {Err=1, Msg=sMsg, Rot=0, CutId=Proc.CutId, TaskId=Proc.TaskId})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user