DataBeam :

- piccola miglioria in lavorazione centrata di contorno libero.
This commit is contained in:
DarioS
2021-05-07 09:51:40 +02:00
parent 7c1494811f
commit 16411c52a7
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ if bToProcess then
-- Verifico sezione barra non troppo piccola
if dRawW < BD.MIN_WIDTH - 10 * GEO.EPS_SMALL or dRawH < BD.MIN_HEIGHT - 10 * GEO.EPS_SMALL then
local sOut = 'Sezione (' .. EgtNumToString( dRawW, 2) .. ' x ' .. EgtNumToString( dRawH, 2) .. ') ' ..
c 'sotto i limiti della macchina (' .. EgtNumToString( BD.MIN_WIDTH, 2) .. ' x ' .. EgtNumToString( BD.MIN_HEIGHT, 2) .. ')'
'sotto i limiti della macchina (' .. EgtNumToString( BD.MIN_WIDTH, 2) .. ' x ' .. EgtNumToString( BD.MIN_HEIGHT, 2) .. ')'
BEAM.ERR = 17
BEAM.MSG = sOut
WriteErrToLogFile( BEAM.ERR, BEAM.MSG)
+4 -2
View File
@@ -310,8 +310,10 @@ local function MakeByMill( Proc, nPhase, nRawId, nPartId, dOvmHead)
bToolInv = true
end
-- verifico se primo e ultimo tratti corti e con angolo
local dStartAddSpec = CalcSpecialAdd( AuxId, true, dToolDiam)
local dEndAddSpec = CalcSpecialAdd( AuxId, false, dToolDiam)
local dStartAddSpec = 0
if Proc.Grp ~= 0 then dStartAddSpec = CalcSpecialAdd( AuxId, true, dToolDiam) end
local dEndAddSpec = 0
if Proc.Grp ~= 0 then dEndAddSpec = CalcSpecialAdd( AuxId, false, dToolDiam) end
-- se devo inserire il chamfer
if nChamfer > 0 and Proc.Grp ~= 0 and dOriDepth > dDepthCham then
local bDoubleCham = false