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
+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