Tagli testa e coda si riconoscono da topologia e non più da Prc=340/350

This commit is contained in:
andrea.villa
2025-10-20 10:33:35 +02:00
parent 5c41793b70
commit 66b273354e
6 changed files with 35 additions and 67 deletions
+3 -9
View File
@@ -6,22 +6,16 @@
local Identity = {}
---------------------------------------------------------------------
------------------------ EGALWARE FEATURES ------------------------
------------------------ SPECIAL TOPOLOGY -------------------------
---------------------------------------------------------------------
-- Feature : Head Cut
function Identity.IsHeadCut( Proc)
local bIdentity = ( Proc.nGrp == 1 and Proc.nPrc == 340)
local idPrc = 340
local idGrp = 1
return bIdentity, idPrc, idGrp
return Identity.IsCut( Proc) and Proc.Topology.sName == 'HeadCut'
end
---------------------------------------------------------------------
-- Feature : Tail Cut
function Identity.IsTailCut( Proc)
local bIdentity = ( Proc.nGrp == 2 and Proc.nPrc == 350)
local idPrc = 350
local idGrp = 2
return bIdentity, idPrc, idGrp
return Identity.IsCut( Proc) and Proc.Topology.sName == 'TailCut'
end
---------------------------------------------------------------------