967519492c
- Migliorato riconoscimento fase di lavoro per profilature - Prima versione gestione tipo macchina, linea o pantografo - Corretto offsetX pezzo in base a ingombro profili di testa - Altre piccole correzioni
42 lines
1.4 KiB
Lua
42 lines
1.4 KiB
Lua
-- Identity.lua by Egalware s.r.l. 2024/06/18
|
|
-- Libreria Riconoscimento della feature
|
|
|
|
-- Tabella per definizione modulo
|
|
local Identity = {}
|
|
|
|
---------------------------------------------------------------------
|
|
------------------------ STANDARD FEATURES ------------------------
|
|
---------------------------------------------------------------------
|
|
-- Feature : Drilling
|
|
function Identity.IsDrilling( Proc)
|
|
return Proc.sType == 'Hole'
|
|
end
|
|
---------------------------------------------------------------------
|
|
-- Feature : Cutting
|
|
function Identity.IsCutting( Proc)
|
|
return Proc.sType == 'Cut'
|
|
end
|
|
---------------------------------------------------------------------
|
|
-- Feature : Milling
|
|
function Identity.IsMilling( Proc)
|
|
return Proc.sType == 'Milling'
|
|
end
|
|
---------------------------------------------------------------------
|
|
-- Feature : Pocketing
|
|
function Identity.IsPocketing( Proc)
|
|
return Proc.sType == 'Pocket'
|
|
end
|
|
---------------------------------------------------------------------
|
|
-- Feature : Profiling
|
|
function Identity.IsProfiling( Proc)
|
|
return Proc.sType == 'Profiling'
|
|
end
|
|
|
|
---------------------------------------------------------------------
|
|
----------------------------- PIECES ------------------------------
|
|
---------------------------------------------------------------------
|
|
|
|
|
|
---------------------------------------------------------------------
|
|
return Identity
|