DataBeam :

- nei fori si usa maxElev anche con svuotature
- in LongCut e LongDoubleCut aggiunta opzione tipo lavorazione 'LongCut' (per poter usare una lama diversa da quella dei tagli).
This commit is contained in:
DarioS
2021-11-02 08:45:10 +01:00
parent 2f2bedd6ac
commit ba56902ece
3 changed files with 21 additions and 19 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
-- ProcessLongCut.lua by Egaltech s.r.l. 2021/10/19
-- ProcessLongCut.lua by Egaltech s.r.l. 2021/10/29
-- Gestione calcolo taglio longitudinale per Travi
-- 2021/02/03 Corretto FaceUse con fresa orizzontale su taglio orizzontale.
-- 2021/05/18 Possibile taglio con lama anche di fianco su macchina con testa da sotto.
@@ -6,6 +6,7 @@
-- 2021/07/20 Con utensile di fianco e con determinati angoli e se altezza utensile è inferiore all'altezza faccia
-- è possibile fare doppio taglio opposto su tutte le facce(sopra, sotto e fianchi)
-- 2021/09/03 Gestione facce lunghe non passanti con taglio di lama
-- 2021/10/29 Aggiunta opzione tipo lavorazione 'LongCut'.
-- Tabella per definizione modulo
local ProcessLongCut = {}
@@ -475,9 +476,10 @@ function ProcessLongCut.Make( Proc, nPhase, nRawId, nPartId, bCustUseBlade, nCus
end
end
if bCanUseBlade then
sCutting = ML.FindCutting( 'HeadSide')
local sCutType = EgtIf( BD.USE_LONGCUT, 'LongCut', 'HeadSide')
sCutting = ML.FindCutting( sCutType)
if not sCutting then
local sErr = 'Error : sawing HeadSide not found in library'
local sErr = 'Error : sawing '..sCutType..' not found in library'
EgtOutLog( sErr)
return false, sErr
end