DataBeam :

- aggiunta gestione sfrido di testa e coda da parametri utente TS3
- aggiunta gestione lavorazione tipo Mortise per mortasature
- tolto controllo non più utile da DtMortise.
This commit is contained in:
Dario Sassi
2020-05-25 13:43:35 +00:00
parent 1e612fac4a
commit 5d5732e142
4 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -871,7 +871,7 @@ end
-------------------------------------------------------------------------------------------------------------
local function MoveDrillsOnTenon( vProc)
-- se non richiesto spostamento fori su tenone, esco
if abs( BD.OFFSET_DRILL_TENON) < 0.1 then return end
if not BD.OFFSET_DRILL_TENON or abs( BD.OFFSET_DRILL_TENON) < 0.1 then return end
-- ciclo sulle feature
for i = 1, #vProc do
if Tenon.Identify( vProc[i]) then
+2 -6
View File
@@ -1,4 +1,4 @@
-- ProcessDtMortise.lua by Egaltech s.r.l. 2020/04/27
-- ProcessDtMortise.lua by Egaltech s.r.l. 2020/05/25
-- Gestione calcolo mortase a coda di rondice per Travi
-- Tabella per definizione modulo
@@ -245,11 +245,7 @@ function ProcessDtMortise.Make( Proc, nPhase, nRawId, nPartId)
vtAx:normalize()
local vtOrtDiff = vtDiff - vtDiff * vtAx * vtAx
local dDist = vtOrtDiff:len()
if dDist < dToolDiam + 0.5 then
local sErr = 'Error on process ' .. tostring( Proc.Id) .. ' Dt mortise too narrow'
EgtOutLog( sErr)
return false, sErr
end
-- calcolo le passate
local nPass = ceil( dDist / ( 1.9 * dToolDiam))
local dStep = ( dDist - 0.95 * dToolDiam) / ( 2 * nPass)
for i = nPass, 1, -1 do
+1 -1
View File
@@ -55,7 +55,7 @@ function ProcessHeadCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead, bNeedHCut
-- flag di lavorazione faccia
local nOrthoOpposite = EgtIf( bHorizCut, MCH_MILL_FU.ORTHO_DOWN, MCH_MILL_FU.ORTHO_FRONT)
-- determino se più tagli con offset
local nCuts = max( ceil( dOvmHead / BD.MAX_LEN_SCRAP), 1)
local nCuts = max( ceil( dOvmHead / ( BD.MAX_LEN_SCRAP_START or BD.MAX_LEN_SCRAP)), 1)
local dOffsL = dOvmHead / nCuts
-- calcolo extra taglio ed accorciamento
local dCutExtra = 0
+5 -2
View File
@@ -1,4 +1,4 @@
-- ProcessMortise.lua by Egaltech s.r.l. 2020/04/27
-- ProcessMortise.lua by Egaltech s.r.l. 2020/05/25
-- Gestione calcolo mortase per Travi
-- Tabella per definizione modulo
@@ -160,7 +160,10 @@ function ProcessMortise.Make( Proc, nPhase, nRawId, nPartId)
-- determino larghezza della mortasa
if dL < dW then dL, dW = dW, dL end
-- recupero la lavorazione
local sPocketing = ML.FindPocketing( 'Pocket', dW)
local sPocketing = ML.FindPocketing( 'Mortise', dW)
if not sPocketing then
sPocketing = ML.FindPocketing( 'Pocket', dW)
end
if not sPocketing then
local sErr = 'Error on process ' .. tostring( Proc.Id) .. ' pocketing not found in library'
EgtOutLog( sErr)