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:
@@ -1,8 +1,9 @@
|
||||
-- ProcessDrill.lua by Egaltech s.r.l. 2021/09/19
|
||||
-- ProcessDrill.lua by Egaltech s.r.l. 2021/10/29
|
||||
-- Gestione calcolo forature per Travi
|
||||
-- 2021/04/14 DS Corretta gestione Invert con testa da sotto. Migliorato calcolo ingombro portautensile.
|
||||
-- 2021/05/03 DS Su macchina con testa da sotto aggiunta possibilità di fare fori verticali metà sopra e l'altra sotto.
|
||||
-- 2021/09/19 DS Si premia il più possibile ricerca punta con adeguato affondamento.
|
||||
-- 2021/10/29 DS MaxElev anche su fori con svuotatura.
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
local ProcessDrill = {}
|
||||
@@ -411,14 +412,11 @@ function ProcessDrill.Make( Proc, nPhase, nRawId, nPartId)
|
||||
EgtSetMachiningParam( MCH_MP.DEPTH, dDepth)
|
||||
-- Note utente con dichiarazione nessuna generazione sfridi per Vmill
|
||||
local sUserNotes = 'VMRS=0;'
|
||||
-- se foratura
|
||||
if sType == 'Drill' or sType == 'Drill_H2' then
|
||||
-- aggiungo alle note massima elevazione (coincide con affondamento)
|
||||
sUserNotes = sUserNotes .. 'MaxElev=' .. EgtNumToString( dDepth, 1) .. ';'
|
||||
-- se foro passante, aggiungo questa qualifica alle note
|
||||
if bOpen then
|
||||
sUserNotes = sUserNotes .. 'Open=1;'
|
||||
end
|
||||
-- aggiungo alle note massima elevazione (coincide con affondamento)
|
||||
sUserNotes = sUserNotes .. 'MaxElev=' .. EgtNumToString( dDepth, 1) .. ';'
|
||||
-- se foro passante, aggiungo questa qualifica alle note
|
||||
if ( sType == 'Drill' or sType == 'Drill_H2') and bOpen then
|
||||
sUserNotes = sUserNotes .. 'Open=1;'
|
||||
end
|
||||
-- se lavorazione in doppio
|
||||
if EgtExistsInfo( Proc.Id, 'MAIN') then
|
||||
|
||||
Reference in New Issue
Block a user