DataBeam 3.1e2 :

- piccoli aggiustamenti
- sistemazioni a DtMortise per macchina Oikos XL.
This commit is contained in:
Dario Sassi
2026-06-01 07:47:20 +02:00
parent 3445fb2525
commit bf58b58b47
4 changed files with 36 additions and 10 deletions
+5 -3
View File
@@ -162,10 +162,11 @@ end
---------------------------------------------------------------------
-- smussi in testa
local function MakeHeadChamfer( idProc, nPartId)
local dDepthHeadChamfer = EgtGetInfo( idProc, 'Q08', 'd') or 0
-- se non attivo esco subito
if dDepthHeadChamfer < 100 * GEO.EPS_SMALL then
return
return true, nil
end
-- recupero gruppo per geometria aggiuntiva
@@ -640,11 +641,12 @@ function ProcessHeadCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead, bNeedHCut
local bOk, sErr = MakeStandardCuts( Proc, b3Raw, nCuts, dOffsL, HeadCutType, Cutting1Data, Cutting2Data, nil, dOvmHead)
-- alla fine del taglio si aggiungono gli smussi in testa
local _, sErrHeadChamfer = MakeHeadChamfer( nOriId or Proc.Id, nPartId)
if sErr then
sErr = sErr..'\n'..sErrHeadChamfer
if sErrHeadChamfer then
sErr = sErr..'\n'..sErrHeadChamfer
end
else
sErr = sErrHeadChamfer
end