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:
DarioS
2021-10-19 15:05:58 +02:00
parent 26753f8aab
commit 0d2be74bff
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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